12 messages in com.googlegroups.google-picasa-data-apiRe: ASP.NET again, uploading an image
FromSent OnAttachments
Maxmyd26 Dec 2007 05:01 
Maxmyd27 Dec 2007 03:25 
Ryan Boyd (Google)27 Dec 2007 10:08 
Maxmyd28 Dec 2007 02:10 
Maxmyd28 Dec 2007 05:34 
Ryan Boyd (Google)28 Dec 2007 08:25 
Maxmyd29 Dec 2007 00:48 
Dinmyer22 Jan 2008 19:32 
Ryan Boyd (Google)22 Jan 2008 21:38 
Dinmyer23 Jan 2008 19:23 
Frank Mantek24 Jan 2008 02:25 
Dinmyer24 Jan 2008 16:44 
Subject:Re: ASP.NET again, uploading an image
From:Dinmyer (Dinm@gmail.com)
Date:01/23/2008 07:23:55 PM
List:com.googlegroups.google-picasa-data-api

Thanks for the help. I have things working a bit better now - at least I can create an album.

On to my next question - I'm getting an exception thrown when I attempt to upload a photo using the proper Insert method:

returnedPhoto = service.Insert(uri, fs, GetMediaString(), this.paths[x]) as PhotoEntry;

Exception: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

My authentication is this (as I believe this could be related to my issues): service.setUserCredentials("mylo@email.com", "mysupersecretpassword");

I have gotten one other exception to throw that basically just says: Forbidden. Here's one more exception that I'm seeing every so often: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.

Last question - how can one specify privacy when creating an album/ uploading photos?