Results 1 to 3 of 3

Thread: Default directory to download to?

  1. #1

    Thread Starter
    Fanatic Member Graff's Avatar
    Join Date
    Jan 2002
    Location
    Calgary
    Posts
    668

    Default directory to download to?

    I have a webapp I'm building and it has a save button which creates a text based file and forces a download (using the Response.Addheader method) I would like to be able to specify a default directory for that file when the save dialog comes up, anyone know if its possible or have done it?
    If wishes were fishes we'd all cast nets.

  2. #2
    If you mean the client side

    A default directory on the client-side would be dependant upon the directory and drive structure of the client's computer, which would be different on different computers. This is why the application and OS handle the default directories.

    Because of this, the browser would not allow it for security reasons.

    However there are many client side languages that can be distributed via the browser so you get near full control more like a Windows app, thereby giving little restriction of the client/server enviroment.

    Such as:
    Java Applet (not javascript)
    Flash Scripting
    Active X Control
    Last edited by DHC Web Hosting; Aug 30th, 2004 at 02:05 AM.
    Developer Web Hosting - ASP.NET & PHP
    www.datahostingcenter.com
    15% OFF HOSTING Coupon for Forum Members - Enter:
    vbforums

  3. #3

    Thread Starter
    Fanatic Member Graff's Avatar
    Join Date
    Jan 2002
    Location
    Calgary
    Posts
    668
    Pretty much as I suspected. This webapp is targeted at the Windows users anyways so active X control it is
    If wishes were fishes we'd all cast nets.

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