Uploading multiple files with script

Advertisement

Ulrike
Guest

Uploading multiple files with script

Hi,

im uploading multiple files via script to one SFTP server. Each file is done with one script. After uploading 5 files (running 5 scripts) the login to the server is not possible for the next 2 or 3 minutes.

<--- SNIP
option batch on
option confirm off
open sftp://<user>:<pw>@<ip>:<port>
session
option transfer binary
put <file>
exit
--> SNAP

Any suggestions?

Regards,

Ulrike

Reply with quote

Advertisement

Ulrike
Guest

Uploading multiple files with script

Hi,

thanks for the reply.

The reason for uploading the files one by one is to make sure that every and each file suceeded. Im writing the script for the upload from code. And I can only get the return code from the whole script (as far as I know). As there are multiple formats files in multiple destinations wildcards wont work. :(

Any suggestions? Is this a known behaviour?

Regards,

Ulrike

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,083
Location:
Prague, Czechia

Re: Uploading multiple files with script


_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum