<?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: Using Windows FTP in PASSIVE mode in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989866#M77491</link>
    <description>Do you mean that "quote pasv" did not work, or that the put does not work after a "quote pasv"?&lt;BR /&gt;Phil&lt;BR /&gt;H:\&amp;gt;ftp&lt;BR /&gt;ftp&amp;gt; open xyz&lt;BR /&gt;Connected to xyz.xxxxxxxxxx.xxx.xx.&lt;BR /&gt;220 xyz.xxxxxxxxxx.xxx.xx. FTP Server (Version 5.1) Ready.&lt;BR /&gt;User (xyz.xxxxxxxxxx.xxx.xx:(none)): yyyyyy_zz&lt;BR /&gt;331 Username yyyyyy_zz requires a Password&lt;BR /&gt;Password:&lt;BR /&gt;230 User logged in.&lt;BR /&gt;ftp&amp;gt; quote pasv&lt;BR /&gt;227 Entering Passive Mode (nn,nn,nn,nnn,nnn,nnn)&lt;BR /&gt;ftp&amp;gt; bye&lt;BR /&gt;221 Goodbye.</description>
    <pubDate>Mon, 10 Jul 2006 21:10:30 GMT</pubDate>
    <dc:creator>Phil.Howell</dc:creator>
    <dc:date>2006-07-10T21:10:30Z</dc:date>
    <item>
      <title>Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989864#M77489</link>
      <description>I have a VMS host (call it "B") behind a router that doesn't allow outgoing FTP connections.&lt;BR /&gt;&lt;BR /&gt;This works: I connect from VMS Host A (outside the router) to Host B via FTP, issue a SET PASSIVE ON, and then I can xfer files from A to B via a PUT cmd.&lt;BR /&gt;&lt;BR /&gt;Can't get this to work:  If I connect from my PC (outside the router) via XP's standard FTP to B, I can't seem to get the PASSIVE mode enabled.&lt;BR /&gt;&lt;BR /&gt;I've tried:  literal PASV&lt;BR /&gt;and:   quote PASV&lt;BR /&gt;but no go.&lt;BR /&gt;&lt;BR /&gt;Any suggestions?  TIA</description>
      <pubDate>Mon, 10 Jul 2006 17:23:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989864#M77489</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2006-07-10T17:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989865#M77490</link>
      <description>The FTP client program and the server must&lt;BR /&gt;_agree_ to use passive mode.  Setting the&lt;BR /&gt;server mode without telling the client seems&lt;BR /&gt;unlikely to do any good.  If this is to work,&lt;BR /&gt;the client must have some sort of command&lt;BR /&gt;equivalent to "SET PASSIVE ON".  Perhaps&lt;BR /&gt;"passive"?  (And then the client should send&lt;BR /&gt;a suitable FTP PASV command to the server&lt;BR /&gt;without your having to do it manually.)</description>
      <pubDate>Mon, 10 Jul 2006 17:33:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989865#M77490</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-07-10T17:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989866#M77491</link>
      <description>Do you mean that "quote pasv" did not work, or that the put does not work after a "quote pasv"?&lt;BR /&gt;Phil&lt;BR /&gt;H:\&amp;gt;ftp&lt;BR /&gt;ftp&amp;gt; open xyz&lt;BR /&gt;Connected to xyz.xxxxxxxxxx.xxx.xx.&lt;BR /&gt;220 xyz.xxxxxxxxxx.xxx.xx. FTP Server (Version 5.1) Ready.&lt;BR /&gt;User (xyz.xxxxxxxxxx.xxx.xx:(none)): yyyyyy_zz&lt;BR /&gt;331 Username yyyyyy_zz requires a Password&lt;BR /&gt;Password:&lt;BR /&gt;230 User logged in.&lt;BR /&gt;ftp&amp;gt; quote pasv&lt;BR /&gt;227 Entering Passive Mode (nn,nn,nn,nnn,nnn,nnn)&lt;BR /&gt;ftp&amp;gt; bye&lt;BR /&gt;221 Goodbye.</description>
      <pubDate>Mon, 10 Jul 2006 21:10:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989866#M77491</guid>
      <dc:creator>Phil.Howell</dc:creator>
      <dc:date>2006-07-10T21:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989867#M77492</link>
      <description>There may also be XP firewall issues.&lt;BR /&gt;Phil</description>
      <pubDate>Mon, 10 Jul 2006 21:42:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989867#M77492</guid>
      <dc:creator>Phil.Howell</dc:creator>
      <dc:date>2006-07-10T21:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989868#M77493</link>
      <description>&lt;!--!*#--&gt;I could believe that "quote pasv" prepares&lt;BR /&gt;the server for a passive transfer, but what&lt;BR /&gt;tells the client to initiate a passive&lt;BR /&gt;transfer?  And if the client's not in passive&lt;BR /&gt;mode, how is it supposed to move a file to or&lt;BR /&gt;from a server which _is_ in passive mode?&lt;BR /&gt;&lt;BR /&gt;Of course, I could just be venting methane,&lt;BR /&gt;but I believe that the client, when in&lt;BR /&gt;active mode, sends a PORT command to the&lt;BR /&gt;server to tell the server which address and&lt;BR /&gt;port number to use for the transfer, while in&lt;BR /&gt;passive mode, the client sends the server a&lt;BR /&gt;PASV command, and gets back the address and&lt;BR /&gt;port number to use (the server's preference).&lt;BR /&gt;&lt;BR /&gt;You can do all of these that you wish using&lt;BR /&gt;the quote command, but, when it comes time to&lt;BR /&gt;do a put or get (STOR or RETR), the client&lt;BR /&gt;will do what it thinks is appropriate.&lt;BR /&gt;&lt;BR /&gt;For a good time, in the VMS-to-VMS situation,&lt;BR /&gt;try a transfer before and after one of those&lt;BR /&gt;"quote pasv" commands.  I believe that you'll &lt;BR /&gt;see no change in what happens in the&lt;BR /&gt;transfer.  Use the (undocumented?) "debug"&lt;BR /&gt;command to see more.  On my system:&lt;BR /&gt;&lt;BR /&gt;alp $ ftp alp-l&lt;BR /&gt;220-   Antinode FTP Server.  Please be nice.&lt;BR /&gt;220 alp.antinode.org FTP Server (Version 5.4) Ready.&lt;BR /&gt;Connected to alp.&lt;BR /&gt;Name (alp:sms):&lt;BR /&gt;331 Username sms requires a Password&lt;BR /&gt;Password:&lt;BR /&gt;230 User logged in.&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; debug&lt;BR /&gt;Debugging on (debug=1).&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; get a.a q.q&lt;BR /&gt;---&amp;gt;  TYPE I&lt;BR /&gt;200 TYPE set to IMAGE.&lt;BR /&gt;---&amp;gt;  PORT 10,0,0,9,210,14&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;---&amp;gt;  RETR a.a&lt;BR /&gt;150 Opening data connection for ALP$DKA0:[SMS]a.a; (10.0.0.9,53774) (4 bytes)&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;local: ALP$DKA0:[SMS]Q.Q;1  remote: a.a&lt;BR /&gt;4 bytes received in 00:00:00.01 seconds (0.39 Kbytes/s)&lt;BR /&gt;&lt;BR /&gt;[Note that the client used a PORT command to&lt;BR /&gt;give the server an address and port number,&lt;BR /&gt;as it was not in passive mode.]&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; quote pasv&lt;BR /&gt;---&amp;gt;  pasv&lt;BR /&gt;227 Entering Passive Mode (10,0,0,9,210,15)&lt;BR /&gt;&lt;BR /&gt;[Looks good, but does nothing useful, I&lt;BR /&gt;claim.  Observe the next transfer.]&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; get a.a p.p&lt;BR /&gt;---&amp;gt;  PORT 10,0,0,9,210,16&lt;BR /&gt;200 PORT command successful.&lt;BR /&gt;---&amp;gt;  RETR a.a&lt;BR /&gt;150 Opening data connection for ALP$DKA0:[SMS]a.a; (10.0.0.9,53776) (4 bytes)&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;local: ALP$DKA0:[SMS]P.P;1  remote: a.a&lt;BR /&gt;4 bytes received in 00:00:00.01 seconds (0.33 Kbytes/s)&lt;BR /&gt;&lt;BR /&gt;[Note that the client _still_ uses a PORT&lt;BR /&gt;command here.  It's still not thinking&lt;BR /&gt;passive.]&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; passive&lt;BR /&gt;_ON|OFF|AUTO|ALL: on&lt;BR /&gt;Passive is ON.&lt;BR /&gt;&lt;BR /&gt;[_Now_ the client is thinking passive ...]&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; get a.a s.s&lt;BR /&gt;---&amp;gt;  PASV&lt;BR /&gt;227 Entering Passive Mode (10,0,0,9,210,17)&lt;BR /&gt;---&amp;gt;  RETR a.a&lt;BR /&gt;150 Opening data connection for ALP$DKA0:[SMS]a.a; (10.0.0.9,53778) (4 bytes)&lt;BR /&gt;226 Transfer complete.&lt;BR /&gt;local: ALP$DKA0:[SMS]S.S;1  remote: a.a&lt;BR /&gt;4 bytes received in 00:00:00.01 seconds (0.30 Kbytes/s)&lt;BR /&gt;&lt;BR /&gt;[... and so this transfer included a PASV&lt;BR /&gt;command instead of a PORT command, and the&lt;BR /&gt;server's response provided the address and&lt;BR /&gt;port number for the client to use.]&lt;BR /&gt;&lt;BR /&gt;FTP&amp;gt; quit&lt;BR /&gt;---&amp;gt;  QUIT&lt;BR /&gt;221 Goodbye.&lt;BR /&gt;&lt;BR /&gt;(In this case, the server and client both&lt;BR /&gt;had the same IP address, which could be a&lt;BR /&gt;bit confusing, unless you just ignore that&lt;BR /&gt;part, in which case, it's all harmless.)&lt;BR /&gt;&lt;BR /&gt;So, as I said, you need to tell the client to&lt;BR /&gt;use passive mode.  If your client can't do&lt;BR /&gt;passive mode, then you'll need to get a&lt;BR /&gt;better client.  You can't get the client into&lt;BR /&gt;passive mode by manually sending ("quote") a&lt;BR /&gt;PASV command to the server.&lt;BR /&gt;&lt;BR /&gt;Google did find this guide, which might be&lt;BR /&gt;useful:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.ncftp.com/ncftpd/doc/misc/ftp_and_firewalls.html" target="_blank"&gt;http://www.ncftp.com/ncftpd/doc/misc/ftp_and_firewalls.html&lt;/A&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;A href="http://slacksite.com/other/ftp.html" target="_blank"&gt;http://slacksite.com/other/ftp.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Around here:&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 5&lt;BR /&gt;  on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jul 2006 23:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989868#M77493</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-07-10T23:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989869#M77494</link>
      <description>My XP ftp has no problems with it.&lt;BR /&gt;&lt;BR /&gt;Try a TCP trace on VMS to see if the PASV arrived.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 11 Jul 2006 01:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989869#M77494</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-07-11T01:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989870#M77495</link>
      <description>&amp;gt; My XP ftp has no problems with it.&lt;BR /&gt;&lt;BR /&gt;Is it doing passive transfers?  Really?  (How&lt;BR /&gt;do you know?)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Try a TCP trace on VMS to see if the PASV&lt;BR /&gt;&amp;gt; arrived.&lt;BR /&gt;&lt;BR /&gt;Please review:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; ftp&amp;gt; quote pasv&lt;BR /&gt;&amp;gt; 227 Entering Passive Mode (nn,nn,nn,nnn,nnn,nnn)&lt;BR /&gt;&lt;BR /&gt;The 227 response shows that the PASV command&lt;BR /&gt;arrived.  (But that has no effect on any&lt;BR /&gt;future file transfers.)&lt;BR /&gt;&lt;BR /&gt;But if you know how to put the Windows XP FTP&lt;BR /&gt;client into passive mode, you might still&lt;BR /&gt;make a valuable contribution.  (And if it has&lt;BR /&gt;a "debug" mode.)</description>
      <pubDate>Tue, 11 Jul 2006 01:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989870#M77495</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-07-11T01:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989871#M77496</link>
      <description>Jack,&lt;BR /&gt;&lt;BR /&gt;AFAIK, the standard Win32 command line FTP client does not have the ability to use passive mode.&lt;BR /&gt;&lt;BR /&gt;You'd have to use some other FTP client (e.g. FileZilla from &lt;A href="http://filezilla.sourceforge.net/" target="_blank"&gt;http://filezilla.sourceforge.net/&lt;/A&gt; )&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jul 2006 01:49:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989871#M77496</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2006-07-11T01:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989872#M77497</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;I used "quote pasv".&lt;BR /&gt;&lt;BR /&gt;I do not know how ftp is reacting if a firewall is filtering out the PASV command (hey, it's just a program). It could be that it reacts with "unknown command" or something like that. That's why I propose a tcp trace.&lt;BR /&gt;&lt;BR /&gt;As long as we don't have the exact error messages, everything is open.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 11 Jul 2006 02:57:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989872#M77497</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-07-11T02:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989873#M77498</link>
      <description>BTW&lt;BR /&gt;&lt;BR /&gt;I did get an 227.&lt;BR /&gt;&lt;BR /&gt;My XP exe is in system32.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 11 Jul 2006 03:04:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989873#M77498</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-07-11T03:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989874#M77499</link>
      <description>I don't have to use passive mode, so I will leave it to others to test this client&lt;BR /&gt;&lt;A href="ftp://ftp.gnu.org/old-gnu/emacs/windows/contrib/ftp-for-win32.zip" target="_blank"&gt;ftp://ftp.gnu.org/old-gnu/emacs/windows/contrib/ftp-for-win32.zip&lt;/A&gt;&lt;BR /&gt;Phil</description>
      <pubDate>Tue, 11 Jul 2006 03:18:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989874#M77499</guid>
      <dc:creator>Phil.Howell</dc:creator>
      <dc:date>2006-07-11T03:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989875#M77500</link>
      <description>&amp;gt; As long as we don't have the exact error&lt;BR /&gt;&amp;gt; messages, everything is open.&lt;BR /&gt;&lt;BR /&gt;Oops.  I confused a response from Mr. Howell&lt;BR /&gt;with more info from the original poster.&lt;BR /&gt;&lt;BR /&gt;The fact remains that, at most, "quote pasv"&lt;BR /&gt;will tell you if the FTP server is _willing_&lt;BR /&gt;to do a passive transfer.  It will _not_&lt;BR /&gt;cause the next transfer to be done&lt;BR /&gt;passively.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jul 2006 11:14:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989875#M77500</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-07-11T11:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using Windows FTP in PASSIVE mode</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989876#M77501</link>
      <description>Well, until/if I get time to trace the connection, I'll put this on hold.&lt;BR /&gt;&lt;BR /&gt;Two things I've since discovered:&lt;BR /&gt;&lt;BR /&gt;1) Windows FTP does seem to support Passive mode.  In fact, there is a Windows Registry item for FTP "use PASV yes", so FTP seems to default to passive mode.&lt;BR /&gt;&lt;BR /&gt;2) I discovered that the Internet Explorer's built-in FTP can connect to my "Host B" and both get a dir listing and xfer a file to me (though it has other problems: the dir listing doesn't show directories, and after the 1st file xfer it won't do another!)&lt;BR /&gt;&lt;BR /&gt;Thanks all</description>
      <pubDate>Wed, 12 Jul 2006 10:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-windows-ftp-in-passive-mode/m-p/4989876#M77501</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2006-07-12T10:51:32Z</dc:date>
    </item>
  </channel>
</rss>

