LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   pasv problems, vsftp and windows (https://www.linuxquestions.org/questions/linux-general-1/pasv-problems-vsftp-and-windows-218452/)

sopiaz57 08-16-2004 04:45 PM

pasv problems, vsftp and windows
 
Hey ALL, i am trying to connect to my vsftpd ftp server (RH) from a windows Box.

I need to connect via command line or through IE, using ftp://ftp.site.com syntax. I get this error::


N:\>ftp
ftp> open site.com 11005
Connected to site.com.
220 Welcome to Site - Unauthorized Access Prohibited
User (site.com:(none)): john
331 Please specify the password.
Password:
230 Login successful.
ftp> ls
200 PORT command successful. Consider using PASV.
Aborting any active data connections...
ftp>

ftp>
ftp>
ftp> ls -la
Aborting any active data connections...
Connection closed by remote host.
ftp>
ftp>
ftp>
ftp>
ftp>

please help, i have windows users who need this functionality and I cant find much online or on the forums.

TXM 10-05-2004 12:29 AM

Well you've probably already figured it out by now, but I think I'll answer this anways. I had similar problems, especially after updating to XP sp2. I found that I had to enable PASV mode for the server because of all the firewalls that I'm going through.

Add these lines to your vsftpd.conf file:

pasv_enable=YES
pasv_min_port=6000
pasv_max_port=6010
pasv_address=192.168.1.1

Replace your min_port, max_port, and address with the appropriate values of course. And make sure that any firewalls that you have running allow tcp connections through the port range that you specify. This basically allows the ftp CLIENT to initiate the download/upload connections instead of the server trying to initiate a connection back to your client (and through whatever firewalls may be). Open as big a port range as you think you'll be needing.

Works for me. Hope it helps you.

sopiaz57 10-05-2004 10:05 AM

thanks
 
Hi, thank you for this message.


Actually to resolve this i just changed a setting in my IE advanced settings regarding passive ftp settings.


Thanks again,
<><


All times are GMT -5. The time now is 11:29 PM.