Multiple files in folders and sub folders to one folder

Advertisement

slade2000
Joined:
Posts:
2
Location:
Perth

Multiple files in folders and sub folders to one folder

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

Reply with quote

Advertisement

sura_f
Guest

Transfer all in to a single folder, then all can be downloaded with a single drag and drop

I created a python script (capture attached) that goes in to all sub folders and moves the files that I need from each in to the parent directory (or any specified directory). Once I have all the files in one folder, I was able to select, drag and drop all of them at once for download.

Capture.PNG

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

Re: Transfer all in to a single folder, then all can be downloaded with a single drag and drop

sura_f wrote:

I created a python script (capture attached) that goes in to all sub folders and moves the files that I need from each in to the parent directory (or any specified directory). Once I have all the files in one folder, I was able to select, drag and drop all of them at once for download.
This thread is about scripting.
In GUI, you can achieve this by using Find function to find all files recursively.
https://winscp.net/eng/docs/task_find
Then in the Find window, you can select all the files and use Download to download them to the same directory.
https://winscp.net/eng/docs/ui_find

Reply with quote

Advertisement

You can post new topics in this forum