how to copy files from web server to client

Discussion in 'ASP General' started by zerbie45@gmail.com, May 23, 2006.

  1. Guest

    Hi all,

    I need to know if, and how, it is possible to use ASP to download a
    file automatically from the web server to the client in a given path.
    Is that possible ? Ideally I want a page with a link that when pressed
    it will copy a certain file that exists on the web server down to the
    client.

    Any help is appreciated!

    Thanks in advance.
    , May 23, 2006
    #1
    1. Advertising

  2. wrote:
    > Hi all,
    >
    > I need to know if, and how, it is possible to use ASP to download a
    > file automatically from the web server to the client in a given path.
    > Is that possible ? Ideally I want a page with a link that when pressed
    > it will copy a certain file that exists on the web server down to the
    > client.
    >

    No. This is not possible due to security reasons. All downloads need to
    be initiated by the user, and the user gets to pick where the file will
    go.

    If you are in a WAN, there are other ways to accomplish your goal, which
    you can discover by posting to a network administration newsgroup 9I
    con't know any offhand - you will need to google for them).

    Bob Barrows
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.
    Bob Barrows [MVP], May 23, 2006
    #2
    1. Advertising

  3. SEOSpecialist wrote:
    > Hi Bob.... think you misunderstood zerbi's question because he does
    > indeed want it to be user initiated.


    Why do you say that? He used the word "automatically" and the phrase " ...
    to the client in a given path".

    However, I hope you are correct and his problem is solved.



    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"
    Bob Barrows [MVP], May 24, 2006
    #3
  4. vicky Guest

    Hi there,

    It is possible, just create a fso object write the file using this,
    give the path and it will be saved to that path directly.

    Vivek
    vicky, May 27, 2006
    #4
  5. Evertjan. Guest

    vicky wrote on 27 mei 2006 in microsoft.public.inetserver.asp.general:
    > It is possible, just create a fso object write the file using this,
    > give the path and it will be saved to that path directly.


    Not with standard internet security of the browser.

    Yes with a simple wscript on the client,
    however that has nothing to do wih ASP.


    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
    Evertjan., May 27, 2006
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve Richter
    Replies:
    4
    Views:
    5,454
    Steve Richter
    Apr 18, 2005
  2. -
    Replies:
    2
    Views:
    393
    Alan Krueger
    Jul 29, 2005
  3. Alex
    Replies:
    2
    Views:
    1,218
  4. Replies:
    26
    Views:
    2,107
    Roland Pibinger
    Sep 1, 2006
  5. mike11d11
    Replies:
    2
    Views:
    875
    Alexey Smirnov
    Oct 15, 2007
Loading...

Share This Page