06-24-2009 04:15 PM
1. Is it possible to display the progress of an InetFTPRetrieveFile() and InetFTPSendFile()?
2. Are these functions blocking?
3. Can they send an interrupt so you know when they are complete?
I want to send/receive files and display the progress status while doing other things.
LabWindows 8.5.
Thanks.
06-25-2009 01:38 AM
1. Yes, you can display 0% before calling the function and 100% after the function returns. Nothing in between, as with any regular function.
2. I don't know - blocking file access?
3. According to the function help, no callback is provided.
Hope this helps a bit, Wolfgang
06-25-2009 02:38 PM
NI Nubie,
These two functions are blocking, so there is no need to have an interrupt so you know they are complete. Once the function completes, it proceeds with the rest of the program. You could start a new thread to do the retrieval/sending so you don't have to worry about the blocking, but you still can't get any direct access into the status of those functions while they are running.