FTP in passive mode ?

S

Sandwick

how do you set the ftp program to PASSIVE mode on an XP or
W2K machine?

I have tried to set after I log into the server and before
with NO luck.

I have tried typing (passive) and (PASV) and (pasv) and
the ftp at DOS level does not recognize the command.

There are NO switches that I recognize I can use.

The program is the original one that comes with XP pro and
W2K. The program is SlimFTPd 3.0 beta 6.

Any help would be appreciated !!!!

// Larry
 
K

KG

To enter passive mode with command line FTP, after logging in type:

ftp> prompt quote pasv
 
S

Sandwick

I tried typing that and got the following:

ftp> prompt quote pasv
Interactive mode Off .
ftp> put test.txt
200 Data port set to 208.34.225.6:2802.
150 Opening active mode data connection for "/test.txt".
Aborting any active data connections...
425 Can't open data connection.

You will notice that I still have an active connection.

// Larry
 
R

Rakesh Chanana [MSFT]

You cannot do passive mode ftp using the ftp client that comes with Windows
2000.
Prompt interactive off will stop prompting when downloading multiple files
(say using the mget command).

If you are using a third party software such as SlimFTPd, check the
settings in that program.
----
Thanks,
Rakesh Chanana [MSFT]

When replying, please post to GROUP so that everyone can benefit from the
knowledge.

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


--------------------
 
K

KG

Sorry... remove the "prompt" and you'll be fine.

ftp> quote pasv
227 Entering Passive Mode (10,0,0,11,13,59).
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
226 Transfer complete.
ftp>
 
S

Sandwick

I am using SlimFTPD that comes with the window 9x, w2k and
XP.

I tried entering the command "quote pasv" and the responds
with Entering passsive mode. When I do a put on the next
line it say the following:

ftp> quote pasv
227 Entering Passive Mode (208,34,224,104,6,13)
ftp> put text.txt
text.txt: File not found
ftp> put test.txt
200 Data port set to 208.34.225.6:2560.
150 Opening active mode data connection for "/test.txt".


Any Suggestion ?
 
K

KG

Sorry.. I have no idea. I've used "quote pasv" from a command prompt ftp
session in Win2K and XP to enter passive mode and it's worked for me. I'm
not familiar with SlimFTPD. I use IIS within XP Pro as my FTP daemon.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top