FieldPoint Family

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
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