Feng Forum

Other Topics => Development => : saidmsl January 29, 2013, 09:22:23 AM

: file upload processing
: saidmsl January 29, 2013, 09:22:23 AM
Hi,

i have modified a bit the source code to allow to upload a file differently
ie adding a new file element :
$fileTempName = $_FILES['RemoteFile']['tmp_name'];   
$fileSize = $_FILES['RemoteFile']['size'];
$fileName = $_FILES['RemoteFile']['name'];

I cannot change the name . how can  proceed to save as usual while not breaking existing code.
i see that it calls upload_file then add_file in FileController.class.php

Thanks