On Wednesday 11 April 2012 11:39:19 Dmitry wrote: > 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.
How about specifying an absolute path to the archive? Kamil _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel