How to Get all remote files into a local directory

Advertisement

danleow
Joined:
Posts:
1

How to Get all remote files into a local directory

Is there a way write a script to GET all the remote files (including those in sub directories) into the one local directory (c:\xampp\htdocs).
By the way I do not know these subdirectories name as it is auto generate.

Right now the script that I am using is this, but it also creates the subdirectories in my local drive.

get * c:\xampp\htdocs\

What I want is not create the subdirectories in the local drive but instead have all the files right in to the parent local directory.
:( :( :(

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: How to Get all remote files into a local directory

There's no example for that. You cannot do this without some scripting. Either to autogenerate WinSCP script or to flatten the directory structure after downloading it to local machine.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum