<?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 FTP script for transferring files from OpenVMS to Unix server in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945084#M35439</link>
    <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;I want to create a ftp script to transfer files from OpenVMS to Solaris server. &lt;BR /&gt;Since I haven't done scripting before I am stuck up.&lt;BR /&gt;&lt;BR /&gt;Does any one have any script that is used to do the needfull.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Feb 2007 05:31:52 GMT</pubDate>
    <dc:creator>Tejas J Raval</dc:creator>
    <dc:date>2007-02-15T05:31:52Z</dc:date>
    <item>
      <title>FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945084#M35439</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;I want to create a ftp script to transfer files from OpenVMS to Solaris server. &lt;BR /&gt;Since I haven't done scripting before I am stuck up.&lt;BR /&gt;&lt;BR /&gt;Does any one have any script that is used to do the needfull.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2007 05:31:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945084#M35439</guid>
      <dc:creator>Tejas J Raval</dc:creator>
      <dc:date>2007-02-15T05:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945085#M35440</link>
      <description>Tejas,&lt;BR /&gt;&lt;BR /&gt;While I cannot take the time to write the script for you, I can refer you to the appropriate places to get the information.&lt;BR /&gt;&lt;BR /&gt;First, the OpenVMS documentation set is online at &lt;A href="http://www.hp.com/go/openvms" target="_blank"&gt;http://www.hp.com/go/openvms&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Second, presuming that you are using the HP IP stack, then you will find that the FTP command will has a variety of command line options, including USERNAME, PASSWORD, and INPUT. These allow you to script the actual FTP session. Combined with the facilities in DCL (the OpenVMS command language and scripting facility) you can perform extensive processing. PERL and other tools are also available for OpenVMS and may be on your system.&lt;BR /&gt;&lt;BR /&gt;There have also been a variety of presentations on writing scripts in DCL, including my "DCL Jujitsu" presentation at the the Fall 1995 US DECUS symposium. The slides from that presentation are available at &lt;A href="http://www.rlgsc.com/decus/usf95/index.html" target="_blank"&gt;http://www.rlgsc.com/decus/usf95/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I hope that the above is helpful.&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>Thu, 15 Feb 2007 05:51:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945085#M35440</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-02-15T05:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945086#M35441</link>
      <description>Using COPY/FTP (on a reasonably modern OpenVMS system) can avoid the need to write a more complex script.</description>
      <pubDate>Thu, 15 Feb 2007 05:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945086#M35441</guid>
      <dc:creator>Richard Brodie_1</dc:creator>
      <dc:date>2007-02-15T05:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945087#M35442</link>
      <description>Hi Tejas&lt;BR /&gt;&lt;BR /&gt;A commandfile like this one&lt;BR /&gt;&lt;BR /&gt;$ SET TERM/NOECHO&lt;BR /&gt;$ READ SYS$COMMAND password/Prompt="Enter Password "&lt;BR /&gt;$ WRITE SYS$OUTPUT ""&lt;BR /&gt;$ SET TERMINAL/ECHO&lt;BR /&gt;$ FTP obelix /user=users-name/password='password'/input=get.com&lt;BR /&gt;&lt;BR /&gt;will set the terminal to noecho, ask the users password and will start FTP, where /user must contain the username /password contains the password of the user. The FTP Command will execute the commands supplied within COmmandfile GET.COM which looks like this:&lt;BR /&gt;&lt;BR /&gt;typ get.com&lt;BR /&gt;get login.com&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;In this case we transfer the login.com from the remote machine to the local machine in ascii mode.&lt;BR /&gt;&lt;BR /&gt;Hope that helps&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Heinz</description>
      <pubDate>Thu, 15 Feb 2007 06:03:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945087#M35442</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2007-02-15T06:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945088#M35443</link>
      <description>PROCEDURE NOTES:&lt;BR /&gt;&lt;BR /&gt;        This command procedure accepts six procedure parameters:&lt;BR /&gt;         - P1 the remote  IP node name or address in Internet notations.&lt;BR /&gt;         - P2 the remote USERNAME. If casing is to be preserved, pass&lt;BR /&gt;              the username betweeen quotes.&lt;BR /&gt;         - P3 the remote PASSWORD. If casing is to be preserved, pass&lt;BR /&gt;              the password betweeen quotes.&lt;BR /&gt;         - P4 the local VMS FILENAME. The filename and file extension&lt;BR /&gt;              are extracted from this string. Therefore, if remote file&lt;BR /&gt;              is to be passed in lowercase enclose the string between&lt;BR /&gt;              quotes.&lt;BR /&gt;         - P5 the transfer operation (i.e. : GET or PUT)&lt;BR /&gt;         - P6 the transfer mode (i.e.: ASCII or IMAGE)&lt;BR /&gt;         - P7 (optional) the target remote directory&lt;BR /&gt;&lt;BR /&gt;PROCEDURE:&lt;BR /&gt;&lt;BR /&gt;$!                             COPYRIGHT (C) 1998 BY&lt;BR /&gt;$!                       COMPAQ COMPUTER CORPORATION, HOUSTON&lt;BR /&gt;$!                        TEXAS.  ALL RIGHTS RESERVED.&lt;BR /&gt;$!&lt;BR /&gt;$!     THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND COPIED&lt;BR /&gt;$!     ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH THE INCLUSION&lt;BR /&gt;$!     OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE OR ANY OTHER COPIES&lt;BR /&gt;$!     THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY OTHER&lt;BR /&gt;$!     PERSON.  NO TITLE TO AND OWNERSHIP OF THE SOFTWARE IS HEREBY TRANSFERRED.&lt;BR /&gt;$!&lt;BR /&gt;$!     THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT NOTICE AND&lt;BR /&gt;$!     SHOULD NOT BE CONSTRUED AS A COMMITMENT BY COMPAQ COMPUTER CORPORATION.&lt;BR /&gt;$!&lt;BR /&gt;$!     COMPAQ ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF ITS&lt;BR /&gt;$!     SOFTWARE ON EQUIPMENT THAT IS NOT SUPPLIED BY COMPAQ.&lt;BR /&gt;$!&lt;BR /&gt;$!     NO RESPONSIBILITY IS ASSUMED FOR THE USE OR RELIABILITY OF SOFTWARE&lt;BR /&gt;$!     ON EQUIPMENT THAT IS NOT SUPPLIED BY COMPAQ COMPUTER CORPORATION.&lt;BR /&gt;$!&lt;BR /&gt;$!     SUPPORT FOR THIS SOFTWARE IS NOT COVERED UNDER ANY COMPAQ SOFTWARE&lt;BR /&gt;$!     PRODUCT SUPPORT CONTRACT, BUT MAY BE PROVIDED UNDER THE TERMS OF THE&lt;BR /&gt;$!     CONSULTING AGREEMENT UNDER WHICH THIS SOFTWARE WAS DEVELOPED.&lt;BR /&gt;$!&lt;BR /&gt;$! Command procedure pararameter:&lt;BR /&gt;$! P1 the remote  IP node name or address in Internet notations.&lt;BR /&gt;$! P2 the remote USERNAME. If casing is to be preserved, pass the username&lt;BR /&gt;$!                      betweeen double-quotes.&lt;BR /&gt;$! P3 the remote PASSWORD. If casing is to be preserved, pass the password&lt;BR /&gt;$!                      betweeen double-quotes.&lt;BR /&gt;$! P4 the local VMS FILENAME. The filename and file extension is extracted&lt;BR /&gt;$! from this string. Therefore, if remote file is to be passed in lowercase&lt;BR /&gt;$! enclose the string between double-quotes.&lt;BR /&gt;$! P5 the transfer opration (i.e. : GET or PUT)&lt;BR /&gt;$! P6 the transfer mode (i.e.: ASCII or IMAGE)&lt;BR /&gt;$! P7 the target directory (optional).&lt;BR /&gt;$!&lt;BR /&gt;$ file = P4&lt;BR /&gt;$ colon = f$locate(":",file)&lt;BR /&gt;$ if colon .ne. f$length(file)&lt;BR /&gt;$ then&lt;BR /&gt;$     file = f$extract(colon+1,f$length(file) - colon, file)&lt;BR /&gt;$ endif&lt;BR /&gt;$ close_bracket =  f$locate ("]",file)&lt;BR /&gt;$ if close_bracket .ne. f$length(file)&lt;BR /&gt;$ then&lt;BR /&gt;$     file = f$extract(close_bracket+1,f$length(file) - close_bracket,file)&lt;BR /&gt;$ endif&lt;BR /&gt;$ file = f$extract(0,f$locate(";",file),file)&lt;BR /&gt;$ open/write fred ftp.com&lt;BR /&gt;$ write fred "$ftp ''P1'/username=""''P2'""/password=""''P3'"""&lt;BR /&gt;$ if P7 .nes. ""&lt;BR /&gt;$ then&lt;BR /&gt;$     write fred "cd ''P7'"&lt;BR /&gt;$ endif&lt;BR /&gt;$ write fred "type ''P6'"&lt;BR /&gt;$ if P5 .eqs. "GET"&lt;BR /&gt;$ then&lt;BR /&gt;$     if f$locate("*",file) .eq. f$length (file) -&lt;BR /&gt;                .and. f$locate("...",P4) .eq. f$length(P4)&lt;BR /&gt;$     then&lt;BR /&gt;$         write fred "get ""''file'"" ''P4'"&lt;BR /&gt;$     else&lt;BR /&gt;$         write fred "mget ''P4'"&lt;BR /&gt;$     endif&lt;BR /&gt;$ else&lt;BR /&gt;$     if f$locate("*",file) .eq. f$length (file) -&lt;BR /&gt;                .and. f$locate("...",P4) .eq. f$length(P4)&lt;BR /&gt;$     then&lt;BR /&gt;$         write fred "put ''P4' ""''file'"""&lt;BR /&gt;$     else&lt;BR /&gt;$         write fred "mput ''P4'"&lt;BR /&gt;$     endif&lt;BR /&gt;$ endif&lt;BR /&gt;$ write fred "bye"&lt;BR /&gt;$ close fred&lt;BR /&gt;$ @ftp&lt;BR /&gt;$ delete ftp.com;*&lt;BR /&gt;$ exit&lt;BR /&gt;&lt;BR /&gt;Hoping this shall help you.&lt;BR /&gt;Regards,&lt;BR /&gt;Philippe</description>
      <pubDate>Thu, 15 Feb 2007 06:06:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945088#M35443</guid>
      <dc:creator>Vouters</dc:creator>
      <dc:date>2007-02-15T06:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945089#M35444</link>
      <description>The classic FTP command mode utility is comparatively more involved and more difficult to use, while the COPY/FTP interface (a feature of OpenVMS releases for the last dozen years or so) can provide full DCL integration for usernames and passwords.  And the command looks and works like COPY and other typical DCL commands, including symbol substitution.  Unlike FTP command mode utility.&lt;BR /&gt;&lt;BR /&gt;I cannot recommend it strongly enough: use COPY/FTP.&lt;BR /&gt;&lt;BR /&gt;Unless you really need it -- such as you're working on an ancient OpenVMS VAX (pre-V6.2) release -- I'd encourage you to treat the  FTP utility as deprecated.&lt;BR /&gt;&lt;BR /&gt;Basic command syntax:&lt;BR /&gt;COPY/FTP from to&lt;BR /&gt;&lt;BR /&gt;The from or to parameters can include the IP host name and the username and password.&lt;BR /&gt;&lt;BR /&gt;The following shows how to perform a network transfer, and how to specify a foreign file specification:&lt;BR /&gt;COPY/FTP login.com x.y.z"usr pw"::"/tmp/login.com"&lt;BR /&gt;&lt;BR /&gt;With DCL and OpenVMS command parsing, the /tmp target shown can't be specified straight away, so it's quoted.  The host name and username and password syntax -- the stuff to the left of the :: -- follows that of DECnet.&lt;BR /&gt;&lt;BR /&gt;What you'd expect to find with an FTP transfer including /PASSIVE, /BINARY, etc., are available on the command line.  OK, /PASSIVE is somewhat newer than V6.2, IIRC.&lt;BR /&gt;&lt;BR /&gt;As for the core question, there are tutorial sites and various Unix to DCL command comparisions referenced in the OpenVMS FAQ.  If you can find a copy (it seems to go in and out of print), there's the book I wrote a while back, Writing Real Programs in DCL 2nd Ed.  In the OpenVMS manual set (an excellent resource) there's the OpenVMS User's Guide.  There are piles of code examples on the OpenVMS Freeware distros, as well as other sites around the network.&lt;BR /&gt;&lt;BR /&gt;There are also classes and such available for OpenVMS.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2007 09:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945089#M35444</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-02-15T09:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945090#M35445</link>
      <description>Hi Friends,&lt;BR /&gt;&lt;BR /&gt;Thanks for your advice. I was able to transfer files using following script.&lt;BR /&gt;&lt;BR /&gt;OPENVMS to Solaris file transfer using FTP script. [15-Feb-07]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$! Program for copying files from VMS to UNIX&lt;BR /&gt;$ set on&lt;BR /&gt;$ on warning then goto error_ftp&lt;BR /&gt;$ ftp sandbox01 /username=TESTUSER /password=R0M0KRIS&lt;BR /&gt;lcd dka300:[sys0.SYSCOMMON.SYSMGR.TRAVAL]&lt;BR /&gt;cd /export/home/TESTUSER&lt;BR /&gt;mput ftp.com;*&lt;BR /&gt;exit&lt;BR /&gt;$ goto exit&lt;BR /&gt;$ error_ftp:&lt;BR /&gt;$ write sys$output "Da the file didn't get transfered"&lt;BR /&gt;$ exit:&lt;BR /&gt;$ exit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Observations: 1) Accepts username &amp;amp; password in Caps only.However if I FTP from system prompt it work's with small caps also.&lt;BR /&gt;&lt;BR /&gt;2) Copies multiple version but replaces semicolon (;) with period (.)&lt;BR /&gt;&lt;BR /&gt;Kindly help me in resloving Caps &amp;amp; semicolon issue.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2007 09:49:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945090#M35445</guid>
      <dc:creator>Tejas J Raval</dc:creator>
      <dc:date>2007-02-15T09:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945091#M35446</link>
      <description>Lowercase?&lt;BR /&gt;&lt;BR /&gt;I'd use COPY/FTP.  It inherently deals with lowercase password strings.&lt;BR /&gt;&lt;BR /&gt;COPY/FTP deals with DCL symbol substitution, something most folks will eventually want to use.  If you don't have DCL symbol substitution (because you're inside a utility such as FTP, and DCL is not reading and processing your command input), you end up generating external files containing commands, and invoking them.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2007 09:56:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945091#M35446</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-02-15T09:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945092#M35447</link>
      <description>&lt;BR /&gt;One liner:&lt;BR /&gt;&lt;BR /&gt;$ copy/ftp &lt;BR /&gt;dka300:[sys0.SYSCOMMON.SYSMGR.TRAVAL]FTP.COM&lt;BR /&gt;sandbox01"TestUser r0m0Kris"::"/export/home/TESTUSER/FTP.COM"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2007 10:00:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945092#M35447</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-02-15T10:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945093#M35448</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You can use lowercases on username and password options writing values between quotation marks. &lt;BR /&gt;&lt;BR /&gt;By default VMS use uppercase texts and generally does not have differences between lower and upper cases on commands.&lt;BR /&gt;&lt;BR /&gt;FTP client converts ";" to "." on Solaris server.&lt;BR /&gt;&lt;BR /&gt;Saludos.&lt;BR /&gt;Daniel.</description>
      <pubDate>Fri, 16 Feb 2007 06:03:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945093#M35448</guid>
      <dc:creator>Daniel Fernandez Illan</dc:creator>
      <dc:date>2007-02-16T06:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945094#M35449</link>
      <description>Dear Hoff,&lt;BR /&gt;&lt;BR /&gt;Copy/ftp worked thanks a lot.&lt;BR /&gt;&lt;BR /&gt;Dear Daniel,&lt;BR /&gt;&lt;BR /&gt;I am trying your option.&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;&lt;BR /&gt;Tejas</description>
      <pubDate>Fri, 16 Feb 2007 07:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945094#M35449</guid>
      <dc:creator>Tejas J Raval</dc:creator>
      <dc:date>2007-02-16T07:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945095#M35450</link>
      <description>Daniel,&lt;BR /&gt;&lt;BR /&gt;After putting username &amp;amp; password in "" authentication problem got solved.&lt;BR /&gt;&lt;BR /&gt;But when file gets copied to Solaris server it changes to CAP. File is displayed in CAPS &amp;amp; ; is replaced with .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Presently it display's&lt;BR /&gt;root@sandbox01 # ls -l&lt;BR /&gt;total 38550&lt;BR /&gt;-rw-r--r--   1 traval   staff        324 Feb 16 07:28 FTP.COM.16&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Should be&lt;BR /&gt;&lt;BR /&gt;root@sandbox01 # ls -l&lt;BR /&gt;total 38550&lt;BR /&gt;-rw-r--r--   1 traval   staff        324 Feb 16 07:28 ftp.com;16&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Kindly suggest.Thx for your help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Tejas J Raval&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Feb 2007 07:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945095#M35450</guid>
      <dc:creator>Tejas J Raval</dc:creator>
      <dc:date>2007-02-16T07:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945096#M35451</link>
      <description>If the target on the remote host was in caps and you used the COPY/FTP command I showed, then try the following variation:&lt;BR /&gt;&lt;BR /&gt;$ copy/ftp&lt;BR /&gt;dka300:[sys0.SYSCOMMON.SYSMGR.TRAVAL]FTP.COM&lt;BR /&gt;sandbox01"TestUser r0m0Kris"::"/export/home/TESTUSER/ftp.com"&lt;BR /&gt;&lt;BR /&gt;The Unix variant I most frequently use is case-blind and case-preserving, which avoids this particular aspect. &lt;BR /&gt;&lt;BR /&gt;OpenVMS can select a similar case-blind case-preserving with the SET PROCESS /PARSE=EXTEND command and with the ODS-5 volume structure.  This is the second approach toward your goals; to enable the extended (EFS) parsing and syntax.&lt;BR /&gt;&lt;BR /&gt;There are logical names which can control the specific behavior of FTP itself around version numbers and related.  The TCP/IP Services manuals are at &lt;A href="http://www.hp.com/go/openvms/doc/" target="_blank"&gt;http://www.hp.com/go/openvms/doc/&lt;/A&gt; and the logical names are in the management manual, in the chapter on FTP server configuration and management.  There's a rather long list of knobs, um, logical names that can be adjusted to meet your specific needs.&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Feb 2007 08:12:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945096#M35451</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-02-16T08:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945097#M35452</link>
      <description>&amp;gt; FTP client converts ";" to "." on Solaris&lt;BR /&gt;&amp;gt; server.&lt;BR /&gt;&lt;BR /&gt;Ok.  This _can't_ be true (or so I assumed),&lt;BR /&gt;so I fired up my SunOS 5.10 on my Ultra-60,&lt;BR /&gt;figured out that my long-standing FTP server&lt;BR /&gt;problem there was that "in.ftpd" _requires_&lt;BR /&gt;"/etc/shells", so I created one of those, and&lt;BR /&gt;then tried sending a file with a ";" in its&lt;BR /&gt;name.&lt;BR /&gt;&lt;BR /&gt;I'm open to a better explanation, but it&lt;BR /&gt;appears to me that the VMS (TCPIP) FTP client&lt;BR /&gt;does some clever (?) name parsing on a PUT&lt;BR /&gt;_destination_ file spec, and transforms&lt;BR /&gt;anything which looks like a VMS version&lt;BR /&gt;number into ".version" instead of leaving it&lt;BR /&gt;as ";version".  Quotation doesn't seem to&lt;BR /&gt;help.  I'll admit that most people would&lt;BR /&gt;prefer UNIX file names without semi-colons,&lt;BR /&gt;but the same is true of "$", and those get&lt;BR /&gt;passed along with no argument.  I'd argue&lt;BR /&gt;that it should be _possible_ to get a&lt;BR /&gt;semi-colon at the other end, too.&lt;BR /&gt;&lt;BR /&gt;A quick look (SEARCH ... DECC$) at my&lt;BR /&gt;SYS$COMMON:[SYSEXE]TCPIP$FTP_CLIENT.EXE&lt;BR /&gt;shows a bunch of DECC$feature names, like:&lt;BR /&gt;&lt;BR /&gt;DECC$FILENAME_UNIX_ONLY&lt;BR /&gt;DECC$SET_FILESPEC_STYLE&lt;BR /&gt;DECC$EFS_CASE_PRESERVE&lt;BR /&gt;&lt;BR /&gt;If it's setting these things internally, then&lt;BR /&gt;there may be no way for a user to get it to&lt;BR /&gt;do the right thing (where "right" is what I'd&lt;BR /&gt;like it to do, namely, stop "helping" me).&lt;BR /&gt;&lt;BR /&gt;Note that a non-version semi-colon _is_&lt;BR /&gt;preserved, for example:&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; put SEMI_COLON.;1 semi;colon&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening ASCII mode data connection for semi;colon.&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;local: ALP$DKA0:[SMS]SEMI_COLON.;1  remote: semi;colon&lt;BR /&gt;&lt;BR /&gt;or even:&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; put SEMI_COLON.;1 semi;colon;1&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening ASCII mode data connection for semi;colon;1.&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;local: ALP$DKA0:[SMS]SEMI_COLON.;1  remote: semi;colon;1&lt;BR /&gt;6 bytes sent in 00:00:00.00 seconds (5.86 Kbytes/s)&lt;BR /&gt;&lt;BR /&gt;but Mr. Know-it-all outsmarts us on a simple&lt;BR /&gt;one:&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; put SEMI_COLON.;1 SEMI_COLON.;1&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening ASCII mode data connection for SEMI_COLON..1.&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;local: ALP$DKA0:[SMS]SEMI_COLON.;1  remote: SEMI_COLON..1&lt;BR /&gt;6 bytes sent in 00:00:00.00 seconds (5.86 Kbytes/s)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Once upon a time (10-DEC-2004, more or less),&lt;BR /&gt;I did a little work on a (freeware) program&lt;BR /&gt;called "wput" (intended to be like "wget"&lt;BR /&gt;facing the wrong way).  I never pushed it&lt;BR /&gt;very far, as it seemed pointless on VMS, what&lt;BR /&gt;with COPY /FTP and all.  However, if you&lt;BR /&gt;really want full control over an FTP&lt;BR /&gt;destination file name, it's starting to look&lt;BR /&gt;better all the time ("-A" for ASCII, with&lt;BR /&gt;SET PROC /PARS = EXTE):&lt;BR /&gt;&lt;BR /&gt;alp $ wput -A SEMI_COLON.;1 ftp://sms:my_password@sol/semi_colon;123&lt;BR /&gt;--12:09:51-- `SEMI_COLON.;1'&lt;BR /&gt;    =&amp;gt; ftp://sms:xxxxx@10.0.0.38:21/semi_colon;123&lt;BR /&gt;Connecting to 10.0.0.38:21... connected!&lt;BR /&gt;Logging in as sms ... Logged in!&lt;BR /&gt;Length: 6&lt;BR /&gt;&lt;BR /&gt;100%[====================================] 6&lt;BR /&gt;12:09:51 (semi_colon;123) - `39.90B/s' [6]&lt;BR /&gt;&lt;BR /&gt;sol&amp;gt; ls -l semi*&lt;BR /&gt;-rw-r--r--   1 sms      15             5 Feb 16 12:11 semi_colon;123&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;For the record:&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.4 - ECO 6&lt;BR /&gt;  on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2&lt;BR /&gt;&lt;BR /&gt;Perhaps it's all better in V5.6.&lt;BR /&gt;&lt;BR /&gt;Interestingly, RENAME seems to work (in the&lt;BR /&gt;interactive FTP client):&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; rename SEMI_COLON..1 SEMI_COLON.;1&lt;BR /&gt;350 File exists, ready for destination name&lt;BR /&gt;250 RNTO command successful.&lt;BR /&gt;&lt;BR /&gt;sol&amp;gt; ls -l SEMI*&lt;BR /&gt;-rw-r--r--   1 sms      15             5 Feb 16 12:20 SEMI_COLON.;1&lt;BR /&gt;&lt;BR /&gt;I don't know how you'd do that with COPY /FTP.</description>
      <pubDate>Fri, 16 Feb 2007 13:40:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945097#M35452</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-02-16T13:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945098#M35453</link>
      <description>There exists a small forest of TCP/IP Services FTP Server logical names; of FTP server control knobs:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/83final/6526/6526pro_041.html#ftp_logicals_sec" target="_blank"&gt;http://h71000.www7.hp.com/doc/83final/6526/6526pro_041.html#ftp_logicals_sec&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For file version processing within the TCP/IP Services FTP server, the usual knob is the TCPIP$FTP_NO_VERSION logical name.&lt;BR /&gt;&lt;BR /&gt;For the TCP/IP Services FTP client, if you're seeing dots in the remote spec in front of the version, then the store-unique (sunique) option is likely coming into play.  Details are here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/732FINAL/6525/6525pro_002.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/732FINAL/6525/6525pro_002.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Feb 2007 13:51:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945098#M35453</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-02-16T13:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945099#M35454</link>
      <description>&amp;gt; [...] store-unique (sunique) [...]&lt;BR /&gt;&lt;BR /&gt;Ah.  Foolishly, I looked at the HELP, and saw&lt;BR /&gt;nothing relevant.  However, while it's&lt;BR /&gt;probably involved, changing it seems not to&lt;BR /&gt;affect this particular behavior:&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; sunique&lt;BR /&gt;Store unique on.&lt;BR /&gt;FTP&amp;gt; sunique off&lt;BR /&gt;Store unique off.&lt;BR /&gt;FTP&amp;gt; put SEMI_COLON.;1 SEMI_COLON.;1&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;150 Opening ASCII mode data connection for SEMI_COLON..1.&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;local: ALP$DKA0:[SMS]SEMI_COLON.;1  remote: SEMI_COLON..1&lt;BR /&gt;6 bytes sent in 00:00:00.00 seconds (5.86 Kbytes/s)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sol&amp;gt; ls -l SEMI*&lt;BR /&gt;-rw-r--r--   1 sms      15             5 Feb 16 13:00 SEMI_COLON..1&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Feb 2007 14:03:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945099#M35454</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-02-16T14:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945100#M35455</link>
      <description>FWIW, the IP manual indicates sunique is always involved to some degree, and based on the target system identification and on the associated OpenVMS file specification.&lt;BR /&gt;&lt;BR /&gt;If you specify an OpenVMS file with a version specification included and the target is not OpenVMS, OpenVMS FTP is (still) going to try to provide the version number.</description>
      <pubDate>Fri, 16 Feb 2007 17:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945100#M35455</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-02-16T17:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: FTP script for transferring files from OpenVMS to Unix server</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945101#M35456</link>
      <description>&lt;!--!*#--&gt;Of course, "provide the version number" is&lt;BR /&gt;one thing, and "re-format the version number"&lt;BR /&gt;is another.&lt;BR /&gt;&lt;BR /&gt;The semi-colon -&amp;gt; dot conversion may be a&lt;BR /&gt;good plan most of the time, as the results&lt;BR /&gt;resemble what the NFS server offers, for&lt;BR /&gt;example, but it's not the only useful option,&lt;BR /&gt;I claim.&lt;BR /&gt;&lt;BR /&gt;Note, for comparison, that the new Zip 3.0 on&lt;BR /&gt;VMS will (most likely) offer a new "-ww"&lt;BR /&gt;option (to go with the older "-w"):&lt;BR /&gt;&lt;BR /&gt;  -w   store file version numbers&lt;BR /&gt;  -ww  store file version numbers as ".nnn"&lt;BR /&gt;&lt;BR /&gt;and UnZip 6.0 will (most likely) offer a new&lt;BR /&gt;"-Y" option:&lt;BR /&gt;&lt;BR /&gt;  -Y  treat ".nnn" as ";nnn" version&lt;BR /&gt;&lt;BR /&gt;But these things are _options_.</description>
      <pubDate>Fri, 16 Feb 2007 18:08:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ftp-script-for-transferring-files-from-openvms-to-unix-server/m-p/3945101#M35456</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-02-16T18:08:55Z</dc:date>
    </item>
  </channel>
</rss>

