public url for ftp files

RDStech

New member
Joined
Sep 1, 2017
Messages
1
hi

i have uploaded some files to the folder below on my host:

/CMD_FILE_MANAGER/domains/XXXXXX/public_ftp/domains/XXXXXX/public_ftp

i want to know, how i have to share these files' url?
how i can share a url for these files so that anybody can access them??


thanks
 
/CMD_FILE_MANAGER/domains/XXXXXX/public_ftp/domains/XXXXXX/public_ftp
First of all, this looks incorrect.
Normally it should read:
/CMD_FILE_MANAGER/domains/XXXXXX/public_ftp/
And under that directory you have a directory incoming, that's the default. So I wonder why there is the extra /domains/xxxx/public_ftp present? That should not be there normally

To answer your question, this is probably not what you're looking for, if you want to share the files via an url. The public_ftp directory is only for anonymous logins.

To achieve what you want, you can best place those files in a seperate directory in public_html, for example:
/CMD_FILE_MANAGER/domains/XXXXXX/public_html/downloads
then in the directory /downloads create a .htaccess file with this content:
Code:
Options +Indexes

If you want to make it more beautiful, so directory's first and long file names and descriptions (if present) you could use:
[/code]Options +Indexes
IndexOptions FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=*[/code]
 
Back
Top