LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-16-2004, 04:45 PM   #1
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Rep: Reputation: 30
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.comnone)): 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.
 
Old 10-05-2004, 12:29 AM   #2
TXM
LQ Newbie
 
Registered: Jun 2004
Distribution: Multiple
Posts: 10

Rep: Reputation: 0
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.
 
Old 10-05-2004, 10:05 AM   #3
sopiaz57
Member
 
Registered: Apr 2003
Distribution: RH 8
Posts: 246

Original Poster
Rep: Reputation: 30
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,
<><
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftp problems eckertc1 Linux - Software 3 02-28-2005 04:44 PM
VSFTP and PASV mode JohnLinx Linux - Networking 0 01-12-2005 05:06 PM
PASV problems wu-ftpd twantrd Linux - General 3 08-18-2004 03:15 PM
problems with vsftp laclac01 Linux - Software 3 06-03-2004 02:53 PM
vsftp problems XWolf Linux - Networking 5 10-01-2003 03:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration