LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FTPOpen Data Connection: Could not establish connection

I need to transfer data files from a local directory to a remote system via FTP.
I can open an FTP connection, login and list existing files at the remote location. I even tried to rename files at the remote location, it works.
Trying to sen files to the remote location using the FTPPutFile.vi causes an error "FTPOpen Data Connection: Could not establish connection".
Any idea, what causes that error?

Thank you in advance,

Andreas Langer
0 Kudos
Message 1 of 3
(4,442 Views)
That's very peculiar that this should be happening, as it obviously sounds as though you have already established a connection. Have you tried running any example VIs? This is usually where I start to debug a problem. It shows me whether my code is wrong or something else (which is hopefully the issue).

I found a good example for you on NI's website which makes a call to both "Get File" and "Put File". It ran successfully for me. You may want to see if it gives you the same errors.

It's currently configured for an FTP server which I use, so you'll want to change its connection, but that's available through the front panel. Let me know how it works for you.
J.R. Allen
0 Kudos
Message 2 of 3
(4,442 Views)
it works. Thank you very much. I had a mistake in the remote path specification.
0 Kudos
Message 3 of 3
(4,442 Views)