Documentation
DOWNLOAD
usage
<DOWNLOAD>
<FILE from="url" to="filepath"/>
</DOWNLOAD>
paramètres
from : the URL of a file to download on your server
to : the path of a folder where the file will be downloaded. You can also indicate a new name for the file, if you want it to be different from the original file.
The files are downloaded in the sushee Files directory.
exemples
<DOWNLOAD>
<FILE from="http://officity.com/video.mp4" to="/file/"></FILE>
</DOWNLOAD>
<DOWNLOAD>
<FILE from="http://officity.com/picture.jpg" to="/media/mypicture.jpg"></FILE>
</DOWNLOAD>
<DOWNLOAD>
<FILE from="http://www.apple.com" to="/contact/1857/apple.html"></FILE>
</DOWNLOAD>
Voir aussi :
WEBSERVICE
Consult an external webservice and return the response in XML
FILEORDIRECTORY
Manage files on the Sushee disk
File
Manipulate a file