ASP File Downloads

I have an Access db with usernames and passwords set up on a web site. Upon signing in to a password protected asp page which contains a link to an exe file, the user clicks the link and the browser asks to either Open or Save the file.All this works fine, but if the user simply types the full path to in the address bar, the browser again asks the user to either Open or Save the file - thus bypassing the security Is there a way to prevent this "back door" of accessing the file or would I have to set up an FTP mechanism.

View Replies


ADVERTISEMENT

File Downloads

I want to provide the ability to download files from a web page based on whether a user has paid for the file. I therefore need to hide the URL from the user.

How do I write code to download a file and hide its URL?

View Replies View Related

Disabling ASPBufferingLimit For File Downloads

I have a website that (like many) allows users to download large files. Some are up to several hundred MB in size. The problem is that since switching to IIS 6.0, the size of the file is limited by the ASPBufferingLimit, and it's size seems to be limited to only 4294967295 bytes.

That's pretty big but it's not quite big enough and I need to disable it. Some people have recommended setting it to -1 via:

c:
cd C:inetpubadminscripts
cscript adsutil.vbs set /w3svc/1/aspbufferinglimit -1

but the -1 doesn't really "take"...IIS keeps it at 4294967295.

Setting it to 0 does "take", but then IIS returns nothing (0 bytes).

How do I disable or workaround this security feature in IIS which is not allowing people to download large files?

View Replies View Related

Enabling Multiple File Downloads

I currently need to allow users to download a series of Excel files from the intranet which were generated individually using ASP. Rather than have them click one link at a time to download only one file, I want to find out if it is possible to let them download the whole series of files with one link click.

The users are all on the LAN so bandwidth is not an issue. Furthermore, the total size of all the files is only 100kb.

View Replies View Related

Iis And Pws Downloads

I'm running windows 2000 profession, and i know that i can install it from control panel but i tried and it's asking me for the cd and id ont have it.

Could you give me the direct links to the IIS Download as well as the Personal Web Server download.

View Replies View Related

FTP Downloads

I have an FTP server that I use to store documents. When a user needs to download any document the "download link" directly points to the FTP server (eg: <a href="ftp://some URL since URL are blocked">Download</a>). I want to avoid this and now have added a user name and password to the FTP sever. But instead of giving the link as "ftp://usernameassword@myftpserver.com/document.xls, I want a much secure way of letting the user download the file without letting the user know about the FTP server username and password.

View Replies View Related

Logging Downloads

I need to log how many times one spesific file is downloaded from my
website. First I thought this could be done simply by routing via a script
that count number of downloads, and then redirect to the spesific file. But
this soultion will not work when a user right click on the file/link and
choose "save target as...". How can I solute this?

View Replies View Related

Successful Downloads?

Is it possible to log a successful/unsuccessful download in ASP? I've got a download logging system but I'm wondering if its possible to find out if a download was disconnected or not?

View Replies View Related

Detect Downloads

Is it possible to detect downloads of a file on the web server? Using ASP Classic?

View Replies View Related

Server->user Downloads

I have an VB ASP page that creates, using a linked database, ad-hoc queries. Like, the user selects what table to look into, what fields, any criterias (ex: PROVINCE="QC"), etc. That part is easy.The problem is, I would like the results to be outputted in MS EXCEL. Well, it's not my idea, but I have to do it. Any ideas how this can be done?
My only idea would be that:
1) The ASP page writes to a file on the server and offer a link to the user to download that file.
2) User Downloads
3) We can't have these Excel files cluttering up the server, so the file would also have to be deleted automatically.

Is this even remotely possible?
I'm not too good with ASP, so is it even possible to write to file? Could I create a Workbook/worksheet object using VB ASP?Can I delete the file programatically

View Replies View Related

Queue Up Downloads Then Download 1 By 1

Does anyone know of a way to be able to take 10 urls which point to zip files and then for it to download them one by one, i.e. when one has finished to then begin the next one.

This is for an asp site which is why i posted it here, but i am not sure where to post this as i dont even know how to go about doing it.

View Replies View Related

How To Restrict Unauthorized Downloads

I have a website setup which also provide ability to download latest version
of our Software by logging into the webpage. All latest softwares (ONLY ONE
FILE .EXE for each Software) are located in the "/Download" folder of my
website. Customer will login to website and the ASP page decide the software
that this user has purchased and privide ONLY that Hyperlink to download the
latest Version file.

My problem is if somoe body know the path and file name then they directly
put the URL in address bar and will get latest file. How do I restrict that?
Please suggest all possible solutions.

View Replies View Related

Verifying Completed Downloads

A big problem with most server statistics is that when they count file downloads, they are counting the number of requests to the server, not complete downloads. Is it possible to count downloads more accurately?

I can use the Response.IsClientConnected command immediately after streaming the file to the browser but it's working only for files with size less then 80MB . How can I resolve this problem?

View Replies View Related

Prevent Unauthorized Downloads

I have a file that SHOULD only be made accessable to registered users. They must login to get to the download page. The problem I have is that once a user logs in an gets to that page they can potentially share the web link to that file with anyone and that unregistered user can bypass logging in.

I was thinking something along the lines of download.com where when you click download, the actual files location only appears for a split second, pops up the download box, then it switches to another webaddress?

View Replies View Related

Converting An Image File To Hexa, Read Text File

i'm converting an image file to hexa..then the hexa is saved to a text file..

can any one help me how to read the content text of a text file?...

im doing it this way because i don't want to save hexa in my database, because it makes the database slower to open up.

View Replies View Related

File Properties :: Find Out The Width And Height Of An Image File

