Indunil Jayasooriya
2007-Mar-14 04:32 UTC
[CentOS] How to enable download via web browser with vsftpd?
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 at 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 at 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? -- Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070314/97db7a3a/attachment.html>
Leonardo Vilela Pinheiro
2007-Mar-14 14:47 UTC
[CentOS] How to enable download via web browser with vsftpd?
On 3/14/07, Indunil Jayasooriya <indunil75 at 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070314/f597887c/attachment.html>
Apparently Analagous Threads
- smbclient mask command seems not to work the same way with recurse ON for mget and mput
- smbclient mask command seems not to work the same way with recurse ON for mget and mput
- smbclient mask command seems not to work the same way with recurse ON for mget and mput
- [Bug 181] Undocumented mget and mput in sftp
- smbclient mask command seems not to work the same way with recurse ON for mget and mput