Welcome to WebmasterWorld Guest from 54.145.235.72

Forum Moderators: coopster & jatar k

copy files on server on request

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

10+ Year Member



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

thanks

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

WebmasterWorld Senior Member 10+ Year Member



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.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month