You are reading it right, apps are not allowed to write to the file system.
To add attachments you don't need to create temporary files, the Mail API accepts in-memory data: http://code.google.com/appengine/docs/mail/attachments.html Cheers, Alex -- www.muspy.com On Dec 28, 9:22 am, "[email protected]" <[email protected]> wrote: > what do they mean by the application can not write data to the file > system. i have an email application written in c# and in order for it > to be sent it must temporarily post to which ever server its running > on in order to relay to its client like so > > strFileName = Path.GetFileName(FileUpload1.PostedFile.FileName); > // Preced the file name with "attachments/" so > // the file is saved to our attachments directory > strFileName = "attachments/" + strFileName; > // Save the file on the server > FileUpload1.PostedFile.SaveAs(Server.MapPath > (strFileName)); > // Create the email attachment with the uploaded file > Attachment attach = new Attachment(Server.MapPath > (strFileName)); > // Attach the newly created email attachment > Mail.Attachments.Add(attach); > > so would something like this work on theyre end --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
