From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatic ftp download

At the conclussion of a data logging process on the cFP 2120, I would like to programmatically download the data file to the host computer automatically using a LabView program running on the host computer.  Is there a way to do the FTP process programmatically with LabView?  Do I need to buy the Internet Toolkit?
0 Kudos
Message 1 of 2
(5,175 Views)
You could run the system exec VI to execute a command line program.  This would be the ftp command.  Search for Windows help on ftp syntax.  It says you can give it a text file which would be a list of ftp commands.  That text file would be the script where you issue the change directory and get and put commands.  If you need more flexibility in the scripting, you could programmatically generate this text file before you run the ftp -s:filename.txt command.
0 Kudos
Message 2 of 2
(5,161 Views)