how to copy files from web server to client

Z

zerbie45

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

Bob Barrows [MVP]

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
 
B

Bob Barrows [MVP]

SEOSpecialist said:
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.
 
V

vicky

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
 
E

Evertjan.

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top