Results 1 to 5 of 5
Hello,
Am using CentOS 5.5 and trying to configure FTP.
I want to access a particular directory of this server in any other windows system through browser using FTP.
Steps ...
- 11-11-2011 #1Just Joined!
- Join Date
- Nov 2011
- Posts
- 0
Need help for FTP creation
Hello,
Am using CentOS 5.5 and trying to configure FTP.
I want to access a particular directory of this server in any other windows system through browser using FTP.
Steps followed:
1. Created a directory in /var/ftp/swrep
2. groupadd swrep
3. useradd -g swrep swrep
4. chmod 777 /var/ftp
5. chkconfig vsftpd on
6. In vsftpd.conf, disabled anonymous_enable.
I AM ABLE TO LOGIN TO FTP FROM PUTTY. BUT NOT THROUGH BROWSER (IE).
PLEASE HELP!
Thanks!
- 11-11-2011 #2Just Joined!
- Join Date
- Nov 2011
- Posts
- 0
Hello.. i tried doing the same steps again and SUCCEEDED.
But now the problem is, in IE when I access this FTP, it is listing the whole list of directories of the system.
How do I RESTRICT displaying other folders except my specific directory?
Please help!
Thanks!
- 11-11-2011 #3Linux Guru
- Join Date
- May 2011
- Posts
- 1,813
How are you accessing your ftp server in a browser? Are you using a url like this in the address bar:
ftp://<FTP_SERVER_IP>
If you don't get prompted for user/pass, do you put that in the URL?
When your page is loaded, what do you see?
Also, show the contents of your vsftpd.conf file.
- 11-12-2011 #4Just Joined!
- Join Date
- Sep 2011
- Posts
- 5
- 11-15-2011 #5Just Joined!
- Join Date
- Nov 2011
- Posts
- 0
Sorry for the delay in response. Here is my answers to your queries:
How are you accessing your ftp server in a browser? Are you using a url like this in the address bar:
ftp://<FTP_SERVER_IP>
Yes;
If you don't get prompted for user/pass, do you put that in the URL?
I am getting prompt for user name & password
When your page is loaded, what do you see?
When I input username and password, immediately it lists the entire contents of root directory
Also, show the contents of your vsftpd.conf file:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
#anon_upload_enable=YES
#anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
#chown_uploads=YES
#chown_username=whoever
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
#idle_session_timeout=600
#data_connection_timeout=120
#nopriv_user=ftpsecure
#async_abor_enable=YES
#ascii_upload_enable=YES
#ascii_download_enable=YES
ftpd_banner=Welcome to blah FTP service.
#deny_email_enable=YES
#chroot_list_enable=YES
#l_recurse_enable=YES
listen=YES
#listen_ipv6=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
_recurse_enable=YES
Thanks in advance!


Reply With Quote

