PDA

View Full Version : Accessing your web space from a Windows forms client App


Swood
12-20-2004, 11:02 AM
Hi ,

I am trying to figure out how to have a client app (windows forms) create a directory on my web site.
I don't think you can map a drive letter . I tried this




Dim DInfo As DirectoryInfo = New DirectoryInfo(FilePath & "\" & JobYear.ToString & " Projects")


If Not DInfo.Exists Then


DInfo.Create()


End If





But I get an error that says (does not accept URI format)


P.S. Filepath = http://mysite.com/

bruce
12-21-2004, 12:34 PM
You cannot do tht.

the directoryinfo class can only access your computer's HD or network drive.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)