Hi,

I'm guessing this is because wget is sending the Content-Type as "text/
plain" instead of "image/jpeg" since your post file is a .txt and not
a .jpeg or .jpg. You could either use --header to send the header
yourself or you might also want to look into curl which is a little
better for doing things like this on the linux commandline.

Cheers,
-Jeff

On Sep 18, 4:38 pm, James <[EMAIL PROTECTED]> wrote:
> I am trying to 
> implementhttp://code.google.com/apis/picasaweb/developers_guide_protocol.html#...
>
> My first attempt is 'without metadata' using the following command on
> Ubuntu
>
> wget --timeout=64 --proxy=off --tries=8 --output-
> document=picasa_upload.log --post-file=postdata_upload_google.txt --
> referer=http://www.whatever.com/refer.htmlhttp://picasaweb.google.com/data/feed/base/user/go.gle.api.test/album...
>
> ... where 'postdata_upload_google.txt' is viewable online 
> athttp://docs.google.com/Doc?id=dc4j5vhg_0hc3mrgcb
>
> This gives   ERROR 415: Unsupported Media Type
>
> Does anyone in this group know what might be causing this error?.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to Google-Picasa-Data-API@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to