Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe to WebmasterWorld
copy files on server on request pelachrum msg:1275124 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
the_nerd msg:1275125 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.