This project is read-only.

Remove File

Feb 1, 2015 at 7:18 PM
Hello there,
Is there any way to remove file through SCP class ? 
Generally how can i remove remove files using the component ? I do not mean using the ssh.runcommand("rm filename"). I do not want to send unix commands ? I know that way and already using it ....i need to implement a second way !
Feb 1, 2015 at 9:29 PM
Use SFTP.

SCP => "Secure copy"
http://en.wikipedia.org/wiki/Secure_copy
Feb 1, 2015 at 9:35 PM
Well yeah you are right ...in your point !

Shall i ask something else ?

When i use SSH.RunCommand and send Unix commands... is it necessary for the user used by the SSH to have a shell access or not ?
Today i configured the SSH and the user had /bin/scponly and the command i sent using the SSH was executed with no exception ...
The SSH component needs also Shell access or not ?