|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to create and delete file on PC File Share from Windows MobileHas anyone be able to create or delete a file located in a PC File Share
folder? I keep getting a "UnauthorizedAccessException". I need to be able to delete the file on the PC after the mobile device grabs a copy of the file. The copy is working so I know I have a connection. I've opened all permissions on the PC File Share but can't delete the file. I'm using the file.delete("fullPath") method. Thanks, -- Billy I found out what my problem was. The share permissions were not being set.
Once I allowed 'write' the create and delete worked. -- Show quoteBilly "billyste" wrote: > Has anyone be able to create or delete a file located in a PC File Share > folder? I keep getting a "UnauthorizedAccessException". I need to be able to > delete the file on the PC after the mobile device grabs a copy of the file. > The copy is working so I know I have a connection. I've opened all > permissions on the PC File Share but can't delete the file. I'm using the > file.delete("fullPath") method. > > Thanks, > -- > Billy |
|||||||||||||||||||||||