Wget FTP problem!


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Wget FTP problem!
# 1  
Old 01-25-2007
Wget FTP problem!

Hi,
I've tried to download from ftp sites by wget but it failed and says "Service unavailable" but when I use sftp in binary mode and use "get" command it works perfectly. What's the problem?

BTW: I tried both passive and active mode in wget.

thnx for ur help
# 2  
Old 01-25-2007
I could be wrong, but I hadn't known wget to be an sftp client.
# 3  
Old 01-25-2007
No!

I tried sftp for non-secure FTP, I also tried ftp command and I get same result.
# 4  
Old 01-25-2007
Please supply more information. Something to include would be the syntax you used with wget etc.
# 5  
Old 01-25-2007
OK man!

ftp login : pass @ somewhere
get test.zip


It works perfectly.
wget ftp://login : pass @ somewhere/test.zip
by putting passive_ftp = on/off (both). But it says Service unavailable or works very slowly.

Attention: I put spaces here to avoid showing smilies!
# 6  
Old 01-25-2007
Try wget's --debug flag, it may show more useful error messages.
# 7  
Old 01-26-2007
I got same or different error message, simply because plain ftp is not allowed in our networks. Can you please let us know also which version you are using :
Code:
wget --version

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Proxy Server

Problem with wget

I cannot download anything using wget in centos 6.5 and 7. But I can update yum etc. # wget https://wordpress.org/latest.tar.gz --2014-10-23 13:50:23-- https://wordpress.org/latest.tar.gz Resolving wordpress.org... 66.155.40.249, 66.155.40.250 Connecting to wordpress.org|66.155.40.249|:443...... (3 Replies)
Discussion started by: nirosha
3 Replies

2. UNIX for Dummies Questions & Answers

How to download files matching pattern from FTP using CURL or WGET?

Hi, For an order I requested, the provider has uploaded a tar file in public FTP site which internally has tons of files (compressed) and I need to download files that follows particular pattern which would be few hundreds. Note: The order can't be requested for files that follows the... (7 Replies)
Discussion started by: Amalan
7 Replies

3. UNIX for Dummies Questions & Answers

Wget -i URLs.txt problem

Hi Everyone, I have a problem with wget using an input file of URLs. When I execute this -> wget -i URLs.txt I get the login.php pages transferred but not the files I have in the URLs.txt file. I need to use the input file because it will have new products to download each week. I want my VA to... (3 Replies)
Discussion started by: Keith londrie
3 Replies

4. Shell Programming and Scripting

Problem with wget and cookie

Dear people, I got a problem with an scrip using wget to download pdf-files from an website which uses session-cookies. Background: for university its quite nasty to look up weekly which new homeworks, papers etc. are available on the different sites of the universites chairs. So I wanted a... (1 Reply)
Discussion started by: jackomo
1 Replies

5. UNIX for Dummies Questions & Answers

Problem with wget no check certificate.

Hi, I'm trying to install some libraries, when running the makefile I get an error from the "wget --no check certificate option". I had a look help and the option wasn't listed. Anyone know what I'm missing. (0 Replies)
Discussion started by: davcra
0 Replies

6. UNIX for Dummies Questions & Answers

wget pdf downloading problem

Hi. I am trying to make a mirror of this free online journal: http://www.informaworld.com/smpp/title~content=t716100758~db=all Under the individual issues, the link location for the "Full Text PDF" does not have ".pdf" as an extension -- so when I use wget it misses the file. However clicking... (5 Replies)
Discussion started by: obo1234
5 Replies

7. UNIX for Dummies Questions & Answers

Crontab Wget, downloading a file to a FTP

Hi there, I've got my own domain, ftp etc.. I'm using cPanel and I want to download a file periodically, every say 24 hours. I've used this command: wget -t inf http : / / www . somesite . com / webcam.jpg ftp : / / i @ MyDomain . net : Password @ ftp . MyDomain . net^no spaces... (24 Replies)
Discussion started by: zYx
24 Replies

8. Web Development

is wget working in ftp ?

I get ftp> wget ?Invalid command. ftp> 0 * * * * wget -O - -q -t 1 http://www.example.com/cron.php ?Invalid command. thanks (6 Replies)
Discussion started by: aneuryzma
6 Replies

9. Shell Programming and Scripting

Problem with wget

Hi, I want to download some patches from SUN by using a script and I am using "wget" as the utillity for this. The website for downloading has a "https:" in its name as below https://sunsolve.sun.com/private-cgi/pdownload.pl?target=${line}&method=h and on running wget as below wget... (1 Reply)
Discussion started by: max29583
1 Replies

10. Shell Programming and Scripting

wget to do ftp between different server

Hi, I need to write a shell to do the following: 1) ftp to server B, from server A 2) From server B lanch an anonymous ftp to server C to get some file xxx 3) put the file xxx in the original Server A. Someone said me that wget suites to my problem but I've no idea how it works. Could... (1 Reply)
Discussion started by: vanex
1 Replies
Login or Register to Ask a Question