Hi


I have written a small program to SFTP transmit (put) and retrieve (get)
some files available in particular directories using libssh2



Like local directory on Linux machine: *“/var/tmp/sftpdir”*

And

Remote directory on OpenVMS machine: “*/sys$sysdevice/smsc/tmp/ftpdir”*



The application is working fine for file transmission between Linux-Linux
and Linux-Unix.



But with the OpenVMS server it is connecting properly using password
authentication method.

Later if I am trying to open the remote directory
“*/sys$sysdevice/smsc/tmp/ftpdir”
*it is failing with the below error:



*“-30 Timeout waiting for status message”*

* *

I am using the code below:

* *

sftp_handle = libssh2_sftp_opendir(sftp, remote_dir);  //where *remote_dir*=
“*/sys$sysdevice/smsc/tmp/ftpdir”*

                                                       //and *sftp* is valid
sftp seesion intance.



Can anyone please tell whats wrong I am doing or what additional I need to
do to get it work with OpenVMS.



Regards,

Ravitosh
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to