LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

InetFTPAutoRetrieve getting return value -13

When using InetFTPAutoRetrieve I am getting a return value of -13 and the InetGetErrorMessage returned is: A file error occurred in an FTP function Thread:3576 [01-31-2017]

The FTP connection works when tested through a Command prompt using "ftp computername".  I am also retrieving all the expected files from the remote FTP host as expected.  The problem is that the error above occurs 5-7 times while I retrieve 2 files from the remote host.  The errors slow down the application during this time so that UDP packets also being received are basically being skipped due to the process time of the ftp errors.

 

How can I determine what the -13 indicates so that I can do what is needed to no longer get the errors above?

 

Thank you

0 Kudos
Message 1 of 3
(2,594 Views)

I have found that it appears that -13 is indicating that the file does not exist in the source folder.

0 Kudos
Message 2 of 3
(2,551 Views)

Hi Bob_Canberra

 

Here is a link to a table that list all the error codes that can be returned:

http://zone.ni.com/reference/en-XX/help/370051Y-01/cvi/libref/cviinternet_library_error/

Message 3 of 3
(2,537 Views)