<?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: Openvms file attributes change after FTP transfer in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641785#M59552</link>
    <description>Hi IO,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I have just copied a tcpip patch file from UNIX host to VMS via FTP. &lt;BR /&gt;Was the file transferred in binary mode from UNIX to VMS ?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I cannot run it to decompress as the attributes changes.&lt;BR /&gt;What error message do you get now ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
    <pubDate>Thu, 03 Jun 2010 11:44:36 GMT</pubDate>
    <dc:creator>P Muralidhar Kini</dc:creator>
    <dc:date>2010-06-03T11:44:36Z</dc:date>
    <item>
      <title>Openvms file attributes change after FTP transfer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641782#M59549</link>
      <description>Dear forum,&lt;BR /&gt;&lt;BR /&gt;I have just copied a tcpip patch file from UNIX host to VMS via FTP. &lt;BR /&gt;I cannot run it to decompress as the attributes changes.&lt;BR /&gt;&lt;BR /&gt;Before: &lt;BR /&gt;-------- &lt;BR /&gt;DEC-AXPVMS-TCPIP-V0506-9ECO5-1.ZIPEXE;1 File ID: (45190,42,0) &lt;BR /&gt;Size: 85340/85351 Owner: [SYSTEM] &lt;BR /&gt;Created: 3-JUN-2010 18:52:36.69 &lt;BR /&gt;Revised: 3-JUN-2010 18:52:40.37 (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: 85351, Extend: 0, Global buffer count: 0 &lt;BR /&gt;No version limit &lt;BR /&gt;Record format: Variable length, maximum 0 bytes, longest 5299 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:RE, World: &lt;BR /&gt;Access Cntrl List: None &lt;BR /&gt;Client attributes: None &lt;BR /&gt;&lt;BR /&gt;Command: &lt;BR /&gt;-------- &lt;BR /&gt;SET FILE/ATTR=(RFM:FIX,MRS:512,LRL=512,ORG=SEQ,RAT=NONE)DEC-AXPVMS-TCPIP-V0506-9ECO5-1.ZIPEXE &lt;BR /&gt;&lt;BR /&gt;After: &lt;BR /&gt;------ &lt;BR /&gt;DEC-AXPVMS-TCPIP-V0506-9ECO5-1.ZIPEXE;1 File ID: (45190,42,0) &lt;BR /&gt;Size: 85340/85351 Owner: [SYSTEM] &lt;BR /&gt;Created: 3-JUN-2010 18:52:36.69 &lt;BR /&gt;Revised: 3-JUN-2010 19:08:30.96 (4) &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: 85351, Extend: 0, Global buffer count: 0 &lt;BR /&gt;No version limit &lt;BR /&gt;Record format: Fixed length 512 byte records &lt;BR /&gt;Record attributes: None &lt;BR /&gt;RMS attributes: None &lt;BR /&gt;Journaling enabled: None &lt;BR /&gt;File protection: System:RWED, Owner:RWED, Group:RE, World: &lt;BR /&gt;Access Cntrl List: None &lt;BR /&gt;Client attributes: None &lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 85340/85351 blocks. &lt;BR /&gt;&lt;BR /&gt;This file is from ITRC and release date is 05-mar-2010. &lt;BR /&gt;&lt;BR /&gt;Size:&lt;BR /&gt;dir /size DEC-AXPVMS-TCPIP-V0506-9ECO5-1.ZIPEXE&lt;BR /&gt;&lt;BR /&gt;Directory CARD$DKB1:[PATCHES]&lt;BR /&gt;&lt;BR /&gt;DEC-AXPVMS-TCPIP-V0506-9ECO5-1.ZIPEXE;1&lt;BR /&gt;                       85340&lt;BR /&gt;&lt;BR /&gt;Total of 1 file, 85340 blocks.&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot,&lt;BR /&gt;IO&lt;BR /&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NO&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NONE&gt;&lt;/NO&gt;&lt;/NONE&gt;</description>
      <pubDate>Thu, 03 Jun 2010 06:58:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641782#M59549</guid>
      <dc:creator>IS Ops account</dc:creator>
      <dc:date>2010-06-03T06:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms file attributes change after FTP transfer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641783#M59550</link>
      <description>IO,&lt;BR /&gt;&lt;BR /&gt;did you use FTP in binary mode explicitly ?&lt;BR /&gt;&lt;BR /&gt;I assume, that the .ZIPEXE file still does not run after changing the attributes. Could please post the error message ?&lt;BR /&gt;&lt;BR /&gt;Could you also attach a DUMP/BLOCK=COUNT=1/OUT=x.txt filename output as an attachment ?&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;BR /&gt;&lt;BR /&gt;For reference: discussion stared at the bottom of this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1417205" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1417205&lt;/A&gt;</description>
      <pubDate>Thu, 03 Jun 2010 07:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641783#M59550</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-06-03T07:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms file attributes change after FTP transfer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641784#M59551</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes, transferring the file in Binary mode should solve the problem. Are you able to install the kit, after modifying the attributes or after transferring the file in Binary mode?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;What I can see already is that the block size of this file is different from your example,&lt;BR /&gt;Are you specifying 85340/85351 as difference in block size here? &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ketan&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2010 07:27:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641784#M59551</guid>
      <dc:creator>Shriniketan Bhagwat</dc:creator>
      <dc:date>2010-06-03T07:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms file attributes change after FTP transfer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641785#M59552</link>
      <description>Hi IO,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I have just copied a tcpip patch file from UNIX host to VMS via FTP. &lt;BR /&gt;Was the file transferred in binary mode from UNIX to VMS ?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; I cannot run it to decompress as the attributes changes.&lt;BR /&gt;What error message do you get now ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Thu, 03 Jun 2010 11:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641785#M59552</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-06-03T11:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms file attributes change after FTP transfer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641786#M59553</link>
      <description>From the OpenVMS Alpha box (and presuming that the VMS box is not blocked from reaching the internet via ftp) issue the following DCL command:&lt;BR /&gt;&lt;BR /&gt;$ COPY /FTP /BINARY /ANONYMOUS -&lt;BR /&gt;ftp.itrc.hp.com::"/openvms_patches/layered_products/alpha/DEC-AXPVMS-TCPIP-V0506-9ECO5-1.ZIPEXE" - &lt;BR /&gt;DEC-AXPVMS-TCPIP-V0506-9ECO5-1.ZIPEXE&lt;BR /&gt;&lt;BR /&gt;Those hyphens are continuations; you might need to remove them.&lt;BR /&gt;&lt;BR /&gt;You'll have a copy of the TCP/IP Services patch that should decompress correctly, and directly on the OpenVMS box.</description>
      <pubDate>Thu, 03 Jun 2010 12:46:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641786#M59553</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-06-03T12:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms file attributes change after FTP transfer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641787#M59554</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I cannot run it to decompress as the&lt;BR /&gt;&amp;gt; attributes changes.&lt;BR /&gt;&lt;BR /&gt;"I cannot" is not a useful problem&lt;BR /&gt;description.  It does not say what you did.&lt;BR /&gt;It does not say what happened when you did&lt;BR /&gt;it.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I have just copied a tcpip patch file from&lt;BR /&gt;&amp;gt; UNIX host to VMS via FTP.&lt;BR /&gt;&lt;BR /&gt;How did it get to the UNIX host?  "copied&lt;BR /&gt;[...] via FTP" omits a few important details.&lt;BR /&gt;As usual, showing actual commands with their&lt;BR /&gt;actual output might be more helpful than&lt;BR /&gt;vague descriptions and interpretations.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Record format: Variable length, [...]&lt;BR /&gt;&lt;BR /&gt;That does not look like the result from a&lt;BR /&gt;binary FTP transfer.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; SET FILE/ATTR=(RFM:FIX,[...]&lt;BR /&gt;&lt;BR /&gt;Nice try, but you probably damaged more than&lt;BR /&gt;the attributes, so repairing the attributes&lt;BR /&gt;probably won't repair all the damage.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Yes, transferring the file in Binary mode&lt;BR /&gt;&amp;gt; should solve the problem.&lt;BR /&gt;&lt;BR /&gt;Only the original problem, not the lack of&lt;BR /&gt;useful information in the problem report.</description>
      <pubDate>Thu, 03 Jun 2010 13:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641787#M59554</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-06-03T13:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms file attributes change after FTP transfer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641788#M59555</link>
      <description>&lt;!--!*#--&gt;The issue is because Variable length record stores the record size before each record.&lt;BR /&gt;&lt;BR /&gt;I copied one zipexe file from OpenVMS machine to a windows machine and then ftp'ed it back.&lt;BR /&gt;Then I am able to see a similar issue.&lt;BR /&gt;&lt;BR /&gt;I also tried to repair the file using the command,&lt;BR /&gt;SET FILE/ATTR=(RFM:FIX,MRS:512,LRL=512,ORG=SEQ,RAT=NONE)DEC-AXPVMS-TCPIP-V0506-9ECO5-1.ZIPEXE &lt;BR /&gt;and it gave the same result.&lt;BR /&gt;&lt;BR /&gt;PUTTUR\SYSTEM&amp;gt;run VMS83A_COPY-V0300.ZIPEXE;&lt;BR /&gt;%DCL-W-ACTIMAGE, error activating image VMS83A_COPY-V0300.ZIPEXE;&lt;BR /&gt;-CLI-E-IMGNAME, image file $1$DKA0:[MASOOD.TEST]VMS83A_COPY-V0300.ZIPEXE;2&lt;BR /&gt;-IMGACT-F-NOTNATIVE, image is not an OpenVMS Alpha image&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From the dump/header of the file which I tested,&lt;BR /&gt;&lt;BR /&gt;RMS record attributes before ftp,&lt;BR /&gt;    VAX-11 RMS attributes&lt;BR /&gt;        Record type:                      Fixed&lt;BR /&gt;        File organization:                Sequential&lt;BR /&gt;        Record attributes:                &lt;NONE specified=""&gt;&lt;BR /&gt;        Record size:                      512&lt;BR /&gt;        Highest block:                    368&lt;BR /&gt;        End of file block:                355&lt;BR /&gt;        End of file byte:                 0&lt;BR /&gt;        Bucket size:                      0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;RMS record attributes after ftp, &lt;BR /&gt;    VAX-11 RMS attributes&lt;BR /&gt;        Record type:                      Variable&lt;BR /&gt;        File organization:                Sequential&lt;BR /&gt;        Record attributes:                Implied carriage control&lt;BR /&gt;        Record size:                      512&lt;BR /&gt;        Highest block:                    368&lt;BR /&gt;        End of file block:                356&lt;BR /&gt;        End of file byte:                 198&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So there is a difference in End of File Block (EBK) and End of File Byte (FFB) between the two files.&lt;BR /&gt;&lt;BR /&gt;In Fixed format files , there is no need to store the record size before each record.&lt;BR /&gt;But in Variable length the record size is stored before each record.&lt;BR /&gt;&lt;BR /&gt;here there are 355 records of 512 bytes each. &lt;BR /&gt;to store record size, 2 bytes are used. &lt;BR /&gt;So before each record 2 bytes will be used to store record size 512.&lt;BR /&gt;So 355 * 2 =710 byte are extra needed in variable length format.&lt;BR /&gt;710 = 512 + 198 , Thus the end of file byte is correctly stored at 198th byte in the next block.&lt;BR /&gt;because of this record header the file has become corrupted.&lt;BR /&gt;&lt;BR /&gt;So please ensure that to ftp Executable file you are using binary mode.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mashood  &lt;BR /&gt;&lt;/NONE&gt;</description>
      <pubDate>Thu, 03 Jun 2010 15:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641788#M59555</guid>
      <dc:creator>Mashood K</dc:creator>
      <dc:date>2010-06-03T15:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Openvms file attributes change after FTP transfer</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641789#M59556</link>
      <description>&lt;!--!*#--&gt;&amp;gt; The issue is because Variable length record&lt;BR /&gt;&amp;gt; stores the record size before each record.&lt;BR /&gt;&lt;BR /&gt;That's one way to look at it.  I find it&lt;BR /&gt;simpler to think of an ASCII FTP transfer&lt;BR /&gt;being inappropriate for non-text data.  Even&lt;BR /&gt;if the FTP software on the VMS system created&lt;BR /&gt;a Stream_LF file, it might still be corrupted&lt;BR /&gt;by a text-mode transfer.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I copied one zipexe file from OpenVMS&lt;BR /&gt;&amp;gt; machine to a windows machine and then&lt;BR /&gt;&amp;gt; ftp'ed it back.&lt;BR /&gt;&lt;BR /&gt;Copied _how_, exactly?  FTP'd _how_, exactly?&lt;BR /&gt;There are many ways to corrupt a file.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; As usual, showing actual commands with their&lt;BR /&gt;&amp;gt; actual output might be more helpful than&lt;BR /&gt;&amp;gt; vague descriptions and interpretations.&lt;BR /&gt;&lt;BR /&gt;That's as true for answers as it is for&lt;BR /&gt;questions.</description>
      <pubDate>Thu, 03 Jun 2010 20:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-file-attributes-change-after-ftp-transfer/m-p/4641789#M59556</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-06-03T20:03:16Z</dc:date>
    </item>
  </channel>
</rss>

