Topic "Multiple files in folders and sub folders to one folder"

Author Message
slade2000
[View user's profile]

Joined: 2016-09-21
Posts: 2
Location: Perth
Hi All

I have a script that connects to a FTP host and download all files on the host to a local destination. I do this by using the sync option.

Is there an option to copy all files from all the folders and sub folders to one single folder locally?

Thx
Advertisements
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26889
Location: Prague, Czechia
See https://winscp.net/eng/docs/script_download_files_to_same_folder
slade2000
[View user's profile]

Joined: 2016-09-21
Posts: 2
Location: Perth
I will give this a go thx
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26889
Location: Prague, Czechia
I have written an example script to do this. See the link in my updated answer above.
Advertisements

You can post new topics in this forum

Search

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