12-22-2011 10:20 AM
Hey all, it's been a while!
I have a question about FTP. I am doing some monitoring of files on multiple targets via FTP sessions. When a file is there, it is FTPd off the remote target and if the FTP is successful, it is then deleted from the remote target. I was doing some testing to make sure connections were properly regained if they were lost, but I noticed if a connection was lost between when the file was FTPd and when I tried to delete it, the delete takes a really long time before it returns with an error. I haven't timed it yet but I'm guessing around a minute. Is there any way to set a timeout for this function, because this could become a problem if I'm trying to loop through multiple FTP sessions and suddenly one stops my for loop so the others are unable to execute.
12-22-2011 01:56 PM
It's been a while that I have been using the NI LabVIEW Internet Toolkit. I remember that it comes with a set of VIs that use LabVIEW's TCP functions. Most of the VIs of this toolkit did not allow to specify the Timeout - all TCP functions were using the default value for the timeout. But I am not informed if this is still the case.