Utility to copy to ftp
From: Tristan Miller (psychonaut_at_nothingisreal.com)
Date: Fri, 02 Jan 2004 01:06:04 +0100
I'm looking for a command-line utility, suitable for use in non-interactive
shell scripts, that will allow me to upload files to an FTP server. The
program should support non-anonymous logins, passive transfers,
halfway-intelligent error handling (i.e., won't hang indefinitely if a
connection is lost or cannot be established), the ability to specify the
remote destination directory, and the ability to specify multiple files to
upload (i.e., without having to log out and relogin for each file). In a
% cpftp ftp://user:firstname.lastname@example.org/path/to/foo *.txt || echo
"Error: could not copy the text files!"
I've done some browsing on Freshmeat, but so far have found only programs
lacking one or more of the above-noted features.
-- _ _V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited / |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard (7_\\ http://www.nothingisreal.com/ >< To finish what you