LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Any way to set FTP command timeouts?

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.

0 Kudos
Message 1 of 2
(2,645 Views)

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.

 

0 Kudos
Message 2 of 2
(2,630 Views)