Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2001 21:03:09 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Tony Wells <awells@journalstar.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Scripting FTP actions
Message-ID:  <20010515210309.A50193@student.uu.se>
In-Reply-To: <3B017535.2C9D98B8@journalstar.com>; from awells@journalstar.com on Tue, May 15, 2001 at 01:28:06PM -0500
References:  <3B017535.2C9D98B8@journalstar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 15, 2001 at 01:28:06PM -0500, Tony Wells wrote:
> Hi all,
> I need to be able to set up something where I can script a bunch of
> FTP actions to send files to a remote server and I'm not sure where to
> start looking.  
> 
> As far as a client I use ncftp, and looking at the man page I only see
> "auto fetching" of files.
> 
> Has anyone done this, or am I better off just writing a perl script
> that pretends to be an FTP client?

I don't think ncftp can be used for this but may I suggest you take a
look at ftp/curl from the ports collection which is perfect for doing
FTP actions from inside a script.

(curl can also handle several other protocols in addition to ftp.)


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se


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?20010515210309.A50193>