Using WinSCP 5.9.2
I need to copy the whole web site back to my PC, with exclusion of couple folders that are 'sessions' on a database. If I try to sync everything, include that
/sessionsfolder, sometimes I get error when a user leaves the database, so I figure out that the best option will be to EXCLUDE that.
This is my .txt file:
synchronize local c:\MySites\Site1\ /public_html -delete -preservetime -filemask=""*/*|*/sessions""
/sessionsIS NOT being copied, but also, any sub-folder from my root. What I'm doing wrong?
I have this structure:
/ index.html manyfiles.html /folder1 /folder1/index.html /folder1/manyfiles.html /folder2 /folder2/index.html /sessions/ /sessions/manysessions.html
/but none under any
So, what is wrong?
Thank you very much