First of all, this will not compile because the backslashes are not escaped.
Second, you are opening a OutputStream to a Directory, not a file ... This will obviously not work. -----Original Message----- From: Peter Dawn [mailto:[EMAIL PROTECTED] Sent: Freitag, 8. September 2006 07:14 To: tapestry-user@jakarta.apache.org Subject: File copy - Access denied error guys, i am trying to implement a file upload function within my web app. now i am allowing the user to select a file using a browse button and then when they click upload, i copy it to a set folder on my server. however when i try to implement it i am getting a Access is denied error. I am using standard fileoutstream. uploadData = new FileOutputStream("C:\Share\"); any ideas. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]