src/PutIO/Engines/PutIO/FilesEngine.php
public function move($fileIDs, $parentID)
    {
        if (is_array($fileIDs)) {
            $fileIDs = implode(',', $fileIDs);
        }

        $data = [
            'file_ids'  => $fileIDs,
            'parent_id' => $parentID
        ];

        return $this->post('files/move', $data, \true);
    }
public function move($fileIDs, $parentID)
    {
        if (is_array($fileIDs)) {
            $fileIDs = implode(',', $fileIDs);
        }

        $data = [
            'file_ids'  => $fileIDs,
            'parent_id' => $parentID
        ];

        return $this->post('files/move', $data, \true);
    }
public function move ( $ fileIDs , $ parentID ) { if ( is_array ( $ fileIDs ) ) { $ fileIDs = implode ( ',' , $ fileIDs ) ; } $ data = [ 'file_ids' => $ fileIDs , 'parent_id' => $ parentID ] ; return $ this -> post ( 'files/move' , $ data , \ true ) ; }
Moves one of more files to a new directory.

@param mixed   $fileIDs  IDs of files you want to move. Array or integer.
@param integer $parentID ID of the folder you want to move the files to.
@return boolean
Moves one of more files to a new directory .