HI ,
I setup vsftp yesterday as a local user only mode. No anonymous was enabled. I set up this vsftpd on my machine running CentOS 4.4. its ip is 192.168.101.25. so when I login as ftp://192.168.101.25/ via web browser, I am promted the username as password. After inputing username and password, I can login successfully. Then I can download everything as usual. But I can not upload any data ? Why is that ? How to enable it via web browser?
But, If I use command line mode, I can do both downloading (mget) and uploading (mput).
pls see below.
For downloading,
[root@worldnet ftp]# ftp 192.168.101.25 Connected to 192.168.101.25. 220 Welcome to ftp.itabspl.com FTP service. 530 Please login with USER and PASS. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (192.168.101.25:root): ftpuser 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> hash Hash mark printing on (1024 bytes/hash mark). ftp> mget se* mget sendmail-8.13.8-2.CF.rhel4.i386.rpm? y 227 Entering Passive Mode (192,168,101,25,248,37) 150 Opening BINARY mode data connection for sendmail-8.13.8-2.CF.rhel4.i386.rpm (595955 bytes). ##################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################### 226 File send OK. 595955 bytes received in 0.3 seconds (1.9e+03 Kbytes/s) mget sendmail-cf-8.13.8-2.CF.rhel4.i386.rpm? y 227 Entering Passive Mode (192,168,101,25,146,101) 150 Opening BINARY mode data connection for sendmail-cf-8.13.8-2.CF.rhel4.i386.rpm (313961 bytes). ################################################################################################################################################################################################################################################################################################################## 226 File send OK. 313961 bytes received in 0.048 seconds (6.4e+03 Kbytes/s) mget sendmail-devel-8.13.8-2.CF.rhel4.i386.rpm? y 227 Entering Passive Mode (192,168,101,25,62,65) 150 Opening BINARY mode data connection for sendmail-devel-8.13.8-2.CF.rhel4.i386.rpm (122968 bytes). ######################################################################################################################## 226 File send OK. 122968 bytes received in 0.017 seconds (7.2e+03 Kbytes/s) mget sendmail-doc-8.13.8-2.CF.rhel4.i386.rpm? y 227 Entering Passive Mode (192,168,101,25,87,167) 150 Opening BINARY mode data connection for sendmail-doc-8.13.8-2.CF.rhel4.i386.rpm (655898 bytes). ################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################ 226 File send OK. 655898 bytes received in 0.15 seconds (4.2e+03 Kbytes/s) ftp> bye 221 Goodbye.
For uploading,
[root@worldnet ftp]# ftp 192.168.101.25 Connected to 192.168.101.25. 220 Welcome to ftp.itabspl.com FTP service. 530 Please login with USER and PASS. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (192.168.101.25:root): ftpuser 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> hash Hash mark printing on (1024 bytes/hash mark). ftp> mput fedora* mput fedora-usermgmt-0.7-2.noarch.rpm? y 227 Entering Passive Mode (192,168,101,25,254,195) 150 Ok to send data. ####### 226 File receive OK. 7481 bytes sent in 0.0003 seconds (2.4e+04 Kbytes/s) mput fedora-usermgmt-setup-0.7-2.noarch.rpm? y 227 Entering Passive Mode (192,168,101,25,252,65) 150 Ok to send data. ##### 226 File receive OK. 5593 bytes sent in 0.00056 seconds (9.8e+03 Kbytes/s) mput fedora-usermgmt-shadow-utils-0.7-2.noarch.rpm? y 227 Entering Passive Mode (192,168,101,25,180,225) 150 Ok to send data. ###### 226 File receive OK. 6454 bytes sent in 0.00054 seconds (1.2e+04 Kbytes/s) ftp> bye 221 Goodbye.
That means both downloading and uploading work fine with command line mode. But via web browser, I only can download, but no uploading is possible? Why ? How can I solve this issue?
On 3/14/07, Indunil Jayasooriya indunil75@gmail.com wrote:
HI ,
I setup vsftp yesterday as a local user only mode. No anonymous was enabled. I set up this vsftpd on my machine running CentOS 4.4. its ip is 192.168.101.25. so when I login as ftp://192.168.101.25/ via web browser, I am promted the username as password. After inputing username and password, I can login successfully. Then I can download everything as usual. But I can not upload any data ? Why is that ? How to enable it via web browser?
But, If I use command line mode, I can do both downloading (mget) and uploading (mput).
pls see below.
<...>
That means both downloading and uploading work fine with command line mode. But via web browser, I only can download, but no uploading is possible? Why ? How can I solve this issue?
Make sure your web browser supports ftp file uploading.
If you´re using Firefox, take a look at this addon: http://fireftp.mozdev.org/
I´ve never used it, just try and tell us. If it doesn´t work, google around for a better one.
HI ,
I setup vsftp yesterday as a local user only mode. No anonymous was enabled. I set up this vsftpd on my machine running CentOS 4.4. its ip is 192.168.101.25. so when I login as ftp://192.168.101.25/ via web browser, I am promted the username as password. After inputing username and password, I can login successfully. Then I can download everything as usual. But I can not upload any data ? Why is that ? How to enable it via web browser?
But, If I use command line mode, I can do both downloading (mget) and uploading (mput).
pls see below.
<...>
That means both downloading and uploading work fine with command line mode. But via web browser, I only can download, but no uploading is possible? Why ? How can I solve this issue?
Make sure your web browser supports ftp file uploading.
If you´re using Firefox, take a look at this addon: http://fireftp.mozdev.org/
I´ve never used it, just try and tell us. If it doesn´t work, google around for a better one.
Yeah, It works as expected. Thanks a lot.
One more help... Do you know another pkg like this for INTERNET EXPLORER ?
_______________________________________________
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Indunil Jayasooriya spake the following on 3/14/2007 9:18 PM:
HI , I setup vsftp yesterday as a local user only mode. No anonymous was enabled. I set up this vsftpd on my machine running CentOS 4.4. its ip is 192.168.101.25 <http://192.168.101.25/>. so when I login as ftp://192.168.101.25/ via web browser, I am promted the username as password. After inputing username and password, I can login successfully. Then I can download everything as usual. But I can not upload any data ? Why is that ? How to enable it via web browser? But, If I use command line mode, I can do both downloading (mget) and uploading (mput). pls see below. <...> That means both downloading and uploading work fine with command line mode. But via web browser, I only can download, but no uploading is possible? Why ? How can I solve this issue? Make sure your web browser supports ftp file uploading. If you´re using Firefox, take a look at this addon: http://fireftp.mozdev.org/ I´ve never used it, just try and tell us. If it doesn´t work, google around for a better one.
Yeah, It works as expected. Thanks a lot.
One more help... Do you know another pkg like this for INTERNET EXPLORER ?
Why not use a freeware ftp prog like fireftp?
I am now running vsftp on CENTOS 4.4. Still on my BOX. not still ready for production environment. I want to know one more thing.
When I login to my ftp server from ftp client programme called Smart FTP that was installed on a windows Xp machine, I can see . DOT files under that directory.
There are the .files I can see.
-rw-r--r-- 1 ftpuser ftpuser 24 Mar 13 14:02 .bash_logout -rw-r--r-- 1 ftpuser ftpuser 191 Mar 13 14:02 .bash_profile -rw-r--r-- 1 ftpuser ftpuser 124 Mar 13 14:02 .bashrc -rw-r--r-- 1 ftpuser ftpuser 383 Mar 13 14:02 .emacs -rw-r--r-- 1 ftpuser ftpuser 120 Mar 13 14:02 .gtkrc -rw-r--r-- 1 ftpuser ftpuser 658 Mar 13 14:02 .zshrc
I created a useraccount called ftpuser as follows
useradd ftpuser -s /sbin/nologin
Then traditional . files will be created there. But I do not want to those .files to display, When users login from their ftp clients.
How can I solve this?
On 3/15/07, Scott Silva ssilva@sgvwater.com wrote:
Indunil Jayasooriya spake the following on 3/14/2007 9:18 PM:
HI , I setup vsftp yesterday as a local user only mode. No anonymous was enabled. I set up this vsftpd on my machine running CentOS 4.4. its ip is 192.168.101.25 <http://192.168.101.25/>. so when I login as ftp://192.168.101.25/ via web browser, I am promted the username as password. After inputing username and password, I can login successfully. Then I can download everything as usual. But I can not upload any data ? Why is that ? How to enable it via web browser? But, If I use command line mode, I can do both downloading (mget) and uploading (mput). pls see below. <...> That means both downloading and uploading work fine with command line mode. But via web browser, I only can download, but no uploading is possible? Why ? How can I solve this issue? Make sure your web browser supports ftp file uploading. If you´re using Firefox, take a look at this addon: http://fireftp.mozdev.org/ I´ve never used it, just try and tell us. If it doesn´t work, google around for a better one.
Yeah, It works as expected. Thanks a lot.
One more help... Do you know another pkg like this for INTERNET EXPLORER
?
Why not use a freeware ftp prog like fireftp?
--
MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 16/03/07, Indunil Jayasooriya indunil75@gmail.com wrote:
I am now running vsftp on CENTOS 4.4. Still on my BOX. not still ready for production environment. I want to know one more thing.
When I login to my ftp server from ftp client programme called Smart FTP that was installed on a windows Xp machine, I can see . DOT files under that directory.
Then traditional . files will be created there. But I do not want to those .files to display, When users login from their ftp clients.
How can I solve this?
Read the vsftpd.conf man page, search it for 'deny_file' and 'hide_file'.
$ man vsftpd.conf Hit '/' to go in to the Vi-like search mode in 'less' Type 'deny_file' without the single quotes Hit [ENTER] 'n' takes you to the next match, 'N' to the previous.
Repeat for 'hide_file'.
Will.