Results 1 to 5 of 5

Thread: create folder (client) *resolved*

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2003
    Location
    Gent
    Posts
    166

    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

  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    Re: create folder (client)

    Quote 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.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2003
    Location
    Gent
    Posts
    166

    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

  4. #4
    Frenzied Member
    Join Date
    Aug 2000
    Location
    Birmingham, AL
    Posts
    1,276

    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.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Nov 2003
    Location
    Gent
    Posts
    166

    Re: create folder (client)

    thanks!
    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
  •  



Click Here to Expand Forum to Full Width