Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 5th, 2003, 08:28 AM
Registered User
 
Join Date: Sep 2003
Location: Utrecht, , Netherlands.
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

Reply With Quote
  #2 (permalink)  
Old September 6th, 2003, 06:36 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
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.
Reply With Quote
  #3 (permalink)  
Old September 8th, 2003, 03:07 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
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.
Reply With Quote
  #4 (permalink)  
Old September 8th, 2003, 03:24 AM
Registered User
 
Join Date: Sep 2003
Location: Utrecht, , Netherlands.
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

Reply With Quote
  #5 (permalink)  
Old September 8th, 2003, 10:36 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Copenhagen N, , Denmark.
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:35 AM.


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