On Thu, Oct 02, 2003 at 12:03:34PM +0200, Hrvoje Niksic wrote: > Payal Rathod <[EMAIL PROTECTED]> writes: > > > On Wed, Oct 01, 2003 at 09:26:47PM +0200, Hrvoje Niksic wrote: > >> The way to do it with Wget would be something like: > >> > >> wget --mirror --no-host-directories ftp://username:[EMAIL PROTECTED] > > > > But if I run in thru' crontab, where will it store the downloaded files? > > I want it to store as it is in server 1. > > It will store them to the current directory. You can either cd to the > desired target directory, or use the `-P' flag to specify the > directory to Wget.
Thanks a lot. It works wonderfully. But one small thing here. I am trying to use it thru' cron like this, 51 * * * * wget --mirror --no-host-directories -P /home/t1 ftp://root:[EMAIL PROTECTED]//home/payal/qmail* But instead of delivering it to /home/t1, wget makes a directory /home/t1/home/payal and put the qmail* files there. What is the workaround for this? Even if I can download the whole /home it is OK. With warm regards, -Payal > -- "Visit GNU/Linux Success Stories" http://payal.staticky.com Guest-Book Section Updated.