LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   wget seems to have problem with ftp servers (https://www.linuxquestions.org/questions/solaris-opensolaris-20/wget-seems-to-have-problem-with-ftp-servers-520840/)

xpucto 01-19-2007 06:29 AM

wget seems to have problem with ftp servers
 
I have solaris 10.
wget works fine when I use it for http but doesn´t seem to work when the url leads to a ftp server. It says it doesn´ t get any answer:
Quote:

--11:22:35-- ftp://ftp.gnu.org/pub/gnu/screen/screen-3.9.4.tar.gz
(try: 3) => `screen-3.9.4.tar.gz'
Connecting to ftp.gnu.org[199.232.41.7]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/gnu/screen ... done.
==> PORT ... done. ==> RETR screen-3.9.4.tar.gz ...
Error in server response, closing control connection.
Retrying.
It does this for all ftp servers I tried. when I try the url with wget from linux, it works fine.
Any clue?

druuna 01-19-2007 06:40 AM

Hi,

Just a thought: Try using the --passive-ftp option.

Hope this helps.

xpucto 01-19-2007 06:45 AM

Quote:

Originally Posted by druuna
Hi,

Just a thought: Try using the --passive-ftp option.

Hope this helps.

Yes! thanks a lot.


All times are GMT -5. The time now is 07:37 PM.