I am trying to copy all the files in 1 directory to another without the need to zip, copy, then extract. I have the following code:
This copies the files but it actually copies it to this file structure: /public_html/test/1000b0004 . How can I copy the files over and drop them into the 'test' folder
PHP:
print $xmlapi->api2_query($account, 'Fileman', 'fileop', array( 'op' => 'copy', 'sourcefiles' => '/public_html/1000b0004', 'destfiles' => '/public_html/test' ) );