Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 5th, 2003, 08:28 AM
Registered User
 
Join Date: Sep 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default downloading files

Hi,

I hope you guys can help me out.

Here's what I want to do.
I've got a number of files on my webserver and want to put these files into different directories on the clients machine. Is there a (simple) way of doing this within asp?

Thanks in advance for any kind of answer...

Greetings

Serge

 
Old September 6th, 2003, 06:36 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

There is no direct way with HTML/ASP/JS etc that you can force a user to install something in a given location, the best you can do is to make a recommendation to them.

The only way to do it would be to download a component onto the local machine, which is then run outside the browser which would drop the files in the correct place. This is however very risky as many people run different systems (Win 9x, NT, 2K, XP, Linux, Mac etc) so this becomes quite hard to code for all.
 
Old September 8th, 2003, 03:07 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

I agree with Greg about the ASP route.

Maybe you could use a zip file? You can include the directory info when you create the zip. browsers know what to do with zip files, so you could either give them the url of the zip file, or use ASP to serve up a zip file. Either way the client is going to have to consent to the file transfer.
 
Old September 8th, 2003, 03:24 AM
Registered User
 
Join Date: Sep 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks guys.
I was afraid these answers would come up. I'm thinking about using FTP, which is the next most obvious, since I cannot let the client have any input in the placement of these files.

Anyway, thanks again...

Serge

 
Old September 8th, 2003, 10:36 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 217
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mega
Default

Why is it that importent where the client put your files?

Regards - Jon





Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloading files via a browser gfrank1157 ASP.NET 2.0 Basics 3 June 14th, 2006 04:13 PM
Downloading files from an FTP server craigdberman Pro Visual Basic 2005 0 March 7th, 2006 12:13 PM
Please suggest me downloading 2 files at same time kvingupta Pro VB 6 0 March 7th, 2006 09:01 AM
Protect Files from downloading asif_sharif ASP.NET 1.0 and 1.1 Professional 6 January 11th, 2006 01:59 AM
Up/downloading Files VB+MySQL mike123abc Pro VB 6 3 May 24th, 2004 03:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.