LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Code 15451 FTP Transaction: 451 aborted, can't open file

I am trying to FTP files from my local PC to a remote location.  I can successfully open an FTP session, log in, and create directories, but cannot copy files to the remote location.  I am using the "FTP Put File.vi" but i receive an error out:

 

Error Code:  15451

FTP Transaction: 451 aborted, can't open file.

 

Does anyone know what this means and how to get the files to copy correctly? 

 

I define the host, local path (directory of file to transfer), remote path (directory of file path of remote location, us forward slashes as in unix), host (IP Address), user name and password.

0 Kudos
Message 1 of 4
(5,200 Views)

Hi jcohen.  Please refer to this article:

http://zone.ni.com/reference/en-XX/help/370014E-01/internetftp/ftp_error_codes/

 

The error description is

15451 451 Requested action aborted: local error in processing.

 

It sounds like the local file that you're trying to transmit can't be opened.  Have you tried another file?  How are you specifying your location (through a constant, or a file dialog, etc)?  Please provide details on what you're setting the local path and remote path to.  

Che T.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(5,184 Views)

As I did more troubleshooting into the issue it looks as though it is more of a FTP error from the remote device rather than a LabVIEW error.  I tried manually as well (without LabVIEW vi's through either Windows Explorer and a cmd prompt) and the same error occurred. I was able to send some files but not others;  the files that did work were a much smaller file size than the ones that did not work.

 

I believe there may be an unexpected issue with the UUT.

0 Kudos
Message 3 of 4
(5,179 Views)

I'm sorry to hear that.  But, I'm glad that you were able to troubleshoot it and isolate it to the UUT.  Feel free to post again if you have issues FTPing with LabVIEW.

Che T.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(5,174 Views)