Hello,
Im trying to upload an file by CMD_API_FILE_MANAGER but im getting error: this file is not valid for copy.
File manager from DA works fine but problem is only in API
my request:
Any ideas ?
Im trying to upload an file by CMD_API_FILE_MANAGER but im getting error: this file is not valid for copy.
File manager from DA works fine but problem is only in API
my request:
PHP:
$data = array(
'enctype' => "multipart/form-data",
'action' => 'upload',
'path' => $path,
'name' => $_FILES['file']['name'],
'file1' =>
'@' . $_FILES['file']['tmp_name']
. ';filename=' . $_FILES['file']['name']
. ';type=' . $_FILES['file']['type']
);
Any ideas ?