How do I do a batch and recursive download with ftp.exe?

P

Phillip Pi

In Linux, I can easily use mget -R test/ and get all files and
directories under test directory easily. I am using Windows 98 to XP.

Am I missing something? Thank you in advance.
--
Phillip Pi
(e-mail address removed) (remove ANT to reply by e-mail)
Please do NOT e-mail me for technical support.
Software Quality Assurance Analyst
Norton Internet Security
Symantec
 
H

Herb Martin

I am interested too -- I have been able to use MGET to a limited extent but
it does not seem to function (full recursive through subdirectories) as
easily
as on other operating systems.

If you find out please post it -- I shall too.

WSFTP32 is a (semi) graphical replacement with a free-light edition.
 
P

Phillip Pi

I am interested too -- I have been able to use MGET to a limited extent but
it does not seem to function (full recursive through subdirectories) as
easily
as on other operating systems.

If you find out please post it -- I shall too.

WSFTP32 is a (semi) graphical replacement with a free-light edition.

Right, but I can't always install a GUI FTP client.
--
Phillip Pi
(e-mail address removed) (remove ANT to reply by e-mail)
Please do NOT e-mail me for technical support.
Software Quality Assurance Analyst
Norton Internet Security
Symantec
 
R

Reinhardt Kern

Phillip Pi said:
In Linux, I can easily use mget -R test/ and get all files and
directories under test directory easily. I am using Windows 98 to XP.

Am I missing something? Thank you in advance.

You cannot do "mget -R" in the Windows-delivered ftp client.
(The online help is a bit poor about ftp.exe)

A good choice is "wget.exe" - It downloads whole servers in a
hurry.

Reinhardt
 
P

Phillip Pi

You cannot do "mget -R" in the Windows-delivered ftp client.
(The online help is a bit poor about ftp.exe)

A good choice is "wget.exe" - It downloads whole servers in a
hurry.

Reinhardt

Thanks. I was hoping I can avoid installing files. :)


--
Phillip Pi
(e-mail address removed) (remove ANT to reply by e-mail)
Please do NOT e-mail me for technical support.
Software Quality Assurance Analyst
Norton Internet Security
Symantec
 
H

Herb Martin

You cannot do "mget -R" in the Windows-delivered ftp client.
(The online help is a bit poor about ftp.exe)

I LOVE Windows Help but the above is the biggest understatement
I have heard this week -- FTP documentation is practically non-existent.
A good choice is "wget.exe" - It downloads whole servers in a
hurry.

I have that and use it mostly for HTTP but you are correct it is very
scriptable and would do the trick.
 
P

Phillip Pi

In Linux, I can easily use mget -R test/ and get all files and
Thanks. I was hoping I can avoid installing files. :)

OK, I finally grabbed wget and I guess I could copy wget folder to take
with me to multiple machines. However, I am having problem getting this
to work the way I want it.

I am trying to get wget.exe v1.9 to work under Windows 9x and NT5 OS',
but I cannot get it to work the way I want it. I am trying to download
subfolders/subdiretories and binary files recursively from a specified
folder.

Notes: The FTP server is Microsoft FTP Service (Version 5.0). The
password has $1 in it. I revised the texts to not show the real details
due to private information. The example is in Windows 2000 SP4's CLI:


C:\test\wget-v1.9>wget -r
ftp://domainname\user_name:p[email protected]/builds/productname/version/8/subfo$
--14:07:02--
ftp://domainname%5Cuser_name:*password*@192.168.0.222/builds/productname/version/8/subfolder/layout/*
=>
`192.168.0.222/builds/productname/version/8/subfolder/layout/.listing'
Connecting to 192.168.0.222:21... connected.
Logging in as domainname\user_name ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD
/builds/productname/version/8/subfolder/layout ... done
..
==> PORT ... done. ==> LIST ... done.
accept: Unknown error


I can do a manual FTP login and stuff without any problems, but can't do
recursive downloads (limited due to ftp.exe).


Any ideas? Thank you in
advance. :)
--
Phillip Pi
(e-mail address removed) (remove ANT to reply by e-mail)
Please do NOT e-mail me for technical support.
Software Quality Assurance Analyst
Norton Internet Security
Symantec
 
H

Herb Martin

Roland Hall said:
If you're using Windows you already have a graphical ftp client than can
batch download.

What is that? (Unless you mean Explorer -- which is nigh worthless for FTP
most of the time -- or Internet Explorer.)
 
R

Roland Hall

Well, right before I sent my post, I went to one of my FTP servers, grabbed
all directories [ in IE ] and it downloaded and recursed all directories.
I'm not saying that is the definitive answer nor do I claim it works 100% of
the time but it worked in my case on this instance.

Roland Hall said:
If you're using Windows you already have a graphical ftp client than can
batch download.

What is that? (Unless you mean Explorer -- which is nigh worthless for FTP
most of the time -- or Internet Explorer.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top