I'm trying with tmp file and works.. But now I have the problem with try to 
resume file
$file->getBytes() from \MOngoGridFSFile Obj return exception "couldn't find 
file size"
Work in progress :) 


Il giorno venerdì 25 luglio 2014 12:08:21 UTC+2, Michał Piotrowski ha 
scritto:
>
> Hi,
>
> You can try to download this file to temp dir.
>
>
> 2014-07-25 10:47 GMT+02:00 Gianluca Arbezzano <[email protected] 
> <javascript:>>:
>
>> Hi sorry i'm trying to migrate my project in mongoODM but I have the 
>> problem with GridFs.. 
>> I'm trying to save a set of images by simple URL in gridFs..
>>
>> $still = new Document\StillFrame();                                      
>>  $still->setName("testName");                  
>> $still->setFile(http://url.of.image);                         
>> $dm->persist($still);                                                     
>>                                                                             
>>                           
>>  $videoAssetObj->setStillFrame($still);  
>>
>> But I have this error
>> MongoGridFSException
>>  error setting up file: 
>>
>> This method is supported?
>> Thanks
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "doctrine-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/doctrine-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Best regards,
> Michal
>
> http://eventhorizon.pl/
>  

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to