Is it possible to make DOpus delete folders on SFTP faster by sending one command that would recursively delete all folder content and the folder itself?
I mean, is it possible for you to make it happen automatically when I use delete command on SFTP? Currently, if I delete a large folder, it takes ages to complete because each file is deleted via separate command (isn't it?).
Another related wish:
Provide a way to add buttons and menu items that execute user-defined command on files and folders on SFTP. I'm not sure but there might be needed additional SSH configuration for each SFTP sever.
So for example I could add context menu item that compress/decompress selected files and folders using tar.gz or zip. Or delete whole directory.
As far as I know, it's possible to do that in WinSCP.
For now, I accomplish this wish with very long rename function, but it's very inconvenient to add more buttons.
Sub Run(ByVal sFile)
Set shell = CreateObject("WScript.Shell")
shell.Run Unescape(sFile), 1, false
Set shell = Nothing
Function Rename_GetNewName ( strFileName, strFilePath, fIsFolder, strOldName, ByRef strNewName )
pathArray = split(strFilePath, ":")
passwdArray = split(pathArray(2), "@")
userArray = split(pathArray(1), "?")
addrArray = split(passwdArray(1), "/")
path = Mid(passwdArray(1), InStr(passwdArray(1), "/"))
Run """C:\Program Files (x86)\PuTTY\plink.exe"" -ssh -pw " & passwd & " " & user & "@" & addr & " cd """ & path & """ && tar -zcvf ""'" & strFileName & ".tar.gz'"" ""'" & strFileName & "'"""