Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2000 13:37:48 -0800 (PST)
From:      Peter Johnson <tam@hiddenrock.com>
To:        Ryan Thompson <ryan@sasknow.com>
Cc:        joe <joe@popidols.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: FTP (auto-fetch)
Message-ID:  <Pine.BSF.4.21.0011041336520.9960-100000@hiddenrock.com>
In-Reply-To: <Pine.BSF.4.21.0011041522340.27749-100000@ren.sasknow.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

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).



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.0011041336520.9960-100000>