Automatically Download Files From Many Subfolders - Script

Advertisement

abd1111
Joined:
Posts:
11

Automatically Download Files From Many Subfolders - Script

I have a parent folder MainFolder, and I want all of the *PayStub.csv files from the many different folders and subfolders within MainFolder. Is there a way to do this without .NET yet? I saw the documentation on 'Downloading all files from FTP/SFTP to the same local folder'
I keep trying with:
cd /MainFolder/
get *PayStub.csv "C:\destination\folder"
but never ever works. Only if I change cd to the exact folder about 10 levels down will I get the csv copied over to destination folder. I'm trying to make it all-encompassing as best as possible.
Last edited by abd1111 on 2024-07-18 23:42; edited 1 time in total

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum