I'm using this script for downloading files:
# Disable overwrite confirmations that conflict with the previous option confirm off # Connect using a password # open user:firstname.lastname@example.org # Connect open user:password@server # Force binary mode transfer option transfer binary # Download file to the local directory D:\dbwp_backup\dateien\ get *.* D:\dbwp_backup\dateien\ # Disconnect close # Exit WinSCP exit
So this works fine, but now i want to use this script on another webserver and there i want to exclude some directories because of huge file size i don't want to download them.
I searched and read in the internet and this forum, but didn't understand how i have to insert another code line or change it to work correctly.
If anyone answers, please don't link me to another page or tell me to read in the FAQs: I don't understand it!
There are a few folders i want to exclude. Maybe someone can complete my code.
Thanks a lot!