- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SFTP ASCII file transfers to OPENVMS
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
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
тАО04-24-2012 12:10 PM
тАО04-24-2012 12:10 PM
SFTP ASCII file transfers to OPENVMS
Hello,
I am running OpenVMS 7.3-2 and have been encountering intermittent problems when transferring ASCII files from a remote server to my VMS server. Sometimes the file is not readable by our application.
This appears to be a result of the files coming over in binary mode, but I don't see an option for switching to ASCII mode as I would have done in FTP. I saw some other reports of this issue in Google, but no clear resolutions.
Is there a workaround for this, or is there some way to convert the file after the fact? has this been fixed in later releases of VMS?
Thank you
Richard
- Tags:
- sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2012 12:48 PM
тАО04-24-2012 12:48 PM
Re: SFTP ASCII file transfers to OPENVMS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2012 01:05 PM
тАО04-24-2012 01:05 PM
Re: SFTP ASCII file transfers to OPENVMS
Thanks,
I didn't put a lot of detail because this seemed to be a know issue on other forums and I thought that raising the problem of handling ASCII file transfer would be enough to give me a few pointers from an HP forum. I was told about a year ago that there were some gaps in the way SFTP handled ASCII files (compared to FTP), I just could not recall exactly what they were and wondered if there was any progress on this. I don't have examples because I did not encounter the issue first hand, I'm waiting for some sample files to replicate the problem.
Given the poor ESP capabilities on this forum I will also raise this on the psychic friends network and let you know the outcome :).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2012 04:08 PM
тАО04-24-2012 04:08 PM
Re: SFTP ASCII file transfers to OPENVMS
HP was aware of a corruption in sftp involving transfers between VMS and non-VMS systems based on one recent discussion, and HP was reportedly working on a fix. If your (corruption?) problem is related to that, call up the support center and ask for the status of that work, and whether a patch is available.
If you don't have support, then zip the files and transfer that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2012 08:57 PM
тАО04-24-2012 08:57 PM
Re: SFTP ASCII file transfers to OPENVMS
Thanks very much. I will follow up on this suggestion. I corresponded with support and they indicated that some SFTP clients will not transfer to OpenVMS in ASCII mode (like PSFTP). I will have to find out exactly what was used, I think bitvise was tried.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2012 05:33 AM
тАО04-25-2012 05:33 AM
Re: SFTP ASCII file transfers to OPENVMS
sftp is not ftp. sftp does not have a user-visible file-format selection. There is no transfer mode selection for ASCII or BINARY within sftp. (That's usually considered a Good Thing, too.)
Quoting the sftp specs "Regardless the server operating system, the file will always be opened in "binary" mode (i.e., no translations between different character sets and newline encodings)."
If an sftp client does not transfer a text file correctly, then there is an issue or a bug within the sftp client or the sftp server, or the file itself is using a character encoding (eg: UTF-8) or a file record format that one of the systems involved cannot properly contend with.
I'd expect that common tools such as PuTTY psftp and FileZilla would work (when the files themselves are compatible), though I don't have any Windows boxes available here to confirm that. There have been issues with sequential file handling within VMS sftp components, and here is a recent c.o.v. discussions of sftp corruptions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2012 05:21 AM
тАО05-02-2012 05:21 AM
Re: SFTP ASCII file transfers to OPENVMS
Hoff,
I can confirm that both PuTTY and Filezilla work fine transferring files using sftp from Windoze.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2012 06:25 AM - edited тАО05-02-2012 06:29 AM
тАО05-02-2012 06:25 AM - edited тАО05-02-2012 06:29 AM
Re: SFTP ASCII file transfers to OPENVMS
> I can confirm that both PuTTY and Filezilla work fine transferring files using sftp from Windoze.
sftp can and should work here, and file corruptions are unintended misbehavior.
There are cases where corruptions have arisen and these have been reported.
Record formats within sequential files can be a more complex topic than might initially be recognized; RMS has various of these, as do other platforms.
I'm not aware of issues with the PuTTY and FileZilla clients. The errors I'm aware of have been with particular file combinations and the OpenVMS sftp server within at least some of the available TCP/IP Services versions.
Testing IP networking usually involves fairly extensive product matrices, and with clients on Windows and with non-Windows platforms.
See the included link for a discussion of the sftp corruptions with recent versions.