Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

padeljunkie

Help to Upload All files

Hi....
I am using the following script (from https://winscp.net/eng/docs/script_local_move_after_successful_upload) to upload files to an SFTP site...and in a PRD env I will have to have this run through approx 0.5M small files...
The scripts works great, but unfortunately only loads *one* file before disconnecting.
I'd like to run through all the files in the folder, upload, then archive (after successful upload). I cant see what is wrong in the script, (I'm NO expert here at all), but how do I make sure it loops through the files, rather than just uploading one, and disconnecting?