is there a way, using asp, to find out the width and height of an image file?

View Replies View Related

File System Object - Check If File Is Being Read

I have code that loops through a directory reading files..

now the problem is that files are constantly being uploaded and I only want the file system object to read those that are finished being uploaded.

How can I check the properties of the file to see if it's in middle of being written before i read the file?

View Replies View Related

How To Open A File Dialog And Get The Path Of The Selected File In ASP?

i am having a problem in how to create a Open File dialog to enable user to select a image file that will be stored into database. i just want the file path to be stored in database, not the image.

View Replies View Related

How To Find Excel File Width And File Version

It works if the file in on the server side, how to use the component (DSOleFile) with the file on the client side? Also how can I calculate the width of the file. (Page set up - Landscape or porrait). Code:

View Replies View Related

How To Do Online Streaming Audio File Or Video File?

I need to do online streaming multimedia file on my web portal, just like those online portal that selling MP3. User need to click on the preview link to stream the audio file to listen before they decide to buy the file or not. How do i link my audio file in my web server to allow it to be stream? Totally lost on this function,

View Replies View Related

File System Search On An Asp File Yields Not Results

This question has to do with MS file search but it is happening only with
..asp pages, so I though someone programming with .asp pages has experienced
the same situation.

I'm trying to find .asp pages with a certain table name (i.e.
"renewalInfo" )

When I ran the search I get no results. I know that I have that string in a
couple of pages. My file system search engine is working fine with other
file types, like Word documents, Excel spreadsheets, etc.

I tried typing the string outside the <% %> tags and when I do the search I
get the file results, so it seems like if the search engine in my file
system was not searching inside the <%%> tags. Code:

View Replies View Related

File Upload - Need To Check File Size

I'm having a problem with the fact that I want to allow image files to be uploaded to a remote web server, as the hosting package the web site is on is IIS6 and has a default file upload size limit of 200kb. As it's a shared hosting package, the default limit cannot be changed for me unfortunately.

Anyway - i need to check the size of the file being uploaded, so i can notify the user and prevent them getting the default Microsoft error message page. The problem is that I can't implement a server side size check which works, using either Request.TotalBytes or load.getFileSize (with "load" being an object of my loader class). It seems that I can't carry out any of these operations when the file size is too large.

View Replies View Related

Executing A Asp File Inside A Executed File

I'm trying to run the server.execute command inside a executed file. It doesn't work. Can anybody tell me why? I've searched all around and haven't found a reason. Could it be because it's not supose to work, or is the syntax diferent then in the first file?
It's something like this:

File 1
...
<%Server.Execute("File2.asp")%>
...

File 2
...
<%Server.Execute("file3.asp")%>
...

File 3
<HTML>
<body>
Hello!
</body>
</HTML>

Is this possible?

View Replies View Related

File System Object - Not Deleting File

I am using the File System Object to create server side cookies and part of
the Function that I am writing deletes a file but I am getting a permissions
denied error on that line of code.

I am using Integrated security only on this site but how do I get the
IUSER_Machinename account to work with Integrated Security?

View Replies View Related

Vbscript Include File In Jscript File

I have an asp page written entirely in jscript with a vbscript used as an include file which one variable on the page must access.

When the page runs, I run into jscript complilation errors when it tries to access the include file (since it is written in vbscript), and I can't figure out how to get the two to work together. How do you get both scripting languages to work on the same page?

View Replies View Related

Store File Path And File Name Seperately

if i got a file path as a variable say for Example:

c:folder1folder2folder3folder4file.txt (The Path could be any long)

how do i just store the Path of the file name and the file name seperately. like :

File Path=c:folder1folder2folder3folder4
File Name=file.txt

View Replies View Related

Upload File To Server And Get File Properties

I would like to add a facility to my web page which allows users to upload basic files (word, excel, text, gif, jpg etc) to the server.

I know there's a facility to do this using HMTL forms, but I don't know how to handle the file on the server side.

What I think I need is an ASP file running some code to manipulate the filesystemobject, allowing me to receive the file and store it in the filesystem on the server. It would be nice to access some of the file properties too (name, type etc).

I've seen a few custom components online which allow you to do this, but I can't depend on installing them. I need to be able to script it myself.

View Replies View Related

Streaming File To User: 'File Could Not Be Opened'

I have a page on our intranet that is supposed to stream an Excel sheet to
the user. I'm using pretty standard code:

View Replies View Related

Converting Text File To Sound File In ASP

Does anyone know of a method of converting text files to sound files (.wav, mp3 etc) which can be accessed from ASP?

I have an ASP-based website that enables users to design choreography for equestrian dressage. The resulting design is held as a series of coded movements in a database and it can then be reproduced as text or as a series of diagrams. I would like to offer the option of an audio version.

View Replies View Related

Set File/User Permission With ASP/VBScript To A File

i would like to add a user and set file permission to a file with ASP.
(No component). is that possible ? do you have a link ? an example ?

View Replies View Related

ASP File Upload - Limit File Types?

I would like to use this code on my website to allow simple file uploads from clients. I would like to restrict the file types they can upload. Code:

View Replies View Related

File Held On Server's File System

i am currently working on a project in which part of the requirements are to store files on the Server filesystem and make these files available for download by users. Is there a simple way to provide the user with a link which starts downloading the file when it is clicked?

View Replies View Related

File Extension Validation Before Uploading The File....

I have an upload feature on my site... it works fine... but I want to validate the uploading file extension for .doc or .html before being uploaded to the server(client-side).

I have the validation to check text fields are not blank.... The first validation is for checking the text field... the second "blob" is the file upload field.... This is my code in Vbscript.. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved