LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FTP error 425 Cannot open data connection.

Solved!
Go to solution

hi

In my office I did some SW to store data on our FTP server, it was working fine. Now I try to test it at home office and I can't make it work....

the FTP is available - I'm able to login, transfer files, dir directories, delete files using WinSCP (tested both on FTP, and SFTP)

but this simple LabVIEW code fails to list the directory:

tcie_3-1603396511419.png

tcie_4-1603396550009.png

 

it hangs at directory listing for one minute despite I set timeout to 2 seconds earlier, the error message is:

Error 425 occurred at 425 Cannot open data connection.

NI_FTP.lvlib:FTP Open Data Connection.vi:4490001->NI_FTP.lvlib:FTP Data Receive.vi:3680001->NI_FTP.lvlib:FTP [LIST].vi:1520001->NI_FTP.lvlib:FTP Directory Listing.vi:240001->FW update.vi->

When I login to our FTP using example "FTP Put and Get Files.vi" it stores empty file on the FTP and hangs. I did try it with and without VPN...

any ideas why?

 

0 Kudos
Message 1 of 3
(2,789 Views)

just confirmed the bug: when I'm connecting to FTP from the office I can list the folder, but when I'm in the office and switch to WiFi hotspot from my smartphone I'm unable to list it despite it works in WinSCP. Funny thing is that even VPN doesn't help

0 Kudos
Message 2 of 3
(2,738 Views)
Solution
Accepted by topic author tcie

set to passive mode - firewall blocks it...

tcie_0-1603432871411.png

 

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