Scripting: Unexpected delay between file put and call
I have a script that is run from winscp3.com that first tries to "put" a file and then "call" to run a script on the remote server. This works OK but the process runs a lot slower than I would expect. It can takes on average 40 seconds to transfer the file and run the script.
I can see in the scp.log there seems to be a delay of 30 seconds between the file transfer finishing and the remote command executing. I don't think file transfer speed is the issue as the files being transfered are small (less than 2k bytes).
Do you have any idea what may be causing this delay or how I could get around it ? Is there any parameter that I could adjust to reduce or remove it ?
I can see in the scp.log there seems to be a delay of 30 seconds between the file transfer finishing and the remote command executing. I don't think file transfer speed is the issue as the files being transfered are small (less than 2k bytes).
Do you have any idea what may be causing this delay or how I could get around it ? Is there any parameter that I could adjust to reduce or remove it ?