Re: ftp transfers
Ivan van der Merwe wrote: Hi I need to do fequent ftp downloads. I would like to put this in the crontab if possible. In windows you can specify a file containing all the files that you want downloaded. Can I do the same on Unix Of course you can: ftp some.server.com EOF username password cd /some/directory get file1 get file2 EOF This is called a 'here is' document. But really it's much easier to just use fetch. See the fetch(1) man page. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC [EMAIL PROTECTED] http://softweyr.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: ftp transfers
Today Ivan van der Merwe wrote: Hi I need to do fequent ftp downloads. I would like to put this in the crontab if possible. In windows you can specify a file containing all the files that you want downloaded. Can I do the same on Unix Sure, try wget (/usr/ports/ftp/wget). Put all URLs in a text file one/line and execute wget, i.e. wget -i inputfile ftp:// See wget -h for more useful options. Cheers, -Ron -- UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things. (Doug Gwyn) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: ftp transfers
Ron Scott writes: Today Ivan van der Merwe wrote: I need to do fequent ftp downloads. I would like to put this in the crontab if possible. In windows you can specify a file containing all the files that you want downloaded. Can I do the same on Unix Sure, try wget (/usr/ports/ftp/wget). Put all URLs in a text file one/line and execute wget, i.e. wget -i inputfile ftp:// See wget -h for more useful options. Or put URLs in a file and do cat file | xargs -n 1 fetch -- @BABOLO http://links.ru/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: ftp transfers
I need to do fequent ftp downloads. I would like to put this in the crontab if possible. There is also the "mirror" port in /usr/ports/ftp. Mike To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message