LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FTP Get File.vi not responding

Currently things are working, and it works both ways. TRUE and FALSE.  I suppose I will have to wait for it to stop working again and then switch the TRUE. The file itself is a text file.  Also works currently with both active and passive data connection.

0 Kudos
Message 11 of 13
(758 Views)

OK, I also just verified that it is currently working on my Windows 7 machine (the original one) and not working on my VISTA machine. I just tried all 4 combos of file type and active/passive data connection.  The passive fixed it on the VISTA machine. Had not effect (at the moment) on the Windows 7 machine.  Not sure yet if the fix is permanent. The file type doesn’t seem to make a difference either way.

 

Can someone explain active/passive data connection to me? This might be it. Why is "active" the default? It there an explanation of why thing should freeze up like that when it is active, but not passive?

0 Kudos
Message 12 of 13
(755 Views)

Ok. This is from here:http://slacksite.com/other/ftp.html

 

 

"A quick summary of the pros and cons of active vs. passive FTP is also in order:

Active FTP is beneficial to the FTP server admin, but detrimental to the client side admin. The FTP server attempts to make connections to random high ports on the client, which would almost certainly be blocked by a firewall on the client side. Passive FTP is beneficial to the client, but detrimental to the FTP server admin. The client will make both connections to the server, but one of them will be to a random high port, which would almost certainly be blocked by a firewall on the server side.

Luckily, there is somewhat of a compromise. Since admins running FTP servers will need to make their servers accessible to the greatest number of clients, they will almost certainly need to support passive FTP. The exposure of high level ports on the server can be minimized by specifying a limited port range for the FTP server to use. Thus, everything except for this range of ports can be firewalled on the server side. While this doesn't eliminate all risk to the server, it decreases it tremendously."

 

Sounds like for that server passive may be best.  I think I can see how it might be an intermittent problem. Sounds like the issue is at the server, but not sure why turning off the local firewall made no differnece with active on- but my understanding is very shallow.

0 Kudos
Message 13 of 13
(752 Views)