Topic "File containing source files paths"

Author Message
mestevez01

Guest


Hi,

I need to transfer multiple files that are stored in different subfolders within a folder. My question is, can I create a file containing the paths of all the files that I need to transfer and then use that file in a script?

Thanks in advance for your help.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Not directly.

Either create the file list with put command prefix.

Or use the file list to generate ad-hoc upload script.
See https://winscp.net/eng/docs/script_upload_file_list
Guest




Thanks for your feedback.
The request became a bit more challenging.

1 - I need to obtain from a database the paths for the files that I need to copy (No problem). The files are stored in multiple subfolders.
2 - The files need to be renamed and then copied to their final location.

I think I'll use a .Net script to achieve this. I was hoping to use WinSCP but this might be just too much for it.

Thanks.

martin wrote:
Not directly.

Either create the file list with put command prefix.

Or use the file list to generate ad-hoc upload script.
See https://winscp.net/eng/docs/script_upload_file_list
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