Ftp gettting disconnected | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Ftp gettting disconnected

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-24-2013
Tommyk Tommyk is offline
Registered User
 
Join Date: Aug 2011
Last Activity: 1 July 2014, 10:30 AM EDT
Location: Ripon, North Yorkshire
Posts: 146
Thanks: 4
Thanked 14 Times in 14 Posts
Ftp gettting disconnected

All,

Trying to ftp to a remote ftp server.

See following output:


Code:
ftp -dv xx.xx.xx.xx
Connected to xx.xx.xx.xx (xx.xx.xx.xx).
220 Microsoft FTP Service
Name (xx.xx.xx.xx:username): ftpuser
---> USER ftpuser
331 Password required for ftpuser.
Password:
---> PASS XXXX
230 User logged in.
---> SYST
215 Windows_NT
Remote system type is Windows_NT.
ftp> passive
Passive mode off.
ftp> ls
---> PORT xx,xx,xx,xx,xx,xx
200 PORT command successful.
---> LIST
125 Data connection already open; Transfer starting.
02-20-12  09:55AM       <DIR>          113129
08-28-12  10:03AM       <DIR>          115058
09-10-12  12:53PM       <DIR>          115143
09-13-12  02:43PM       <DIR>          115265
09-24-12  06:51PM       <DIR>          115334

226 Transfer complete.
ftp> ls
---> PORT xx,xx,xx,xx,xx,xx
421 Service not available, remote server has closed connection

This is from RHEL5.8 using ftp 0.17-37.el5

Every connection is successful, there is a timeout set but does not seem to be affecting this. As soon as we connect we run an ls command which is successful and less than a second later you run the ls command again and getting the message that you have been disconnected from the server.

This happens after any/every data transfer whether it is ls/dir/put/get, you only get a single data transfer and then you are disconnected.

Using HP-UX previously there was no issue, there has been no change to the ftp server, windows desktops can connect and do not get disconnected, i am also getting the same issue with OEL5.5 servers.

This is not a network/firewall issue as all the network settings are the same for every client we use. It is not an issue with active or passive mode as both modes show the exact same symptoms. However testing ftp from the linux client we can connect to every other ftp site without issue both within and external to the firewall and do not get the same error.

Can anyone suggest why this may be happening? Could it be due to the version of ftp we are using?
Sponsored Links
    #2  
Old 01-24-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 21 July 2014, 12:57 PM EDT
Location: Cornwall, UK
Posts: 751
Thanks: 35
Thanked 135 Times in 122 Posts
windows 7 - Command-line FTP function does not work - Super User
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
[HP-UX] Established ports although LAN is disconnected. ejdv HP-UX 2 09-30-2009 05:28 AM
Monitor displays Cable disconnected venuavula Solaris 1 02-23-2006 02:08 PM
Gettting unix. Katan UNIX for Dummies Questions & Answers 1 03-07-2004 11:00 PM
gettting disk info from console mintzy UNIX for Dummies Questions & Answers 1 01-04-2004 09:17 PM
Gettting multiple logwatch mails skotapal Security 0 08-18-2003 08:52 AM



All times are GMT -4. The time now is 09:57 AM.