martin wrote:
If you are using SFTP protocol, the first "call" requires opening separate shell session, which may take some time. Would that explain it?
Thanks that explains part of it. I've run the commands the in the script by hand it takes about 10 seconds for the initial "open" to finish, the "put" takes under a second, then as you say the "call" makes a seperate connection and shell but this takes about 30 seconds which seems like a long time. So it seems like the delays happening are when exstablishing a connection. Is there any way to reduce these times?
Mike