<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: newbie having issues with sftp to VMS 8.3 in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631186#M59483</link>
    <description>O.k., so I did some research and testing and came up with this to go through and convert any file (newest versions only) to STREAM_LF.&lt;BR /&gt;&lt;BR /&gt;The search script that was posted returned any version of the file that was not stream_lf and when I added CONVERT to it, and ran it, it made a new file.&lt;BR /&gt;&lt;BR /&gt;But, because it was searching for any version of the file that was not stream_lf, it would make a new file every time I ran it.&lt;BR /&gt;&lt;BR /&gt;Here is the script:&lt;BR /&gt;&lt;BR /&gt;$!                                              9 November 2006.  SMS.&lt;BR /&gt;$!    Changes found files to Stream_LF format - 16 May 2010. EQ.&lt;BR /&gt;$!&lt;BR /&gt;$!    Find non-directory files matching P1 which are not&lt;BR /&gt;$!    Record format: Stream_LF.&lt;BR /&gt;$!&lt;BR /&gt;$!&lt;BR /&gt;$ if (p1 .eqs. "")&lt;BR /&gt;$ then&lt;BR /&gt;$    p1 = "[...]*.*;*"&lt;BR /&gt;$ endif&lt;BR /&gt;$!&lt;BR /&gt;$ file = f$search(p1)&lt;BR /&gt;$ file_old = file&lt;BR /&gt;$ file_name = (f$parse(file,,,"NAME")-"^;")&lt;BR /&gt;$ file_name_old = file_name&lt;BR /&gt;$! &lt;BR /&gt;$ loop_top:&lt;BR /&gt;$!&lt;BR /&gt;$    file = f$search(p1)&lt;BR /&gt;$!   write sys$output "''FID' ''file'"&lt;BR /&gt;$    file_name = (f$parse(file,,,"NAME")-"^;")&lt;BR /&gt;$    if (file_name_old .eqs. "") then goto loop_end&lt;BR /&gt;$    if (file_name .eqs. file_name_old) then goto loop_top&lt;BR /&gt;$!&lt;BR /&gt;$    if (.not. f$file_attributes( file_old, "DIRECTORY"))&lt;BR /&gt;$    then&lt;BR /&gt;$!&lt;BR /&gt;$       rfm = f$file_attributes( file_old, "RFM")&lt;BR /&gt;$       if (rfm .nes. "STMLF")&lt;BR /&gt;$       then&lt;BR /&gt;$          write sys$output "''FID' ''file_old'"&lt;BR /&gt;$          CONVERT/FDL=STREAM_LF.FDL 'file_name_old' 'file_name_old'&lt;BR /&gt;$       endif&lt;BR /&gt;$!&lt;BR /&gt;$    endif&lt;BR /&gt;$    file_old = file&lt;BR /&gt;$    file_name_old = file_name&lt;BR /&gt;$!&lt;BR /&gt;$ goto loop_top&lt;BR /&gt;$!&lt;BR /&gt;$ loop_end:&lt;BR /&gt;$!&lt;BR /&gt;&lt;BR /&gt;And you will also need to make a STREAM_LF.FDL file with this in it:&lt;BR /&gt;&lt;BR /&gt;FILE&lt;BR /&gt;   ALLOCATION           4&lt;BR /&gt;   BEST_TRY_CONTIGUOUS  yes&lt;BR /&gt;   EXTENSION            0&lt;BR /&gt;   ORGANIZATION         sequential&lt;BR /&gt;&lt;BR /&gt;RECORD&lt;BR /&gt;   BLOCK_SPAN           yes&lt;BR /&gt;   FORMAT               stream_LF&lt;BR /&gt;   SIZE                 0&lt;BR /&gt;</description>
    <pubDate>Sun, 16 May 2010 21:29:36 GMT</pubDate>
    <dc:creator>Ethan Queen</dc:creator>
    <dc:date>2010-05-16T21:29:36Z</dc:date>
    <item>
      <title>newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631165#M59462</link>
      <description>I have been having a very annoying probelm when trying to upload files via sftp from multiple Windows machines to a VMS 8.3 system.&lt;BR /&gt;&lt;BR /&gt;Most sftp clients will send the file, but when I open them up on the VMS system, they automagically have pages and pages of blank space in the files.&lt;BR /&gt;&lt;BR /&gt;The blank space isn't added at the end of the file, it is inserted in different areas in the middle of the file. this makes compiling programs impossible until I manually go in and delete all the blank space.&lt;BR /&gt;&lt;BR /&gt;SmartFTP won't even finish sending a file. It dies at ~7k.&lt;BR /&gt;&lt;BR /&gt;I have tried about 8 different sftp clients all with the same results. I have tried encrypted/non-encrypted, binary, text.&lt;BR /&gt;&lt;BR /&gt;I have verified that it has something to do with transferring the file itself, as I can download a clean file, and the re-upload it, and it will grow in size and have blank space as soon as i re-upload it.&lt;BR /&gt;&lt;BR /&gt;What could be the problem?</description>
      <pubDate>Mon, 10 May 2010 17:32:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631165#M59462</guid>
      <dc:creator>Ethan Queen</dc:creator>
      <dc:date>2010-05-10T17:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631166#M59463</link>
      <description>Ethan,&lt;BR /&gt;&lt;BR /&gt;Welcome to the HP ITRC OpenVMS Forum.&lt;BR /&gt;&lt;BR /&gt;Precisely what commands are you using? Are you sure that you are transferring the file as a text file?&lt;BR /&gt;&lt;BR /&gt;Have you tried ZIPing the file on Windows, transferring the ZIP archive, and then UNZIPing the file on OpenVMS?&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 10 May 2010 17:58:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631166#M59463</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2010-05-10T17:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631167#M59464</link>
      <description>Yes, I know I have tried transferring as both text and binary.&lt;BR /&gt;&lt;BR /&gt;I will try the whole zipping and unzipping thing, but that seems like an extra step/waste of time that I should never have to take.</description>
      <pubDate>Mon, 10 May 2010 18:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631167#M59464</guid>
      <dc:creator>Ethan Queen</dc:creator>
      <dc:date>2010-05-10T18:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631168#M59465</link>
      <description>I don't know anything about sftp, but my impression is that other users of this forum use sftp successfully.&lt;BR /&gt;&lt;BR /&gt;I am intrigued by your description of "blank space" inserted into the middle of binary files.  Have you examined the corrupted file with DUMP?  Are NULLs inserted?  Or blanks?  Or &lt;CR&gt;&lt;LF&gt;s?  Is it the same kind of corruption in both text and binary files?&lt;BR /&gt;&lt;BR /&gt;How long does a file have to be to get corrupted?  Does an 80-byte (for example) text or binary file get corrupted?&lt;BR /&gt;&lt;BR /&gt;What is the file type and record format of the corrupted file?  Is it the same as the original file (in a VMS to windows to VMS transfer sequence)?  ($ DIRECTORY/FULL filename).&lt;BR /&gt;&lt;/LF&gt;&lt;/CR&gt;</description>
      <pubDate>Mon, 10 May 2010 18:27:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631168#M59465</guid>
      <dc:creator>RBrown_1</dc:creator>
      <dc:date>2010-05-10T18:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631169#M59466</link>
      <description>00000000 00000000 00000000 00000000 &lt;BR /&gt;................ 000110&lt;BR /&gt;&lt;BR /&gt;Above is an example of what the blank space looks like when I dump the file.&lt;BR /&gt;&lt;BR /&gt;Also, i just found out by accident that if i upload the same file to a different directory it doesn't add the blank space.&lt;BR /&gt;&lt;BR /&gt;hrmmm.... it looks like it might be something with how versioning is set up. If I rename the same file and then upload it to the original directory it was in, it doesn't add the blank space... even if I upload it multiple times in order to make it add version numbers to the end of the file name.&lt;BR /&gt;&lt;BR /&gt;Versioning is set up so version one ends with ;1, version 2 is ;2, etc.</description>
      <pubDate>Mon, 10 May 2010 20:39:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631169#M59466</guid>
      <dc:creator>Ethan Queen</dc:creator>
      <dc:date>2010-05-10T20:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631170#M59467</link>
      <description>&lt;!--!*#--&gt;&amp;gt; a VMS 8.3 system.&lt;BR /&gt;&lt;BR /&gt;      TCPIP SHOW VERSION&lt;BR /&gt;&lt;BR /&gt;or some corresponding thing for whichever&lt;BR /&gt;IP product you're using.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] Windows [..]&lt;BR /&gt;&lt;BR /&gt;Which Windows?  Which SSH/SFTP software?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; SmartFTP [...]&lt;BR /&gt;&lt;BR /&gt;There's more than one version of that, too.&lt;BR /&gt;&lt;BR /&gt;And probably more than one way to do anything&lt;BR /&gt;with any of them.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] pages and pages of blank space in the&lt;BR /&gt;&amp;gt; files.&lt;BR /&gt;&lt;BR /&gt;Not a particularly useful description.&lt;BR /&gt;&lt;BR /&gt;      DIRE /FULL destination_file&lt;BR /&gt;&lt;BR /&gt;DUMP might reveal something interesting, but&lt;BR /&gt;perhaps not worth the bother.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I have tried about 8 different sftp clients&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;Again, not a particularly useful description,&lt;BR /&gt;but it would suggest that the problem may lie&lt;BR /&gt;with the server.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; What could be the problem?&lt;BR /&gt;&lt;BR /&gt;Almost anything?&lt;BR /&gt;&lt;BR /&gt;Around here, I lack Windows, but I had no&lt;BR /&gt;trouble moving a text file of some size from&lt;BR /&gt;an HP-UX system to my main VMS system:&lt;BR /&gt;&lt;BR /&gt;dyi # sftp sms@alp&lt;BR /&gt;Connecting to alp...&lt;BR /&gt;&lt;BR /&gt;@ SYS$MANAGER:ANNOUNCE.TXT&lt;BR /&gt;sftp&amp;gt; put zipfile.c&lt;BR /&gt;Uploading zipfile.c to /ALP$DKA0/SMS/zipfile.c&lt;BR /&gt;zipfile.c                           100%  220KB  73.4KB/s  96.0KB/s   00:03&lt;BR /&gt;sftp&amp;gt; quit&lt;BR /&gt;dyi #&lt;BR /&gt;&lt;BR /&gt;alp $ diff zipfile.c ALP$DKA0:[UTILITY.SOURCE.ZIP.zip31c02]&lt;BR /&gt;Number of difference sections found: 0&lt;BR /&gt;Number of difference records found: 0&lt;BR /&gt;&lt;BR /&gt;DIFFERENCES /IGNORE=()/MERGED=1-&lt;BR /&gt;    ALP$DKA0:[SMS]ZIPFILE.C;1-&lt;BR /&gt;    ALP$DKA0:[UTILITY.SOURCE.ZIP.ZIP31C02]ZIPFILE.C;2&lt;BR /&gt;&lt;BR /&gt;(Which is where it came from originally.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;dyi # uname -a&lt;BR /&gt;HP-UX dyi B.11.31 U ia64 4235313755 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;dyi # ssh -V&lt;BR /&gt;OpenSSH_5.2p1+sftpfilecontrol-v1.3-hpn13v5, OpenSSL 0.9.8k 25 Mar 2009&lt;BR /&gt;HP-UX Secure Shell-A.05.20.015, HP-UX Secure Shell version&lt;BR /&gt;&lt;BR /&gt;ALP $ tcpip show version&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.6 - ECO 5&lt;BR /&gt;  on a COMPAQ Professional Workstation XP1000 running OpenVMS V8.3&lt;BR /&gt;&lt;BR /&gt;alp $ ssh "-V"&lt;BR /&gt;alp$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: SSH Secure Shell OpenVMS (&lt;BR /&gt;V5.5) 3.2.0 on COMPAQ Professional Workstation  - VMS V8.3</description>
      <pubDate>Mon, 10 May 2010 20:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631170#M59467</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-05-10T20:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631171#M59468</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Versioning is set up so version one ends&lt;BR /&gt;&amp;gt; with ;1, version 2 is ;2, etc.&lt;BR /&gt;&lt;BR /&gt;Yeah, that's VMS.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] If I rename the same file [...]&lt;BR /&gt;&lt;BR /&gt;Ah.  Not unusual behavior for a UNIX-like&lt;BR /&gt;program on a VMS system.  I ran into it with&lt;BR /&gt;GnuPG.  As the notes there say, ...&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;   GPG normally resists overwriting an existing output file, prompting&lt;BR /&gt;an interactive user with a question like: "File `name.type' exists.&lt;BR /&gt;Overwrite? (y/N)".  "Overwrite" may appear to be safe, because a new&lt;BR /&gt;file version will be created instead of actually overwriting the&lt;BR /&gt;existing file.  However, if the existing file has non-UNIX-like&lt;BR /&gt;attributes ("Record format: Variable length", for example), then the new&lt;BR /&gt;file will inherit the attributes of the old file, and the result may be&lt;BR /&gt;a corrupt file, because the UNIX-like GPG code writes its output in ways&lt;BR /&gt;which do not conform to the original file's record structure. &lt;BR /&gt;Overwriting a Stream_LF file should be harmless.&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;I haven't observed this when using SCP/SFTP&lt;BR /&gt;(et al.), but it sure sounds like the same&lt;BR /&gt;syndrome.  Everything's complicated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://antinode.info/ftp/gnupg/gnupg-1_4_10a_vms/vms_notes.txt" target="_blank"&gt;http://antinode.info/ftp/gnupg/gnupg-1_4_10a_vms/vms_notes.txt&lt;/A&gt;</description>
      <pubDate>Mon, 10 May 2010 20:52:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631171#M59468</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-05-10T20:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631172#M59469</link>
      <description>HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.6 - ECO 2&lt;BR /&gt;  on an HP rx2600  (1.40GHz/1.5MB) running OpenVMS V8.3&lt;BR /&gt;&lt;BR /&gt;I have tried from both XP Pro 32-bit and Windows 7 Ultimate x64.&lt;BR /&gt;&lt;BR /&gt;SSH/SFTP software I have tried (all latest versions)&lt;BR /&gt;&lt;BR /&gt;WinSCP 4.2.7&lt;BR /&gt;Bitvise Tunnelier 4.33&lt;BR /&gt;BitKinex 3.1.1&lt;BR /&gt;AnyClient 2.0&lt;BR /&gt;FileZilla 3.3.2&lt;BR /&gt;SmartFTP 4.0.1108.0&lt;BR /&gt;&lt;BR /&gt;I think there was 1 or 2 more, but I unustalled them and deleted the installers because the interface was horrid.&lt;BR /&gt;&lt;BR /&gt;NEWCGI.C;688                  File ID:  (42787,38,0)&lt;BR /&gt;Size:           65/72         Owner:    [CSM,KAYCEE]&lt;BR /&gt;Created:    10-MAY-2010 16:09:56.75&lt;BR /&gt;Revised:     8-MAY-2010 19:18:05.00 (1)&lt;BR /&gt;Expires:    &lt;NONE specified=""&gt;&lt;BR /&gt;Backup:     &lt;NO backup="" recorded=""&gt;&lt;BR /&gt;Effective:  &lt;NONE specified=""&gt;&lt;BR /&gt;Recording:  &lt;NONE specified=""&gt;&lt;BR /&gt;Accessed:   &lt;NONE specified=""&gt;&lt;BR /&gt;Attributes: &lt;NONE specified=""&gt;&lt;BR /&gt;Modified:   &lt;NONE specified=""&gt;&lt;BR /&gt;Linkcount:  1&lt;BR /&gt;File organization:  Sequential&lt;BR /&gt;Shelved state:      Online&lt;BR /&gt;Caching attribute:  Writethrough&lt;BR /&gt;File attributes:    Allocation: 72, Extend: 0, Global buffer count: 0&lt;BR /&gt;                    No version limit&lt;BR /&gt;Record format:      Variable length, maximum 0 bytes, longest 108 bytes&lt;BR /&gt;Record attributes:  Carriage return carriage control&lt;BR /&gt;RMS attributes:     None&lt;BR /&gt;Journaling enabled: None&lt;BR /&gt;File protection:    System:RWED, Owner:RWED, Group:RWED, World:R&lt;BR /&gt;Access Cntrl List:  None&lt;BR /&gt;Client attributes:  None&lt;BR /&gt;&lt;BR /&gt;The second part where yo mention about it inheriting the file attributes kind of makes sense, but doesn't since the file will corrupt if I download it and then re-upload it without changing anything.&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NO&gt;&lt;/NONE&gt;</description>
      <pubDate>Mon, 10 May 2010 21:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631172#M59469</guid>
      <dc:creator>Ethan Queen</dc:creator>
      <dc:date>2010-05-10T21:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631173#M59470</link>
      <description>I suspect the problem is encoding or file format.&lt;BR /&gt;&lt;BR /&gt;Ok, you're on Windows, which means you have RTF and a whole pile of Microsoft formats and encodings at your disposal, and who knows what format this source code is in.  &lt;BR /&gt;&lt;BR /&gt;Sequential formats are sometimes transferable, but surprisingly often not.  I'm wondering if the file formats involved here on Windows just aren't (entirely) readable by OpenVMS using its standard tools.  &lt;BR /&gt;&lt;BR /&gt;And there are about a gazillion encodings around, and VMS is only marginally able to deal with ISO Latin 1 (ISO-8859-1) at best; that's fairly similar to MCS.  Get one of the UTF encodings or RTF formats in play, and all bets are off.&lt;BR /&gt;&lt;BR /&gt;What Microsoft calls MS-DOS line endings or a stream file are probably the closest encodings to what OpenVMS expects.&lt;BR /&gt;&lt;BR /&gt;I'd suggest the xxd tool or other such  file dump tools on the source box and have a look at the first block or two of the source file on the originating platform, but this is Microsoft Windows and the command-level tools over there are increasingly unfamiliar. &lt;BR /&gt;&lt;BR /&gt;And FWIW, one of the few Microsoft Windows file transfer tools that deals reasonably well with the oddities around OpenVMS is Filezilla.  But my guess here is that you're getting in trouble at a lower level than the transfer itself.&lt;BR /&gt;&lt;BR /&gt;You mention differences when pulling down and then pushing up these source files; are you doing that so that you can edit the files?  Or is there some other reason?   And what tools are editing and modifying the files during their stay on the Windows box?&lt;BR /&gt;</description>
      <pubDate>Mon, 10 May 2010 21:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631173#M59470</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-05-10T21:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631174#M59471</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] Version V5.6 - ECO 2 [...]&lt;BR /&gt;&lt;BR /&gt;Not the latest, but I wouldn't expect a newer&lt;BR /&gt;one to fix this problem.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Record format: Variable length, [...]&lt;BR /&gt;&lt;BR /&gt;That would do it.  Like GnuPG, I'd guess that&lt;BR /&gt;the SFTP server thinks that (or acts as if)&lt;BR /&gt;it's writing a Stream_LF file (which, I'd&lt;BR /&gt;guess, is what you get if there's no existing&lt;BR /&gt;file).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] but doesn't since the file will&lt;BR /&gt;&amp;gt; corrupt if I download it and then re-upload&lt;BR /&gt;&amp;gt; it without changing anything.&lt;BR /&gt;&lt;BR /&gt;I don't know which way is up (or down).  As&lt;BR /&gt;(I understand what) you said, if you create a&lt;BR /&gt;fresh file (and not a new version of an&lt;BR /&gt;existing non-Stream_LF file), then it works,&lt;BR /&gt;and if you create a new version of an&lt;BR /&gt;existing non-Stream_LF file, then it fails.&lt;BR /&gt;That sounds to me exactly like what I said.</description>
      <pubDate>Mon, 10 May 2010 22:02:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631174#M59471</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-05-10T22:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631175#M59472</link>
      <description>Yeah, I thought about it more.. and what you said makes sense.&lt;BR /&gt;&lt;BR /&gt;Is there any way to change the record type of an existing file? If so, can I change all the files in a directory at the same time?</description>
      <pubDate>Mon, 10 May 2010 22:30:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631175#M59472</guid>
      <dc:creator>Ethan Queen</dc:creator>
      <dc:date>2010-05-10T22:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631176#M59473</link>
      <description>&lt;!--!*#--&gt;If I use a text editor to create a "Record&lt;BR /&gt;format: Variable length" file on my VMS&lt;BR /&gt;system, and then use SFTP to "overwrite" it,&lt;BR /&gt;I get junk (as expected/feared):&lt;BR /&gt;&lt;BR /&gt;alp $ rename ZIPFILE.C;* ZIPFILE.C_one;*&lt;BR /&gt;alp $ edit /tpu ZIPFILE.C&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;dyi # sftp sms@alp&lt;BR /&gt;Connecting to alp...&lt;BR /&gt;&lt;BR /&gt;@ SYS$MANAGER:ANNOUNCE.TXT&lt;BR /&gt;sftp&amp;gt; put zipfile.c&lt;BR /&gt;Uploading zipfile.c to /ALP$DKA0/SMS/zipfile.c&lt;BR /&gt;zipfile.c                           100%  220KB  73.4KB/s  96.0KB/s   00:03&lt;BR /&gt;sftp&amp;gt; quit&lt;BR /&gt;dyi #&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;alp $ diff zipfile.c ALP$DKA0:[UTILITY.SOURCE.ZIP.zip31c02]&lt;BR /&gt;%DIFF-F-READERR, error reading ALP$DKA0:[SMS]ZIPFILE.C;2&lt;BR /&gt;-RMS-W-RTB, 30068 byte record too large for user's buffer&lt;BR /&gt;&lt;BR /&gt;Looks (to me) exactly like the GnuPG&lt;BR /&gt;syndrome.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] download [...] re-upload [...]&lt;BR /&gt;&lt;BR /&gt;If you fetch a "Record format: Variable&lt;BR /&gt;length" file from the VMS system, the SFTP&lt;BR /&gt;server may be able to _read_ the thing&lt;BR /&gt;properly, so you could get good text at a&lt;BR /&gt;non-VMS system, but that won't help you if&lt;BR /&gt;you ask the SFTP server to "overwrite" the&lt;BR /&gt;thing on the VMS server.  This is one of the&lt;BR /&gt;problems with using UNIX-like code on a VMS&lt;BR /&gt;system.&lt;BR /&gt;&lt;BR /&gt;In my case, this is an ODS5 disk, and the&lt;BR /&gt;SFTP server doesn't even preserve the&lt;BR /&gt;original (lower) case of the file name.  When&lt;BR /&gt;dealing with TCPIP, low expectations can be&lt;BR /&gt;more realistic than high ones.</description>
      <pubDate>Mon, 10 May 2010 22:33:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631176#M59473</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-05-10T22:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631177#M59474</link>
      <description>Hoff - I am using VS-2010 to do the editing, but as i said before, it doesn't matter if I even edit the files or not.</description>
      <pubDate>Mon, 10 May 2010 22:43:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631177#M59474</guid>
      <dc:creator>Ethan Queen</dc:creator>
      <dc:date>2010-05-10T22:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631178#M59475</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Is there any way to change the record type&lt;BR /&gt;&amp;gt; of an existing file?&lt;BR /&gt;&lt;BR /&gt;You can convert it.  I use this:&lt;BR /&gt;&lt;BR /&gt;ALP $ type utility:cnvstmlf.com&lt;BR /&gt;$!                                              12 December 1999.  SMS.&lt;BR /&gt;$!&lt;BR /&gt;$!    CONVERT a file to StreamLF record format.&lt;BR /&gt;$!&lt;BR /&gt;$ convert 'p1' 'p2' /fdl = sys$input:&lt;BR /&gt;RECORD&lt;BR /&gt;        FORMAT stream_lf&lt;BR /&gt;$!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I usually do something like:&lt;BR /&gt;&lt;BR /&gt;      @ utility:cnvstmlf.com zipfile.c zipfile.c&lt;BR /&gt;&lt;BR /&gt;Note that that'll create a new version of the&lt;BR /&gt;old file (with the desired record format),&lt;BR /&gt;without destroying the original.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; If so, can I change all the files in a&lt;BR /&gt;&amp;gt; directory at the same time?&lt;BR /&gt;&lt;BR /&gt;I could write a short procedure, but I know&lt;BR /&gt;of no single command.</description>
      <pubDate>Mon, 10 May 2010 22:44:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631178#M59475</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-05-10T22:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631179#M59476</link>
      <description>Ethan,&lt;BR /&gt;&lt;BR /&gt;I don't have Visual Studio loaded here at the moment. In Word, the file type you are looking for is "Plain Text".&lt;BR /&gt;&lt;BR /&gt;One way is to look at the file from an C:\&amp;gt; prompt on Windows. Use the more utility, to wit:&lt;BR /&gt;&lt;BR /&gt;    more &lt;FILENAME&gt;&lt;/FILENAME&gt;&lt;BR /&gt;If the file has a lot of nonsense, then it is one of the non-text Microsoft formats (.DOC, .DOCX, and a large number of others). By contrast, a plain text file will display correctly using "more").&lt;BR /&gt;&lt;BR /&gt;I would create a test file using Word or Wordpad, saving the file as "Plain Text" and try uploading that to the OpenVMS system as a test.&lt;BR /&gt;&lt;BR /&gt;I also seem to recall that there have been some tools done to ease development in this context, but they may not be justified by your situation.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Mon, 10 May 2010 22:55:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631179#M59476</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2010-05-10T22:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631180#M59477</link>
      <description>Getting the Microsoft IDE involved is probably not going to have the most desired outcome barring aftermarket format conversions; the Microsoft native file formats and encodings (with the exception of a couple of the most primitive among these) are generally not compatible with OpenVMS.&lt;BR /&gt;&lt;BR /&gt;NetBeans and Eclipse are IDE options for use with OpenVMS.&lt;BR /&gt;&lt;BR /&gt;The former is provided by HP, the latter by eCube Systems.&lt;BR /&gt;&lt;BR /&gt;Other possibilities (and I've not checked to see if either of these provides the requisite conversions) is the Windows client for DECset CMS, and there's always Mercurial.&lt;BR /&gt;</description>
      <pubDate>Mon, 10 May 2010 23:47:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631180#M59477</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-05-10T23:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631181#M59478</link>
      <description>The MS Visual Studio IDE save pretty much in plain text format as far as I can tell.&lt;BR /&gt;&lt;BR /&gt;I very much doubt it would get much use at all if it didn't as most files need to be cross-platform and not have any issues with opening on different systems or in different editors/IDEs.&lt;BR /&gt;&lt;BR /&gt;Using more on a file saved with VS2010 dispalys properly.&lt;BR /&gt;&lt;BR /&gt;With the MS IDE, I have pretty much all I need which is syntax checking for whatever files I am working on.... html, js, c, css, etc. And it has a nice layout and very good funtionality.&lt;BR /&gt;&lt;BR /&gt;As for NetBeans or Eclipse... i have tried them in the past and do not like them as much as the MS IDE.. and NetBeans is written in Java... and though it may be better then it used to be, I am not too keen on using a Java based IDE.&lt;BR /&gt;&lt;BR /&gt;Thanks for all the help and info. I am going to see if we can set the server up to auto change the file to stream-lf when saved on the server.&lt;BR /&gt;&lt;BR /&gt;Other then that, everything is working great.</description>
      <pubDate>Tue, 11 May 2010 03:59:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631181#M59478</guid>
      <dc:creator>Ethan Queen</dc:creator>
      <dc:date>2010-05-11T03:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631182#M59479</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] I use this:&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;To find them, I use this:&lt;BR /&gt;&lt;BR /&gt;ALP $ type utility:non-stmlf.com&lt;BR /&gt;$!                                              9 November 2006.  SMS.&lt;BR /&gt;$!&lt;BR /&gt;$!    Find non-directory files matching P1 which are not&lt;BR /&gt;$!    Record format: Stream_LF.&lt;BR /&gt;$!&lt;BR /&gt;$!&lt;BR /&gt;$ if (p1 .eqs. "")&lt;BR /&gt;$ then&lt;BR /&gt;$    p1 = "[...]*.*;*"&lt;BR /&gt;$ endif&lt;BR /&gt;$!&lt;BR /&gt;$ file_old = ""&lt;BR /&gt;$ loop_top:&lt;BR /&gt;$!&lt;BR /&gt;$    file = f$search( p1)&lt;BR /&gt;$    if ((file .eqs. "") .or. (file .eqs. file_old)) then goto loop_end&lt;BR /&gt;$!&lt;BR /&gt;$    file_old = file&lt;BR /&gt;$    if (.not. f$file_attributes( file, "DIRECTORY"))&lt;BR /&gt;$    then&lt;BR /&gt;$!&lt;BR /&gt;$       rfm = f$file_attributes( file, "RFM")&lt;BR /&gt;$       if (rfm .nes. "STMLF")&lt;BR /&gt;$       then&lt;BR /&gt;$          write sys$output "''rfm' ''file'"&lt;BR /&gt;$       endif&lt;BR /&gt;$!&lt;BR /&gt;$    endif&lt;BR /&gt;$!&lt;BR /&gt;$ goto loop_top&lt;BR /&gt;$!&lt;BR /&gt;$ loop_end:&lt;BR /&gt;$!&lt;BR /&gt;ALP $&lt;BR /&gt;&lt;BR /&gt;which could be adapted to do some automatic&lt;BR /&gt;conversion, if you're careful.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When I work on an open-source project, I try&lt;BR /&gt;to remember to keep all my source files in&lt;BR /&gt;Stream_LF format, to avoid problems with&lt;BR /&gt;portability to non-VMS systems, lame Web&lt;BR /&gt;servers, lame FTP servers, and so on.  In&lt;BR /&gt;general, programs like UnZip and VMSTAR will&lt;BR /&gt;(or can be persuaded to) create Stream_LF&lt;BR /&gt;files.  The problem comes when using a text&lt;BR /&gt;editor to create a new file.  I've tried to&lt;BR /&gt;train myself to copy an old (Stream_LF) file&lt;BR /&gt;when creating a new one, but when I forget to&lt;BR /&gt;do that, I (hope to remember to) run&lt;BR /&gt;non-stmlf.com on the whole mess to see what I&lt;BR /&gt;missed.  It'd be nice if there were a simple&lt;BR /&gt;way to get an editor to default to the&lt;BR /&gt;preferred record format, but I'm unaware of&lt;BR /&gt;any.</description>
      <pubDate>Tue, 11 May 2010 04:00:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631182#M59479</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-05-11T04:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631183#M59480</link>
      <description>The statement "The MS Visual Studio IDE save pretty much in plain text format as far as I can tell." (sorry!)  and the reported symptoms and the use of Microsoft Windows software and tools taken together can imply that the formats and encodings are anything but plain text.&lt;BR /&gt;&lt;BR /&gt;Look at the file formats and at the character encodings.   &lt;BR /&gt;&lt;BR /&gt;This consideration is something that isn't necessary when doing work on homogeneous platforms, but becomes an issue when moving files around.&lt;BR /&gt;&lt;BR /&gt;If you toss a UTF-8 linefeed-terminated sequential file at OpenVMS (stream LF records), it'll work until it hits some Unicode and it'll spew.  Microsoft Windows knows from newer formats and encodings.  OpenVMS doesn't.&lt;BR /&gt;&lt;BR /&gt;Create a simple Hello, World with a half dozen to a dozen lines of C on VMS using VMS tools; something small and manageable.&lt;BR /&gt;&lt;BR /&gt;Transfer it.&lt;BR /&gt;&lt;BR /&gt;Rustle up a port of xxd or Cygwin with xxd or a Windows native data dump tool and have a look at the data in the file as it arrives on the Windows box.   Compare that with the source dump using the VMS DUMP command.&lt;BR /&gt;&lt;BR /&gt;You'll also want to use a file differences tool to compare the file transferred onto Windows with a copy of the file saved out of the Windows application.  &lt;BR /&gt;&lt;BR /&gt;Yes, both NetBeans and Eclipse are Java.  They do both work with VMS.  I haven't heard of a plug-in for the Microsoft IDE for doing OpenVMS work. &lt;BR /&gt;</description>
      <pubDate>Tue, 11 May 2010 12:34:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631183#M59480</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-05-11T12:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: newbie having issues with sftp to VMS 8.3</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631184#M59481</link>
      <description>&lt;!--!*#--&gt;&amp;gt; The statement [...]&lt;BR /&gt;&lt;BR /&gt;_Whose_ statement?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] the reported symptoms [...]&lt;BR /&gt;&lt;BR /&gt;Reported by whom?&lt;BR /&gt;&lt;BR /&gt;I've shown how to produce what appears to be&lt;BR /&gt;similar file corruption without involving any&lt;BR /&gt;Windows system or any Microsoft software,&lt;BR /&gt;only an HP-UX system and a plain ".c" file.&lt;BR /&gt;&lt;BR /&gt;While it may be easy to find exotic file&lt;BR /&gt;formats on a Windows system, I really don't&lt;BR /&gt;see any hint here (from the fellow with the&lt;BR /&gt;problem) that he's dealing with anything&lt;BR /&gt;other than plain text.  You certainly don't&lt;BR /&gt;need anything exotic to get the TCPIP SFTP&lt;BR /&gt;server to corrupt a file this way.&lt;BR /&gt;&lt;BR /&gt;You can bark up any tree you choose, but I&lt;BR /&gt;think that mine has a tastier critter in it.</description>
      <pubDate>Tue, 11 May 2010 13:00:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/newbie-having-issues-with-sftp-to-vms-8-3/m-p/4631184#M59481</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-05-11T13:00:38Z</dc:date>
    </item>
  </channel>
</rss>

