I'm using the technique described for uploading media objects in this
Google Code tutorial:

Using cURL to interact with Google data services
http://code.google.com/apis/gdata/articles/using_cURL.html

Here is my command (at the BASH prompt, under Linux):

curl  --request POST --data-binary "@big.jpg"  --header " Slug:
big.jpg "    --header "Content-Type: image/jpeg"   --header
"Authorization: GoogleLogin auth=DQAA[lots of letters omitted here]
ZKG6kQ" "http://picasaweb.google.com/data/feed/api/user/mygmailaccount/
albumid/default"  | tidy -xml -indent -quiet

This command is issued on one line.   The authorization code is found
using the ClientLogin facility, as described in the tutorial.

This used to work fine, but now if I upload a small  jpeg  ( approx
175k),  it is successful, but I get an error from curl:   curl: (52)
Empty reply from server

If I try a larger file  (e.g.  850k),  cURL shows the file
transferring, and 100% transfers, but it never finishes, and I don't
get the  error 52 from curl.

I've been using this for about 6 months, and it worked fine at least
up through November.
Is anyone else using this technique?   I've been using this command
inside a PERL script, to upload a directory of pictures to picasaweb.

Richard

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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