01-31-2017 10:47 AM
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
01-31-2017 05:08 PM
I have found that it appears that -13 is indicating that the file does not exist in the source folder.
02-01-2017 09:44 AM
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/