LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Output file from FP2000 via FTP

Did anybody success in transfering file from an FP2000 running Labview RT to an FTP server ?
I can login to the remote server but I always get an error 0 as "file error" : Could not establish connection.
I have the same problem when I try to get a file from the remote server to the FP2000 local disk.

Thanks for your help.

Jean-Louis SCHRICKE
CTA - Certified TestStand Architect (2008 - 2022)
CTD - Certified TestStand Developer (2004 & 2007)
CLD - Certified LabVIEW Developer (2003 & 2005)

0 Kudos
Message 1 of 3
(2,621 Views)
Jean-Louis,
What VIs are you using to FTP? Are you using the VIs from the Internet Toolkit?
Are you using an active or inactive connection? Sometime one will work but not the other, so if you are using active try inactive or vice versa. The difference in active and inactive is just in who opens the data connection to transfer the file. FTP uses two ports, one to send commands and one to send data. Since you have successfully logged in the ftp server then you have the command connection open. The data connection is only opened when a file is transfered.
0 Kudos
Message 2 of 3
(2,621 Views)
Thanks Carl for your comment.

I tried an FTP example which uses internet toolkit.
I found out that this VI was inverting the active boolean (active becomes passive on front panel).
It works fine when active=False.

Thanks for your help.
Jean-Louis Schricke

Jean-Louis SCHRICKE
CTA - Certified TestStand Architect (2008 - 2022)
CTD - Certified TestStand Developer (2004 & 2007)
CLD - Certified LabVIEW Developer (2003 & 2005)

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