Re: Scripting Fetch FTP simultaneous transfers
Re: Scripting Fetch FTP simultaneous transfers
- Subject: Re: Scripting Fetch FTP simultaneous transfers
- From: Jim Matthews <email@hidden>
- Date: Mon, 29 Jan 2001 14:57:28 -0500
You are on the right track with the "ignoring application responses" block,
but you probably want to specify your file destinations with URLs rather
than with transfer windows. That way you leave Fetch the job of figuring
out when it needs to create a new transfer window, and you don't get errors
telling a busy window to do something.
For example:
ignoring application responses
put into url "
ftp://userid:password@hostname/path" items {alias "HD:file1",
alias "HD:file2"}
put into url "
ftp://userid2:password2@hostname2/path2" items {alias
"HD:file2-1", alias "HD:file2-2"}
end ignoring
In this example the files are uploaded simultaneously to two servers, but
the files going to a particular server are sent sequentially. By adding
more lines to the block (rather than sending multiple files with each
statement) you can increase the numer of simultaneous transfers.
--
Jim Matthews
Fetch Softworks
http://fetchsoftworks.com