Topic "copy multiple file to local to remote"

Author Message
deviprasad
[View user's profile]

Joined: 2015-03-25
Posts: 4
Location: banglore
Please help how to copy multiple file to local to remote


currently i have the following code to do that but it only copies a single file instead of multiple.

"put C:\Users\derath\Desktop\Exatrs\job\ /scratch/home/odeeqa/oracle/odee_1/documaker/hotdirectory"
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
It copies all files from folder C:\Users\derath\Desktop\Exatrs\job\ to folder /scratch/home/odeeqa/oracle/odee_1/documaker/ saving all to a single file hotdirectory, overwritting one another.

You probably want to do:
put C:\Users\derath\Desktop\Exatrs\job\ /scratch/home/odeeqa/oracle/odee_1/documaker/hotdirectory/

Note the trailing slash.
_________________
Martin Prikryl
deviprasad
[View user's profile]

Joined: 2015-03-25
Posts: 4
Location: banglore
i am sorry if i put the trailing slash at last it copies the whole folder and not the all files.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
For that, add a star to the source path:

put C:\Users\derath\Desktop\Exatrs\job\* /scratch/home/odeeqa/oracle/odee_1/documaker/hotdirectory/
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License