I am transferring files using Linux Labview from a linux computer to a windows2000 server using .
I use a std script which is run using "system exec.vi" in labview.
Program opens ftp connection each time it begins file transfer , and closes it properly after the transfer.
If the connection is lost before/after transfer, ftp vi takes care of it. (It either makes successful transfer or , says no "route to host")
PROBLEM:
When connection is lost during the execution of "system exec.vi", "system exec.vi" hangs up and never returns.
It neither times out nor returns any error.
This crashes complete program , and the whole application.
Moreover, if the same script is run on the linux command prompt under exactly same conditions, it times out/r
ecovers the connection.
(Moreover, If used with "wait for completion=false" of labview 'system exec.vi', it crashes and application quits after a few "system exec.vi" calls)
How to make labview exec.vi come out of hangup ?
Please help on this. This is crucial