LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

FTP file transfer progress status

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.

0 Kudos
Message 1 of 3
(3,521 Views)

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

0 Kudos
Message 2 of 3
(3,511 Views)

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.

Eric B.
National Instruments
0 Kudos
Message 3 of 3
(3,492 Views)