Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
copy
:
download.html
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<html> <head> <title>Download Files</title> </head> <body> <p><a href="abc.csv">Download TEXT file</a></p> </body> </html> <?php $file_name = basename("abc.csv"); // Use file_get_contents() function to get the file // from url and use file_put_contents() function to // save the file by using base name if (file_put_contents($file_name, file_get_contents($url))) { echo "File downloaded successfully"; } else { echo "File downloading failed."; } ?>