Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Freitag

Assuming your file source is unix...

After you have copied the files, run a remote command

The "type -f" filter will limit the results to files

find /path/to/root/file/source -type f -exec rm {}\;

find is a recursive command and it will delete EVERY file under the path you name (so don't use / or .)
martin

Re: Put with Delete to move and delete all files but not folders

You have to delete the files one by one. There's no magic for that in WinSCP.
jullman

Put with Delete to move and delete all files but not folders

I would like to PUT all files in a folder/subfolder structure to the remote site, and then delete all the files, but not the folder structure. So far I've been able to PUT everything and delete everything, but have not yet figured out how to keep the folder structure intact.

Any help would be appreciated.