Topic "Moving and deleting contents of subdirectories"

Author Message
ozdemircili
[View user's profile]

Joined: 2009-05-14
Posts: 3
Location: Spain
Hi,

I have a server that has multiple folders and each folder has its own files inside them.

I would like to use Synchronize function with delete option.

The problem is when I synchronize the files winscp deletes all folders and files inside them.

Is there any way to keep the folders and delete only the files inside them after synchronizing?

Thanks in advance.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
There's no way.

Btw, I suppose the folders do not exist localy, right?
_________________
Martin Prikryl
ozdemircili
[View user's profile]

Joined: 2009-05-14
Posts: 3
Location: Spain
prikryl wrote:
There's no way.

Btw, I suppose the folders do not exist localy, right?


Actually they will be existing in time. For the 1st time sync I will have 150 folders prepared and from then on Ill have to look inside every folder in remote if there is any change and move it inside the same directory that I have in local.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
So do you want to delete local or remote empty folders?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License