Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Download & computer name with ASP

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,905
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Download & computer name with ASP
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Download & computer name with ASP - 9/11/2003 4:27:24 AM   
  sorucs

 

Posts: 1
Score: 0
Joined: 9/11/2003
From:
Status: offline
1 - i have a site that runs on my intranet.
i have a database on sql server.
there is an asp page that lists all documents that users want to download .

doclist.asp:list the all documents (their ID,Code,Name,Desc,..)
when the user click the ID link, i want server to download the file to clients machine.i mean users shouldnt know where the files are located.
how can i make server download file to clients machine?
should i write a dll?

2 - How can i find the computer name?
server.variables("REMOTE_ADDR") gives IP
server.variables("REMOTE_HOST") should give the name but it gives same id. in the microsoft help file it says :
"The name of the host making the request. If the server does not have this information, it will set REMOTE_ADDR and leave this empty."

thanx...
 
 
Post #: 1
 
 Re: Download & computer name with ASP - 8/17/2004 10:16:08 PM   
  Matt

 

Posts: 30
Score: 0
Joined: 8/17/2004
From: United Kingdom
Status: offline
Just make a hyperlink to a page and set the download as the content of a frame. This will hide the URL.

Beyond that There's very little you can do if the users are technical as you MUST connect to a server to download from it.

When you say documents I take it you mean fiels not records from teh database.

(in reply to sorucs)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Download & computer name with ASP Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts