Thread:Extension talk:Push/File Push Hanging/reply (6)

Hi,

I think I did. Unfortunately I did not have enough time to test it properly, but changing the lines

264: if ( $egPushDirectFileUploads ) { 265:    $requestData['file'] = '@'. $imagePage->getFile->getPath; 266: }

of  to this

264: if ( $egPushDirectFileUploads ) { 265:    $file = $imagePage->getFile; 266:    $be = $file->getRepo->getBackend; 267:    $localFile = $be->getLocalReference( 268:         array( 'src' => $file->getPath ) 269:     ); 270:    $requestData['file'] = '@'. $localFile->getPath; 271: }

should work. Feedback is much appreciated!