Date: Sat, 4 Nov 2000 17:53:47 -0600 (CST) From: Ryan Thompson <ryan@sasknow.com> To: Peter Johnson <tam@hiddenrock.com> Cc: joe <joe@popidols.net>, freebsd-questions@FreeBSD.ORG Subject: Re: FTP (auto-fetch) Message-ID: <Pine.BSF.4.21.0011041752070.38968-100000@ren.sasknow.com> In-Reply-To: <Pine.BSF.4.21.0011041336520.9960-100000@hiddenrock.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Johnson wrote to Ryan Thompson: > If you install ncftp from the ports, you should get ncftpput and ncftpget > which are command-line variations of the two commands, very useful for > scripts and batch processing. > > Pete Useful as long as the scripts do not need to be ported to machines/platforms without ncftpput/ncftpget. Same reason I don't run a patched ftp(1) any more :-) But, yes, if the scripts are to be run on a controlled set of machines, those will come in handy. - Ryan > On Sat, 4 Nov 2000, Ryan Thompson wrote: > > > joe wrote to freebsd-questions@FreeBSD.ORG: > > > > > Dear sir/Madam > > > > > > I've been trying to use the ftp (auto-fetch) command: > > > ftp ftp://[user:password@]host[:port]/file[/] > > > > > > As I found, the default file transferring operation of this > > > instruction is eqivalant to a ftp's "get" command, but actually I want > > > this command to perform a ftp's "put" command and do it automatically. > > > Therefor, are there any options or parameters I have to add to make it > > > works? > > > > Actually, ftp(1) doesn't support this sort of command line operation. > > Some time ago (FreeBSD 2.2.x, I think), I patched ftp(1) to support a put > > if two arguments were given. (Worked for single files). > > -- Ryan Thompson <ryan@sasknow.com> Network Administrator, Accounts Phone: +1 (306) 664-1161 SaskNow Technologies http://www.sasknow.com #106-380 3120 8th St E Saskatoon, SK S7H 0W2 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?Pine.BSF.4.21.0011041752070.38968-100000>