How to create and delete file on PC File Share from Windows Mobile

G

Guest

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,
 
G

Guest

I found out what my problem was. The share permissions were not being set.
Once I allowed 'write' the create and delete worked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top