LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 01-10-2013, 11:33 AM   #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(10.6.10.54).
220 Microsoft FTP Service
(... login stuff ...)
ascii
verbose
passive
prompt
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, 12: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, 06:14 PM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,540

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


Reply


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 01:20 PM
different between AIX and z/OS,what is different between AIX and solaris commandline llmi187 AIX 1 06-02-2012 10:55 AM
not able to ftp from aix to aix server manoj.linux AIX 3 09-05-2008 12:15 AM
System hangs in update of AIX from 4.3.3 to AIX 5.2 jmurray67 AIX 2 07-25-2004 08: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 11:05 AM


All times are GMT -5. The time now is 03:26 AM.

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