Date: Fri, 21 Dec 2001 10:32:17 -0500 (EST) From: Francisco Reyes <lists@natserv.com> To: FreeBSD Questions List <questions@freebsd.org> Subject: Automating multiple file transfers with FTP Message-ID: <20011221102106.K10298-100000@zoraida.natserv.net>
next in thread | raw e-mail | index | archive | help
Any hints on how I can automate multiple file transfers with FTP using a valid user/password? The FTP man page talks about "AUTO-FETCHING FILES", but I couldn't get that to work for multiple files. I tried the "ftp ftp://user:password@host/file" format and that worked only for single files. I tried putting different files at the end, but only the file right after the host worked : "host/<this one worked>" I did get the following to work: ftp ftp://user:password@host/directory <ftp.script Having ftp.script with something like: ascii prompt mget *.txt Is this the only/best way to do this? Ultimately I am going to try and do this through ssh, but scp didn't seem to work to copy multiple files (tried sctp user@host:/files .). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011221102106.K10298-100000>