03-26-2009 11:29 AM
Hi !
I'm trying to use FTP_Get_File.vi in order to transfer a file from a ftp server to my computer. But each time I get the following message :
"Error 0 occured at ftp validate data connection : invalid data connection".
However, it works using a traditional FTP softwrae program (FileZilla) using the same Host/RemotePath/Password.
Anyone has an idea to help me understanding this error ?
Solved! Go to Solution.
03-26-2009 11:37 AM
Hi
The FTP VIs are (at least up to LV 8.5) open, so you can dig in to see where the error occurs.
If it is a problem with the data connection (as the error says) you might want to try passive connection (boolean input of FTP_Get_File.vi).
03-26-2009 12:26 PM
Try changing the passive/active boolean input from whatever it is to the other option. This is what I had to do when I got the same error. I don't understand why it works, I just know that it did.
03-26-2009 12:34 PM
EdDeWitt wrote:I don't understand why it works, I just know that it did.
If you're behind a firewall incoming connections are usually not allowed. The FTP Server (as it is a server) on the other hand should allow incoming connections. In active connections the server tries to open a data connection to the client, this is usually not possible if you're firewalled (unless the incoming ports are open and routed to your machine). In passive FTP the client opens a data connection to the server, which is usually possible.
Daniel
03-26-2009 12:40 PM