Re: Download files through web browser
"HL" <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <000001c2fae9$cf3116e0$6601a8c0@oemcomputer> |
> > Sorry to give you misunderstanding. We do have FTP server set up in the > > Linux server. My question is how to set up like > > ftp://ftp.mydomain.com/path/to/filename , then people can directly > > download files through web browser, not go to access server through FTP? > > > > When I directly put ftp://ftp.mydomain.com/path/to/filename , I got > > error "window couldn't access the folder, make sure that you type file > > name correctly and have permission to do so..." Do I need to do some > > special thing in Linux in order to access files and download files like > > that ? > > You need to set the permissions on the ftp directories so apache can read > them. You don't need either write or execute permissions on apache for > those directories where you store the files. > Suppose my directory named as download have files that we want to be downloaded by others. Here is permission setting drwxr--r-- 2 root root download Other directories need execute permissions in order to access on apache via website. When I input path like ftp://ftp.mydomain.com/download , I got same error like "window couldn't access the folder, make sure that you type file > > name correctly and have permission to do so..." Do I need to do some > > special thing in Linux in order to access files and download files like > > that ?"