I want to make a folder on the client, which code could i use for that ?
i'd like to something like this: folder.create(c:\MyFolder)
but can't find the correct syntax...
Printable View
I want to make a folder on the client, which code could i use for that ?
i'd like to something like this: folder.create(c:\MyFolder)
but can't find the correct syntax...
You can't do that with a web application. You need a Windows application to do this.Quote:
Originally Posted by demoti
i see...
here is the situation.
upon saving the createbitmap.aspx, the application generates a bitmap (dynamically) and saves this to the local harddisk(c\MyFolder). If the folder doesn't exist it should be created.
I could also save the bitmap to the server (all of this is only accessible through intranet)... how could i create it on the server?
folder.create(aspnetserver\MyFolder)
Include a folder inside your virtual directory so if your project is at:
c:\inetpub\wwwroot\MyProject\ make a pics subfolder then Server.MapPath("pics") will point to the pics folder.
thanks!