Downloading multiple images

Check your code for typos and naming issues.  Sequential downloads won’t cause issues with downloaded files.

If you’re doing this in the simulator you can inspect the files directly in the Sandbox.

You were right, seems there’s something wrong with my drive, it’s showing files that aren’t there. Thanks for the help again!

Check the file paths you’re saving to by printing them in the listener to verify the path is full and correct.

I managed to fix the drive issue and went over the code but the images downloaded are still invalid, in the sandbox, a thumbnail doesn’t show like it normally would and i can’t preview the image.

What do you mean print the path?

okay, i got the path to print out and everything seems fine

Nevermind.  If you have downloaded the files then the path doesn’t matter any more.

I don’t know what to tell you.  

Give an example of a URL for one of these images so I can download it and look at the image.

So is this working now or you are your images still corrupt?

The path seems fine but the images are still corrupt

Here’s a sample url of one of the images:

https://drive.google.com/uc?export=download&id=0BwDQJtfQLhMGbUFQUU1GWnFMSW8

it’s what i was using with my previous solution, the previous one downloaded fine though, there isn’t much change so I’m not sure why it’s not working now

That isn’t a valid link and it really looks weird to me.  I don’t think you can rely on it working forever. 

  1. A normal link would have the actual file name and extension.

  2. That looks like it could be time-stamped to only last for a while then become invalid.

  3. Whatever the case, when I go to: https://drive.google.com/uc?export=download&id=0BwDQJtfQLhMGbUFQUU1GWnFMSW8

I get a 403 error. - No access to page.

Please share a link that works in a browser that anyone can download.

That said, I think you’ll probably have to work this out or hire help or get a mentor to help.

I’m out of ideas.  The fundamentals are correct, but I’m not sure what wrenches that URL scheme is throwing into the works.

That’s okay, I appreciate the help so far, looks like I’ll have to figure this one out on my own >.>

thanks for all the help!