|
-
Apr 12th, 2005, 08:03 AM
#1
Thread Starter
Addicted Member
create folder (client) *resolved*
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...
Last edited by demoti; Apr 12th, 2005 at 08:32 AM.
Reason: resolved
never argue with an idiot, he will bring you down to his level and will beat you through experience
-
Apr 12th, 2005, 08:09 AM
#2
Frenzied Member
Re: create folder (client)
 Originally Posted by demoti
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.
-
Apr 12th, 2005, 08:23 AM
#3
Thread Starter
Addicted Member
Re: create folder (client)
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)
Last edited by demoti; Apr 12th, 2005 at 08:27 AM.
never argue with an idiot, he will bring you down to his level and will beat you through experience
-
Apr 12th, 2005, 08:27 AM
#4
Frenzied Member
Re: create folder (client)
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.
-
Apr 12th, 2005, 08:28 AM
#5
Thread Starter
Addicted Member
Re: create folder (client)
never argue with an idiot, he will bring you down to his level and will beat you through experience
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|