|
Copy files from server to server
|
|
Scenario is : |
We have files to copy-transfer on a remote-server
... e.g. : s.c-php.com [/www/remote/fax.tif] : |
URL - http://www.s.c-php.com/remote/fax.tif
...fax.tif will be transferred from remote-server to this server [destination] directly.
|
Nota Bene :
It's needed to 707 chmod the receiving-folder to be able to write on $_file_name
Folder destination is ftp-dynamically chmoded 707 and back to 705 in order to be left with no write permission.
For the usage of this script you will only need to post $_file_name [$_file_name="fax.tif";] when processing this page.
|
|