- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SCP or SFTP to copy binary files?
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
Forums
Discussions
Discussions
Discussions
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
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-11-2006 05:58 AM
05-11-2006 05:58 AM
Re: SCP or SFTP to copy binary files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 06:10 AM
05-11-2006 06:10 AM
Re: SCP or SFTP to copy binary files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 06:31 AM
05-11-2006 06:31 AM
Re: SCP or SFTP to copy binary files?
Yes, it actually does.
Before:
File Organization: sequential
Record Format: stream-LF
Record Attributes: carriage-return
Maximum Record Size: 0
Longest Record: 32767
After:
File Organization: sequential
Record Format: fixed
Record Attributes:
Maximum Record Size: 8192
Longest Record: 8192
Thanks for the syntax help.
Question: It would be difficult, though, to make this dynamic enough to handle every file organization. I guess I could store all the properties prior to copying the file, but that adds a higher level of complexity...
What say you?
Let me mull this over and report back here...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 06:55 AM
05-11-2006 06:55 AM
Re: SCP or SFTP to copy binary files?
$! p1 is the filename both local and remote
$ lrl = f$file(p1,"lrl")
$ mrs = f$file(p1,"mrs")
$ rfm = f$file(p1,"rfm")
$ rat = f$file(p1,"rat")
$ ssh host set file/attr=(lrl:'lrl',mrs:'mrs',rfm:'rfm','rat:'rat') 'p1'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 11:32 AM
05-11-2006 11:32 AM
Re: SCP or SFTP to copy binary files?
> and we will have to disable DECnet at some
> point.
I don't know if anything ever came of it,
but there was some discussion (comp.os.vms?)
of using Stunnel (or something similar) to
provide an encrypted (secure?) IP tunnel
through which DECnet-over-IP could be run.
If this could be made to work, it would seem
to be a way to provide (good old) DECnet
functionality while restricting the external
network to IP, and keeping all the raw bits
disguised at the same time.
Perhaps someone here remembers if a
satisfactory conclusion was ever reached on
making this concept work.
http://www.stunnel.org/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 08:20 PM
05-11-2006 08:20 PM
Re: SCP or SFTP to copy binary files?
http://h71000.www7.hp.com/opensource/opensource.html#stunnel
along with some documention. I have not seen anyone say they have used stunnel with DECnet/IP but its an interesting idea.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 11:19 PM
05-11-2006 11:19 PM
Re: SCP or SFTP to copy binary files?
HP: Please start supporting stunnel. Please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2006 01:50 AM
05-12-2006 01:50 AM
Re: SCP or SFTP to copy binary files?
What type of files are you really sending with your 30 nodes copying to a central site? I imagine PCSI files might be considered "special" containing both text and executables.
What's in your files?
We don't use HP TCPIP, but using TCPware sending to HPUX, I am able to SCP and/or SFTP ASCII files successfully (even though it says it's sending them in "binary").
Cheers,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2006 02:14 AM
05-12-2006 02:14 AM
Re: SCP or SFTP to copy binary files?
I send the following:
OPERATOR.LOG files
ACCOUNTNG.DAT files
PSDC*.CPD files (Performance advisor files)
ERRLOG.SYS files
SECURITY.AUDIT$JOURNAL files
some other text and third-party files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2006 02:20 AM
05-12-2006 02:20 AM
Re: SCP or SFTP to copy binary files?
Process Software's SSH for OpenVMS implements the text transfer operation and will communicate VMS attributes via the private format to the remote SFTP server when it recognizes that the remote SFTP server is capable of accepting them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2006 03:28 AM
05-12-2006 03:28 AM
Re: SCP or SFTP to copy binary files?
>What's in your files?
Just to elaborate - Some day soon all other protocols will be shut off and all users (developers, DBA's, admins etc) will have to exclusively use SSL. I'm anticipating the user community to start screaming "I can't copy such and such a file with SCP/SFTP successfully". I want to have a solution in place to be able to handle that complaint. So it really is any sort of binary file that is non-standard from an SSL/SSH perspective, which is many VMS/RMS binary files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2006 11:58 PM
05-14-2006 11:58 PM
Re: SCP or SFTP to copy binary files?
Hi Thomas,
In that case I would like to mention the Oracle Rdb backup files. If you are using the OpenSSH port from HP then you will certainly have issues with these files as it only supports fixed length 512 byte for binary files.
In my case the *.RBF files are fixed length 32256 byte records. A workaround may be to archive the files prior to transfer using ZIP.
Best regards,
Dave Laurier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2006 12:07 AM
05-15-2006 12:07 AM
Re: SCP or SFTP to copy binary files?
>Normally the PCSI files are in fixed length 512 bytes format so this should not give any problems.
>> They're fixed, but 8192 byte length. I guess thats why it doesn't work.
I see now that there are indeed different formats, at least at my test site:
DEC-AXPVMS-DFU-V0301--1.PCSI = Fixed length 512 byte records
DEC-AXPVMS-VMS732_UPDATE-V0600--4.PCSI = Fixed length 8192 byte records
So probably there is no guarantee that the PCSI files will always have the same format.
Best regards,
Dave Laurier
- « Previous
-
- 1
- 2
- Next »