FTP Session with Linux client and Windows server hangs at QUIT
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a script that opens an FTP session, puts a file, gets a file, and closes the connection. Everything seems to go OK until the QUIT command.
The event log on the Windows side says that the FTP session closed with a timeout.
I turned on debug in the FTP session on the Linux end, and FTP client says that it sent the QUIT command, but did not get a response from the Windows FTP server.
Has anyone run into this before, or does someone have a suggestion on what to look at to get more information about the problem?
FTP Client: RHEL5 Linux xxxx.xxxx.com 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
FTP Server: Various Win2K and WinXP Boxen, IIS FTP Server
I get this problem with telnet/ssh/ftp sometimes as well, I've also wondered the problem. I don't use a script but it happens when I telnet into my router almost 100% of the time. =(
[edit] I just remembered!!! lol If I start a command in any of those, telnet/ssh/ftp ect... and then try and exit it hangs. But if I just login and exit it exits perfect. If I login to telnet run a command and then kill it I can exit.
Last edited by mushroomboy; 08-26-2009 at 10:09 PM..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.