Hi!
Try to send to remote server command "tar cf test.tar test_file.txt"
As a result of this operation creates archive test.tar in folder
/home/username. But I want to be able to execute commands not only in
/home/username directory, but in any directory. How can I implement this
feature? Before create archive i tried to send command like "cd /
target_directory" But as a result archive anyway created in /home/username
directory.
Dmitry
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-04-11