FTP Error 425 in LabVIEW

Updated Jul 29, 2018

Reported In

Software

  • LabVIEW

Issue Details

  • I am trying to access a file on my FTP server and my program returns error 425 - Cannot connect to data socket.
  • I am using a password protected FTP server and the FTP Put File and FTP Get File VIs won't connect.

Solution

  • Wire a FALSE constant to the active(T)input of the TCP Post and TCP Get VI to set it in passive mode.

Additional Information

You must send the passive command before you can upload files to an FTP server that does not allow anonymous logins but requires you specify a username and password. 

WAS THIS ARTICLE HELPFUL?

Not Helpful