Delete directory operations

Advertisement

Adem
Guest

Delete directory operations

How does WinSCP handle directory deletion?

It seems it is deleting every single item under a directory one by one.

Shouldn't it issue just a
rm -d -f -r <directory_name>
to the server. It is much much faster that way.

Reply with quote

Advertisement

Adem
Guest

Re: Delete directory operations

Thank you for the link. I was using SFTP, but having read the document at the link, I think I will use SCP (and, for the rare cases SFTP, maybe).

Just one more question, does SCP have any problems with SSH2?

Cheers
Adem

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Delete directory operations

Adem wrote:

Thank you for the link. I was using SFTP, but having read the document at the link, I think I will use SCP (and, for the rare cases SFTP, maybe).
You may use SFTP, and add new custom command "rm -d -f -r !" instead.

Just one more question, does SCP have any problems with SSH2?
If you mean security problem, then not. On some newer (SSH2) servers, SCP is no longer available, but it is rare.

Reply with quote

Advertisement

You can post new topics in this forum