Welcome to WebmasterWorld Guest from 50.19.53.104

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

copy files on server on request

     

pelachrum

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

the_nerd

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

Hot Threads This Week

Hot Threads This Month