Hi Guys,
i write a small routine for moving a folder into a folder. The
function is:
public void SpostaCartella(string idFolder, string
idDestinationFolder)
{
// create a feed uri
string strUri =
"http://docs.google.com/feeds/folders/private/full/
folder%3A" + idDestinationFolder;
Uri myfeeduri = new Uri(strUri);
// create a category with term and scheme
AtomCategory category = new
AtomCategory("http://schemas.google.com/
docs/2007#document", new AtomUri("http://schemas.google.com/g/
2005#kind"));
// create a atom entry
AtomEntry movefolder = new AtomEntry();
movefolder.Id = new
AtomId("http://docs.google.com/feeds/documents/
private/full/document%3A" + idFolder);
movefolder.Categories.Add(category);
// send command
myService.EntrySend(myfeeduri, movefolder,
GDataRequestType.Update);
}
where idFolder or idDestinationFolder is, for example,
993caffd-6f69-4bca-87c4-625a1c7269ca ...
this function return a error:
Google.GData.Client.GDataRequestException: Execution of request
failed:
http://docs.google.com/feeds/folders/private/full/folder:993caffd-6f69-4bca-87c4-625a1c7269ca
---> System.Net.WebException: Errore del server remoto: (400)
Richiesta non valida.
why? can we help me?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Docs Data APIs" 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-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---