[CentOS] Re: How to enable download via web browser with vsftpd?

Indunil Jayasooriya indunil75 at gmail.com
Fri Mar 16 07:40:11 UTC 2007


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 at 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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Thank you
Indunil Jayasooriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070316/93b4e90d/attachment.html>


More information about the CentOS mailing list