Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-25-2009, 12:36 PM   #1
LQ Newbie
Registered: Aug 2009
Posts: 13

Rep: Reputation: 1
FTP Session with Linux client and Windows server hangs at QUIT

Good afternoon,

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 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
Old 08-26-2009, 09:06 PM   #2
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
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 09:09 PM.


ftp, hangs, redhat, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keep client session betwen servers or ports of a server Felipe Linux - Server 3 09-21-2007 10:02 AM
Linux Server and Windows Client TheIceHeart Linux - Networking 6 09-22-2006 02:22 AM
Enterprise Linux (RH-el 3) ftp client hangs PeterT Linux - Enterprise 5 07-03-2005 10:07 PM
can not connect to my pureftp server from Linux client, but i can from windows client bonito SUSE / openSUSE 5 03-16-2005 09:45 PM
Can't FTP from Linux client to Windows 98 server. Dapper Dan Linux - Networking 3 11-27-2003 06:14 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration