Copy files to FTP and delete in source but preserve folders

Advertisement

superprut
Joined:
Posts:
2
Location:
Czech republic

Copy files to FTP and delete in source but preserve folders

Hello. I have folder on my PC. There are many subfolders in this folder.
I want to upload all files from those subfolders to FTP where is the same folder structure. After succesfull upload I want to delete all files in all folders on my PC but preserve folders.
Is this possible? If yes, could you please show me script example?

Thank you very much.
Jan

Reply with quote

Advertisement

superprut

Thank you for fast reply but I'm totally lost... I would like to install addon (PowerShell). There is:
You can install this script as an WinSCP extension by using this page URL in the Add Extension command.
But which URL should I use? Where to use it?

Reply with quote

Advertisement

You can post new topics in this forum