PC Review


Reply
Thread Tools Rate Thread

How to configure ftp.exe to use passive mode (PASV)?

 
 
curiousgeorge408@hotmail.com
Guest
Posts: n/a
 
      24th Oct 2008
How can I configure ftp.exe to use passive mode (PASV)?

By ftp.exe, I mean \windows\system32\ftp.exe, which I execute by Start
> Run > cmd > ftp. (I call this MS ftp.)


On a whim, I have set Passive FTP in Internet Explorer (Tools >
Internet Options > Advanced). Concomitantly, "use PASV" is set to
"yes" in the Registry under HKEY_USERS\S-1-...\Software\Microsoft
\FTP. All to no avail. (Should it also be set somewhere else?)
 
Reply With Quote
 
 
 
 
blank
Guest
Posts: n/a
 
      24th Oct 2008
(E-Mail Removed) wrote in news:9fa53e10-e2f2-40e5-9596-
(E-Mail Removed):

> How can I configure ftp.exe to use passive mode (PASV)?
>
> By ftp.exe, I mean \windows\system32\ftp.exe, which I execute by Start
>> Run > cmd > ftp. (I call this MS ftp.)

>
> On a whim, I have set Passive FTP in Internet Explorer (Tools >
> Internet Options > Advanced). Concomitantly, "use PASV" is set to
> "yes" in the Registry under HKEY_USERS\S-1-...\Software\Microsoft
> \FTP. All to no avail. (Should it also be set somewhere else?)
>


From all accounts I have seen and my own experience, the ftp.exe that comes
with XP does not support PASV.
For this and other reasons (better scripting, etc.), I use ncftp -
available for free from http://www.ncftp.com
 
Reply With Quote
 
Tim Slattery
Guest
Posts: n/a
 
      24th Oct 2008
(E-Mail Removed) wrote:

>the ftp command line is:
>
>ftp> quote pasv
>
>and yes it is supported, it'll respond w/ "227 entering passive mode


Yeah, but....
That tells the server to go into passive mode, the client still knows
nothing about it. According to
http://www.iss.net/security_center/a...SV/default.htm

<QUOTE>
Many FTP clients do not support PASV transfers. For example, the
standard FTP.EXE built into Windows does not support this feature. The
user can still do a "quote PASV", which will tell the server to enter
PASV mode, but the client still will not work in this mode. (This is a
common problem, users enter "quote PASV" but things still don't work).
</QUOTE>

--
Tim Slattery
MS MVP(Shell/User)
(E-Mail Removed)
http://members.cox.net/slatteryt
 
Reply With Quote
 
curiousgeorge408@hotmail.com
Guest
Posts: n/a
 
      24th Oct 2008
On Oct 24, 9:28*am, Tim Slattery <Slatter...@bls.gov> wrote:
> fr...@theshire.net wrote:
> > the ftp command line is:
> > ftp> quote pasv
> > and yes it is supported, it'll respond w/ "227 entering passive mode

>
> Yeah, but....
> That tells the server to go into passive mode, the client still knows
> nothing about it. According to
> http://www.iss.net/security_center/a...SV/default.htm


Thanks for the confirmation. I appreciate this pointer.

I had tried "quote pasv" previously, and a network trace showed that
it does send PASV, and the ftp server does respond with "entering
passive mode".

But subsequent transmissions from the ftp client were not right, and
the FTP dir, get or put command timed out.
 
Reply With Quote
 
Tim Slattery
Guest
Posts: n/a
 
      24th Oct 2008
(E-Mail Removed) wrote:

>I had tried "quote pasv" previously, and a network trace showed that
>it does send PASV, and the ftp server does respond with "entering
>passive mode".


>But subsequent transmissions from the ftp client were not right, and
>the FTP dir, get or put command timed out.


Sounds right to me. The server is in passive mode, so it's sent the
client a port number to connect to, and is waiting for the client to
connect. The client is in active mode, so it's waiting for the server
to connect to it. And everybody waits forever.

--
Tim Slattery
MS MVP(Shell/User)
(E-Mail Removed)
http://members.cox.net/slatteryt
 
Reply With Quote
 
New Member
Join Date: Oct 2010
Posts: 1
 
      5th Oct 2010
Hi,

you could try the passive FTP version of FTP.exe at passive-ftp.com

cheers

Stu
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Passive (PASV) Mode Fails =?Utf-8?B?U2NoeWxlcg==?= Windows XP Internet Explorer 1 19th Nov 2004 06:54 PM
FTP in PASV mode in DOS Keith Windows XP General 1 12th Oct 2004 08:48 PM
Re: Recent FTP.exe problems and PASV mode? Chris Lovett Windows XP Networking 0 27th Aug 2003 09:50 AM
Change IE 6.0 SP1 default passive mode to Active Mode Dan Pinheiro Windows XP Internet Explorer 3 17th Jul 2003 12:20 AM
Re: Change IE 6.0 SP1 default passive mode to Active Mode Dan Pinheiro Windows XP Internet Explorer 0 11th Jul 2003 06:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:40 AM.