[CentOS] OT: How to make files placed into FTP directory avai lable via http
Mark Schoonover
schoon at amgt.com
Fri Sep 1 17:49:14 UTC 2006
Ed Morrison wrote:
> I'm hoping someone out there can tell me or direct me on where to find
> this info on how to make files placed into an ftp directory available
> via an url link in an email. I will have a staff member upload the
> files to a directory on my ftp server (which is also the web server)
> and the files would have to be automatically linked to a web
> directory, unless the files can be read directly from the ftp server.
> This needs to have no interaction from me and should be automagic.....
>
> Any and all would be greatly appreciated.
>
> Thanks
>
> Ed
Ed,
Off the top of my head, you could create a script that will run
under mod_perl and can read the ftp directory, then create a page full of
URLs. Shouldn't be too hard to accomplish... Could be done under PHP as
well.
HTH
Mark
More information about the CentOS
mailing list