PHP Classes

PHP Copy File to Another Directory: Copy a file from a given URL to server directory

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 64 All time: 10,406 This week: 81Up
Version License PHP version Categories
copy-files 1.0GNU General Publi...5PHP 5, Files and Folders, Web services, G...
Description 

Author

This package can copy a file from a URL to the server directory.

It provides a script that presents a form to let the user enter the URL of a remote file and select a server-side directory.

The script can retrieve the remote file and store it in the directory selected by the user.

Picture of Joko Prasetyo
  Performance   Level  
Name: Joko Prasetyo <contact>
Classes: 5 packages by
Country: Indonesia Indonesia
Age: 54
All time rank: 432373 in Indonesia Indonesia
Week rank: 180 Up4 in Indonesia Indonesia Up
Innovation award
Innovation award
Nominee: 3x

Documentation

PHP Copy Files from remote URL.

This is a very simple way to copy files from a remote server to the directory, simply enter the target URL on the form and select a directory location.

If unsupported file extensions you need to change or add a line like the following:

$valid_exts = array("php","jpeg","gif","png","doc","docx","jpg","html","asp","xml","JPEG","bmp","zip"); 

All file and scripts under licenses ( GNU GPL v2 or later ).


  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file copy-files.php Aux. Auxiliary script
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:64
This week:0
All time:10,406
This week:81Up