- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: OpenVMS SFTP C Library
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 11:52 AM
тАО05-22-2009 11:52 AM
OpenVMS SFTP C Library
Thanks,
Jeremy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 12:36 PM
тАО05-22-2009 12:36 PM
Re: OpenVMS SFTP C Library
As for options, there's libcurl at http://curl.haxx.se/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 02:29 PM
тАО05-22-2009 02:29 PM
Re: OpenVMS SFTP C Library
$ tcpip show vers
HP TCP/IP Services for OpenVMS Alpha Version V5.6
on a COMPAQ Professional Workstation XP1000 running OpenVMS V8.3
$ sftp -v
Sftp2/SFTP2.C:4543: CRTL version (SYS$SHARE:DECC$SHARE ident) is: V8.3-01
SshFileCopy/SSHFILECOPY.C:1080: Making local connection.
Ssh2SftpServer/SSHFILEXFERS.C:1754: Received SSH_FXP_INIT
Ssh2SftpServer/SSHFILEXFERS.C:1799: version is 3
SshFileCopy/SSHFILECOPY.C:1019: Connection to local, ready to serve requests.
Sftp2/SFTP2.C:728: Connection ready.
SshReadLine/SSHREADLINE.C:3652: Initializing ReadLine...
sftp>
You may already have the requisite library functions available, but as far as I know, the API is not published or supported. libcurl does seem like a good alternative.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 02:24 AM
тАО05-25-2009 02:24 AM
Re: OpenVMS SFTP C Library
If you look at the SFTP draft (it never made it to RFC state), then you will see that it is very different from FTP. http://www.vandyke.com/technology/draft-ietf-secsh-filexfer.txt
Another option to add security to your transfers, that would require very few changes to your existing programs, would be to use the FTPS functionality in the TCPware 5.8 FTP programming library. http://www.process.com/tcpip/tcpware58docs/html/programmer/ch07.htm#E52E55
The additional calls that you would need to make are FTP_AUTH, FTP_PBSZ, FTP_PROT and possibly FTP_CCC. You would also want to read RFC 4217 and possibly RFC 2228.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 06:52 AM
тАО05-25-2009 06:52 AM
Re: OpenVMS SFTP C Library
FTPS is completely different from SFTP, and cannot be used in many circumstances, as either the systems or the organizations supporting those systems do not (want to) support it.
I did find a reasonably nice java library
that runs on OpenVMS, which I have used to
do some special stuff where the standard SFTP command line is simply to cumbersome for. Google for jsch if you're interested.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 08:09 AM
тАО05-25-2009 08:09 AM
Re: OpenVMS SFTP C Library
http://curl.haxx.se/
Marty Kurht has the curllib.olb pieces included in the OpenVMS binary kit that is available for download at the cURL web site, and the cURL documentation references support for sftp and ftps, and various other mechanisms. Or you can build cURL from the provided sources, if you don't want to use Marty's pieces.
OpenVMS increasingly requires the site-local assembly of the platform from software acquired from various sources, whether from the add-on kits offered from HP (IP, SWS, gnv, languages, etc), or alternate web servers (eg: OSU) or languages (eg: Lua), or (for this case) packages and libraries such as cURL. The libcurl (curllib) stuff is a C library, though there are generally options for various other programming languages on OpenVMS including the Luacurl library available for Lua at
http://luacurl.luaforge.net/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 08:41 AM
тАО05-25-2009 08:41 AM
Re: OpenVMS SFTP C Library
long time).
The curl library is working ok from C, I'll
have a try myself on a few processes that could do with an upgrade.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2009 05:23 AM
тАО05-26-2009 05:23 AM
Re: OpenVMS SFTP C Library
>tcpip show vers
HP TCP/IP Services for OpenVMS Alpha Version V5.6
on an hp AlphaServer ES47 7/1150 running OpenVMS V8.3
>sftp -v
Sftp2/SFTP2.C:4543: CRTL version (SYS$SHARE:DECC$SHARE ident) is: V8.3-01
SshFileCopy/SSHFILECOPY.C:1080: Making local connection.
Ssh2SftpServer/SSHFILEXFERS.C:1754: Received SSH_FXP_INIT
Ssh2SftpServer/SSHFILEXFERS.C:1799: version is 3
SshFileCopy/SSHFILECOPY.C:1019: Connection to local, ready to serve requests.
Sftp2/SFTP2.C:728: Connection ready.
SshReadLine/SSHREADLINE.C:3652: Initializing ReadLine...