I must download file from SFTP server and delete them on server so as not to download them again next time.
I use “File transfert” to download files.
After I use SSH command to delete them.
But nothing is happening. No error.
I try with winscp. I can delete files in SFTP GUI but I can’t open terminal.
My user don’t have enought right to run command by SSH.
How can I delete these files with EasyMorph?
Should I drive winscp directly with EasyMorph?
It would be a shame for such a common operation that download files on SFTP.
I was able to delete remote files after downloading them by running winscp from command line.
But in case there is an error, I have no way to clean remote folder properly.
Am I understanding it correctly that using SSH Command didn’t work, but using Run Program to run WinSCP that uses the same credentials as SSH Command worked?
It's complicated just to go and delete file that was downloaded and in case of an error, I don't really have an easy way not to download this file again. It will be integrated twice.
An option to remove file downloaded on "File tranfer" would be simpler.