homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

copy files on server on request

 8:58 am on Jul 2, 2006 (gmt 0)

anyone came accross a script such as this...?

1 clicking a link on a page activates the script,

2 the script copies a file (defined by this particular link) from public_ftp/subdirectory to public_html/subdirectory,

3 begins download of that file (the copy sitting in public_html)

4 ...this is optional but if can be done, it would make my day... deletes the copied file from public_html once the download is complete




 9:32 am on Jul 3, 2006 (gmt 0)

You can have that a lot easier if you use a little php-script that acts as a "proxy". This way you can give your users the file without having to copy and delete it. If it's sensitive files you can even put them in a folder that's not accessible by http to add some extra security.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved