[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem to using libssh 0.5.2
[Thread Prev] | [Thread Next]
- Subject: Problem to using libssh 0.5.2
- From: Olivier Cruilles <linuxos@xxxxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 10 Jan 2012 12:53:33 +0100
- To: libssh@xxxxxxxxxx
- Cc: Olivier Cruilles <linuxos@xxxxxxxxxxxxxxxx>
Hello, As I didn't receive any answer about my problem I send again an email to the mailing list. Previous message: I hope that someone can help me about a little problem using the 'libssh' in a program. My project is a little special and consist to use the library 'libssh' that you develop in Gambas language on Linux. In this language i can use directly all C libraries and take advantage of all this power inside Gambas language because not all is possible or not all is furnished. So, my problem appear using the following function present in the 'libssh': LIBSSH_API int ssh_scp_push_directory(ssh_scp scp, const char *dirname, int mode); Error message: Create directory on remote server - Directory: /tmp/direxample1 PermsResult = 0000000111101101 Perm: 493 String:0755 Mode: 00000000000000000000000111101101 493 [SSH] Can't create remote directory: scp status code 1d not valid A this point i don't know what to do and what is exactly this error code '1d'. I try many solutions around the permissions declaration and calcul but nothing change. In a first time,i don't no if the permission number must be declared in 4 bytes or 8 bytes and what exactly how to build this parameter. I hope that you can help me because your library is very interesting for me and offer me great possibilities. Of course i called scp_new, then scp_init. I joined to this email my projet in Gambas v3 To try it, just modify connection parameters in the MMain module and start the execution of it. So, in the console of Gambas you will see all information about my problem. I use the last version of Gambas v3 and I use Fedora 14 and the libssh v0.5.2 Thank you in advance for your answer. |
Attachment:
gb.sshclient-0.0.62.tar.gz
Description: application/compressed-tar
Olivier Cruilles Mail: linuxos@xxxxxxxxxxxxxxxx
|
Re: Problem to using libssh 0.5.2 | Gearoid Murphy <gearoid.murphy@xxxxxx> |