Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
fbrussa  
#1 Posted : Thursday, March 24, 2011 5:02:22 AM(UTC)
fbrussa

Rank: Newbie

Groups: Member
Joined: 12/29/2010(UTC)
Posts: 6

Hi, i have the next code:


Code:

$uploader = new Uploader('Uploader1');
....
....
$uploader->setLicenseKey(....);
.....
$uploader->getUploadSettings()->setFilesPerPackage(1);
.....		
$uploader->getClientEvents()->setAfterPackageUpload("Uploader1_AfterPackageUpload");
.....
.....
$as3 = new AmazonS3Extender($uploader);
$as3->setAWSAccessKeyId($amazon_AWSAccessKeyId);
$as3->setBucket($amazon_Bucket);
$as3->setSecretAccessKey($amazon_SecretAccessKey);
.....
.....
$as3->setFiles($fileSettings);
$uploader->render();




This works well, but "Uploader1_AfterPackageUpload" is triggered at complete all files, and not on complete each file (FilesPerPackage=1)

some idea ?
Dmitry.Obukhov  
#2 Posted : Friday, March 25, 2011 1:44:40 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Fabián,

We checked this situation in our test lab. Our developer created simple application based on uploading to Amazon S3, and added AfterPackageUpload event. This event was executed after uploading every package.
Could you please provide me with a link to your site (login/password if any) with Image Uploader where you face this problem? If you do not want to post this data on public forum, you are able to submit new support ticket.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.