[Nottingham] Re: Batch ftp?
James Gibbon
jg at jamesgibbon.com
Thu Nov 25 22:21:43 GMT 2004
On Thu, 25 Nov 2004 21:01:45 +0000
David Aldred <david at familyaldred.org.uk> wrote:
>
> Anyone know an easy way of doing this?
>
> I have a web project which, for reasons which will be cured soon, is copied
> across a whole series of directories (so that on the webserver there are
> copies of for example index.php in nine directories).
>
> Is there an easy way of uploading a file to a series of directories when I've
> edited it?
>
> I'm thinking of something like a command-line tool which could upload the file
> to a target directory (then I could create a script to run the command nine
> times to different directories, with a parameter for the file to be uploaded).
ncftp is exactly such a command-line tool which allows you to transfer files from a
command line or script without going interactive - perfect for jobs like this.
Cheers
James
More information about the Nottingham
mailing list