Ignore folder structure when copying the files.

Advertisement

QooBass
Guest

Ignore folder structure when copying the files.

Hello,

Is it possible to ignore local directory file structure when copying files?
Let's say we've got a couple of files in subdirectories as follows:
./testa00.txt
./testb00.txt
./01/testa01.txt
./01/testb01.txt
./02/testa02.txt
./02/testb02.txt

Is there a way to put those 'testa*.txt' files on FTP server without copying the folder structure. Ideally, I would like all the files to be dropped into a single folder on the FTP server, is there a way to do it?

Thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,264
Location:
Prague, Czechia

Re: Ignore folder structure when copying the files.

You can use a search function in Windows File Explorer to create a list of those files. And then drag&drop those files to WinSCP remote panel.

Reply with quote

Guest

Re: Ignore folder structure when copying the files.

martin wrote:

You can use a search function in Windows File Explorer to create a list of those files. And then drag&drop those files to WinSCP remote panel.

Thanks, Martin.

I was actually hoping that there is a way to automate it somehow. Thanks for your reply.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,264
Location:
Prague, Czechia

Re: Ignore folder structure when copying the files.

So you want to write a script for this?

Reply with quote

Advertisement

You can post new topics in this forum