Topic "unable top upload multiple directories"

Author Message


Hi Martin,

I try to upload on nas multiple directories (and his subdir) from multiple sources. It doesn't works.

Other problem is timesamp. Is it possible to preserve timestamp on directories ? This facilitates rotation of backups

Here is my script. Tankx.

open s

# Force binary mode transfer
option transfer binary

#remote directory
cd //other/

#lcd local directory
lcd e:\
option exclude "$RECYCLE.BIN/"
put *
mv * /other/1

lcd C:\Users\pc-user-x\Documents
option exclude "$RECYCLE.BIN/"
put *
mv * /other/2

# Disconnect

# Exit WinSCP
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
"It doesn't work" is not a problem description.

Tell us what goes wrong. Session log file would help too.

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License