sftp - shell

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

sftp - shell

miran
Hello list,

I use lasso 8.6 on a macosX server and I'm trying to upload a file to a remote server. This server works with a rsa key, so I'm trying to do this with a shell command, but I keep getting an error: No such file or directory

This is what I have:
[shell:'scp IdentityFile=/Users/username/.ssh/id_rsa  userforftp@sftp.someserver.nl:/Import/test /Library/WebServer/Documents/mysite/dir_xml/order_test.xml']

Can someone point me in the right direction how I get this to work?

thanks,
miran