Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Code is uploading the same file twice (v3.2.9 & v4.1.1) #65

Closed
zfrankz opened this issue Oct 10, 2014 · 5 comments
Closed

Code is uploading the same file twice (v3.2.9 & v4.1.1) #65

zfrankz opened this issue Oct 10, 2014 · 5 comments

Comments

@zfrankz
Copy link

zfrankz commented Oct 10, 2014

Hello, I found that my code is uploading the same file twice to FilePicker and I don't know if I'm doing something wrong or is an issue.

This is my code:

FPPickerController *fpController = [FPPickerController new];
    fpController.fpdelegate = self;
    fpController.dataTypes = @[@"text/plain",@"application/rtf",@"application/msword",@"application/vnd.openxmlformats-officedocument.wordprocessingml.document",@"application/pdf"];
    fpController.maxFiles = 1;    
    fpController.shouldDownload = YES;
    fpController.shouldUpload = YES;

    [self presentViewController:fpController
                       animated:YES
                     completion:nil];
@rnine
Copy link
Contributor

rnine commented Oct 20, 2014

@zfrankz Could you show a relevant piece of code and/or log that illustrates this double download issue?

@zfrankz
Copy link
Author

zfrankz commented Nov 25, 2014

Sorry for the delay, That's my FPPickerController setup and this is what I have in my account:

filepickerscreenshot

Also, here is my completion method:

- (void)FPPickerController:(FPPickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info{
    if (info)
    {
        [picker dismissViewControllerAnimated:YES completion:^{
            [[MyFileManager sharedManager] userIsUploadingFileWithInfo:info];
        }];
    }
}

@zfrankz zfrankz changed the title Code is uploading the same file twice Code is uploading the same file twice (3.2.x) Dec 15, 2014
@dzana
Copy link
Contributor

dzana commented Jan 9, 2015

Hi,

Sorry for late response. We are invistagting the problem. I let you know when we find the solution.

@zfrankz zfrankz changed the title Code is uploading the same file twice (3.2.x) Code is uploading the same file twice (v3.2.9 & v4.1.1) Feb 23, 2015
@zfrankz
Copy link
Author

zfrankz commented Feb 23, 2015

Hello, it has been a very long time waiting for a response and still having... nothing. Just realised that the same problem is in v4.1.1

Any ideas?

@dzana
Copy link
Contributor

dzana commented Mar 17, 2015

Hi,
The problem is now resolved.
You don't need to upgrade library version because problem was on server side.

Regards,
Damian

@dzana dzana closed this as completed Mar 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants