Copingthe file to a single folder with a random name

Advertisement

barabanozver
Guest

Copingthe file to a single folder with a random name

Hi there,

How can I name a "single folder with a random name" in the script to copy files to it?

An example of this script:

option batch on
option confirm off

# open sftp connection
open sftp://udbstorage:mypass@myserv

# synchronize files from server
put F:\In_Work\Workspase1\forThumbnails\1190938BO /home/app/storage/CNEB1190938BO/%random%/flipbook/images

pause
exit


The folder there is necessarily the only one, but its name can be anything.

Tnx!

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum