Hi, I am implementing a SF Project called JMrtools and I am trying to  
get SCP working like it does at the command line.
I am currently having a questions about the remote side of the SCP  
connection

My issue is that when sending the information to the remote server you  
need to remove all leading "/" so where do I do a change directory to  
the place I want to upload the file?
Do I just do "cd /whereever/; scp -p -t" or is there a more elegant  
way of doing this?
Or should I just drop SCP and go to SFTP?


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to