LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Since FTP doesn't work, how else can I transfer files from RTOS to Windoze Host?

I have been trying to get FTP to work for a couple of weeks now. (See my other post about FTP Transfers taking 3-4 minutes.) I have come to the conclusion that it just doesn't. Does anyone have any ideas on how to send files across a network without FTP? Is TCP possible? I thought it was more for data streaming.
 
Or should I find another data aquisition platform?
 
I cannot waste any more time trying to figure this problem out and there doesn't seem to be an answer on the Internet anywhere.
 
technomage
0 Kudos
Message 1 of 2
(2,527 Views)

TCP in itself won't help you, because it's just a protocol to define the data transfer itself, not what kind of data is being transferred (FTP implementations normally use TCP to do the data transfer).

What you can do is write your own code to do the data transfer (using the TCP functions, yes). You will need to read the files (in chunks, using the file functions) on one side and write the data on the other side (again using the file functions). Be aware that disk access may ruin your RTism, so be sure to do it when you're not running your TC code.
You may also want to incorporate some data validation into this (although TCP should handle that automatically for you).

The good news is that using TCP in LV is very easy. Search the example finder for "TCP" to see how.


___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,505 Views)