l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
May 5: Social gathering
Next Installfest:
Latest News:
Mar. 17: DavisGIG: municipal fiber for Davis
Page last updated:
2002 Feb 27 23:03

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
RE: [vox-tech] recursive ftp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [vox-tech] recursive ftp

IIS Servers on NT systems, which have an ftp component have the ability
to have DOS style or UNIX style directory listings.  You might want to
make sure that the UNIX style directory structure is set that way.  It
has been a while since I played with ftp, but I am fairly sure I
remember using ncftp to get files from to my Linux box from my NT ftp

The other option, depending on how much control you have over this
server is to install Cygwin tools which has rsync and a sshd


-----Original Message-----
From: vox-tech-admin@lists.lugod.org
[mailto:vox-tech-admin@lists.lugod.org] On Behalf Of Ganesh S
Sent: Wednesday, February 27, 2002 9:27 PM
To: vox-tech@lists.lugod.org
Subject: RE: [vox-tech] recursive ftp

Thanks Mark. I just tried this but there is no response from ncftp after
mget. It seems like since my ftp server is a Windows NT machine which
not have a directory listing similar to unix (eg. The first char in the
listing is NOT 'd' for a directory like in unix), these tools may not
(just my guess !). How will he change directory, if it is not able to
out if it is a directory or not !

Am i missing something ?


-----Original Message-----
From: vox-tech-admin@lists.lugod.org
[mailto:vox-tech-admin@lists.lugod.org]On Behalf Of Mark K. Kim
Sent: Thursday, February 28, 2002 9:55 AM
To: vox-tech@lists.lugod.org
Subject: Re: [vox-tech] recursive ftp

I think you can do it with ncftp and some scripting.  Normally, you can
use ncftp like a normal ftp, but you can also pass a recursive option
`mget -r *`).  You can write a script and pass appropriate commands,
of like this:

   ncftp -u <username> <ftp.servername.serverdomain> <<EOF
   mget -r /

Of course, you'll need ncftp installed, and make the script file
executable.  Be careful about your password being in the open.


On Thu, 28 Feb 2002, Ganesh  S wrote:

> Hi,
> I have a linux machine to which i would like to mirror a private ftp
> a nightly basis. A windows NT machine is serving as the ftp server. I
> tools like wget and rftp from my linux box to allow recursive ftp's
> windows NT machine, to occur automatically. rftp works only if the
> server is a unix machine. With wget, iam unable to get it to work. I
> the username and password setup in .netrc. The command i gave was wget
> ftp://<IPaddress>/
> Iam able to log in to the site with this but comes out with a message
> "Download 0 bytes in 0 files".
> Can anyone suggest/help me with a solution ?
> Thanks.
> Ganesh

Mark K. Kim
PGP key available upon request.

vox-tech mailing list

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.