Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
billyste - 19 Jul 2006 19:38 GMT
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,
Signature

Billy

billyste - 20 Jul 2006 16:24 GMT
I found out what my problem was. The share permissions were not being set.
Once I allowed 'write' the create and delete worked.
Signature

Billy

> 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
[quoted text clipped - 4 lines]
>
> Thanks,

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.