Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-10-2013, 12:33 PM   #1
Ryan Robinson
LQ Newbie
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
FTP hangs on Fedora 17. Same scripts works on AIX/Solaris/HP-UX and Redhat.

ftp -n $ftpsrv
Connected to xyz(
220 Microsoft FTP Service
(... login stuff ...)
ftp> ascii
200 Type set to A.
ftp> verbose
Verbose mode off.
ftp> passive
Passive mode off.
ftp> prompt
Interactive mode off.
(... setup directory locations ...)
ftp> mget *.?


and it fetches a random number of files before it hangs. The same script works on all of our other unix platforms (AIX/Solaris/HP-UX/Redhat).

Anybody encountered this or have any ideas?
Old 01-10-2013, 01:18 PM   #2
Ryan Robinson
LQ Newbie
Registered: Jan 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
I have resolved the issue. Apparently either the setup of the server or Fedora17 has an issue with having passive mode turned off. By leaving it in passive mode I ran the script repeatedly with no more hangs.

If someone knows the reason this is an issue that knowledge would still be appreciated.
Old 01-10-2013, 07:14 PM   #3
Senior Member
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,914

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
that is an issue on the server side. MS FTP (well IIS) does not play nice with pass.


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
SSH script hangs on exit on solaris but linux works say_hi_ravi Linux - Newbie 3 09-04-2012 02:20 PM
different between AIX and z/OS,what is different between AIX and solaris commandline llmi187 AIX 1 06-02-2012 11:55 AM
not able to ftp from aix to aix server manoj.linux AIX 3 09-05-2008 01:15 AM
System hangs in update of AIX from 4.3.3 to AIX 5.2 jmurray67 AIX 2 07-25-2004 09:25 PM
A C-shell script doesn't work on redhat 7.3 but works on Sun Solaris Belmer Linux - Newbie 2 02-08-2004 12:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:54 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
Open Source Consulting | Domain Registration