Know When Image Finishes Downloading
I'm developing a system for a person person to only be download the image once, but I have to allow for lose of connection for what ever reason. I've got the basic system working using SMS wap push.
I don't really want to give them a time window to download the item in as that leaves the possibility of them sharing with their friends, or not getting to download the image if the window expires.
What I want to do is use a querystring in the link to make the reference unique and flag in the DB when they've downloaded. Trouble is I can't figure out how to know when they've downloaded the image.
My train of thought has gone to getting some way to monitor how much of the image has been downloaded. Any one know how to do this? Or better yet anyone have any altrnative suggestions?
View Replies
ADVERTISEMENT
i want to set mime type of an image which is available for download.i gave the link of following page from a wml page and try to download a jpeg file on mobile.
test.asp
<%
Response.contenttype="image/vnd.nok-wallpaper"
response.redirect( "http://localhost/test/mustafa.jpg" )
%>
but instead of redircting to jpg file andsetting its mime type , my fone download test.asp and says file formate unknown.
View Replies
View Related
I have a problem and it's pretty basic. I need to install PWS on a Windows NT Workstation 4.0 PC in college but cannot find a download just for PWS. I've done a search of the web and microsoft's download site and still no luck.
Installing IIS is not an option as Im technically not allowed to install anything and I'd rather it be PWS than a bigger and more noticeable IIS. I've heard that it comes on the Windows 98 disk but unfortuneatly I do not access to one.
Does anyone know of a link to download PWS? I've heard that it comes with an NT Option Pack aswell but can I just install PWS from this or will it change other settings?
View Replies
View Related
I've been searching through google and different script sites to try and locate a script for simply downloading files(Small video clips) from an access database to my web page. But have been unable to find what I am looking for.
Do any of you guy's know of any good scripts. Don't need anything fancy just the basics.
View Replies
View Related
I'm using Infomentum's ActiveFile to download files. My machine is running Windows'98 and IE 5.5. I'm able to download all kinds of files except PDF files. I'm using the components File.Download method as per the example available in the web site and the directory that contains the file has sufficient rights granted, surprisingly I'm able to download those PDF files through OPERA.
I did not get any error when I go to the download, instead a blank page was displayed.
View Replies
View Related
I'm creating the Intranet for my company and in one of the parts of it I want that users to be able to upload and download files, however, I'm not sure what would be the best option/application to use for its creation. I need them specially for the uploading to be able to track when was the upload done, which user did it, and so on.
I have been using ASPs to create the website. Could I do this with ASPs ?
View Replies
View Related
i want that user should listen the songs without downloading.
there is link for every song when user click on the link the small popup will open and then song should start. but for that user dont have to download the song.
please tell me it is possible or not or if possible then please tell me the code.
View Replies
View Related
I am developing an app that has a reporting function
which displays the non-PDF reports. One of the users
wishes to have the reports saved to his machine as PDFs.
The app can convert the reports, and save to the server
with no problem (uses a component for this). The problem
is, figuring out how to save the reports to the client.
The ideal approach would be to have the app save the
reports to his desktop, like some of those stupid casino
sites save their shortcut links.
However, I would settle for just just being able to force
the "download" dialog to display, instead of opening
Acrobat when the app attempts to send the report to the
client.
View Replies
View Related
I am developing web pages , therein doing database
connectivity using ASP with Microsoft Access.I want to
insert a file (.opt/.pmopt) into a field 'OLE Object'. Also
I want to display that file name in tabular form and a link
to download that file.
View Replies
View Related
There any way to download files I'm keeping stored above the www
folder for security
I'm thinking of the following : My script determines what file the user
requests, checks their credentials, and then "forwards" the file from the
non public directory to the user.
View Replies
View Related
The help is not very informative here, but it says, that it is possible to
download files, by using the 'a' tag. What I am trying to do, is create a
link, that the user clicks, which will download a file from the server. This
works fine for most files, but for things like TXT and HTM, they open in the
browser window. I want the 'Save As' dialog box to appear, instead.
If I use;
Response.Write "<a href='http://mydomain/myfile.txt'>myfile</a>"
I get the contents of myfile.txt displayed in the browser window. If I use;
Response.Write "<a href='http://mydomain/myfile.mdb'>myfile</a>"
I get the 'save file as' dialog box appear. How do I force the 'save file
as' dialog box to appear for ALL files
I tried using the 'FileSystemObject' and using the 'Copy' method of GetFile.
But this does not allow you to have a 'user defined' path to save the file
(which is pretty obvious, as this is the server side)... Is there another
function that I can use, or is there a property setting of the anchor tag,
that I need to set
View Replies
View Related
From the client side, I want to download a pdf file from the server side that was initially saved there.
this site didnt work for me: ....
View Replies
View Related
i m getting file not found error when iam trying to download a file with name "test..doc" the actual file name is "text." and the extension ".doc".does using DOT(.) got any limitations with file names? strangly in the development i was able to download such file with dots at the ending.
View Replies
View Related
I am writing asp page, based on the selection of the drop-down list I want to allow the user to download some files.for example
my drop-down list will contain a select control and a button
select control will have
File1.doc
file2.doc
file3.doc
e.g. when file file2.doc is selected and clicked on the button, the user should be able to download that file from the server.
View Replies
View Related
I want to use the information stored in an SQL database. There is a website with .asp pages that access it. I want to know if I can download the .asp files un-compiled so that I can see how they access the database or is there a way to see how the database is structured without getting the asp files?
View Replies
View Related
I have a download function that allows a site visitor to download a file. It works when the page that calls the function, the function, and the file to download are all in the same folder. I want to be able to have the page that calls in one folder, the function in another folder and the file in a third. Any advice? Code that is working when all three are together:
Function doDownload (fileName)
dim myAttachment
myAttachment = "attachment; filename=" & fileName
Response.AddHeader "Content-Disposition", myAttachment
Response.ContentType = "application"
response.BinaryWrite fileName
End Function
View Replies
View Related
I have an asp script on a server. However whenever I link to the script, instead of running it, the browser displays a message saying. "You are downloading the file "filename" from "server name" Would you like to open this file or save it to your computer ?
View Replies
View Related
im trying to add a facility to upload and download files to and from my web site. The uploaded needs to be made available to be downloaded. Does anyone know the coding for this, as its being bugging me for weeks. I just cant find code anywere.
View Replies
View Related
I'm developing a webpage in ASP and javascript for downloading s/w. I've set of files and when user clicks download I should zip all files and provide user to download .zip or .tar file. how should I do this?
View Replies
View Related
why does %20 replaced with spaces in the file names iam trying to download? when i right click and save, the spaces are not replaced but when i click on the link and access through the http headers spaces are replaced with %20.
Moreover when i save file to the system, windows treats. "abc%20xyz.jpg" and "abc xyz.jpg" as a different files. why winodws is treating them as different file names?
View Replies
View Related
I am now working in a project where my client registers inmy site. after registering and the confirmation of the demand draft i will be sending him a link to the download of the product. till now the work is OK. but if in any case my client is not able to complete the downloading and if he wants to resume it in a later time, it is not possible.
bcas i am deleting his link immediately after request to download ( to avoid him fron forwarding the link to some one else). if i didnt delete his record some one else can also dwnload the same product from me.
View Replies
View Related
I am using forms authentication to protect all content as described in the
kb article below.
http://support.microsoft.com/defaul...kb;en-us;893662
This works fine except for files that are larger than about 40 or 50mb at
which point the user gets a 404 error and the httperr log indicates
connection_dropped status.
This is a w2k3 server with SP1 and all security patches installed.
Has anyone seen this before? I have been reading various posts online but
none seem to fit this symptom. Also have tried tuning various meta-base
properties to no avail.
View Replies
View Related
I have a selection of MP3's on my website, (non-copyrighted of course), I have an asp page that list the directory of MP3's which then provides a link to another ASP page to force download the file.
<%
Response.AddHeader "content-disposition","attachment; filename=" & Request.QueryString("fname") & ""
%>
Up until the weekend just gone, this worked fine, but now it only downloads a 0 byte file.
Obviously my code hasn't changed, so has anyone any other ideas whats gone wrong or another way the force download of a known mime type can be acheived.
View Replies
View Related
I want to create a asp page where i can give the user an option of downloading a file or opening a file e.g an excel file.
How do i do this?? Ive already created an asp page which has a button- where the user can click on the button. The excel option of either opening the file or downloading it comes up- but i want this option actually on a asp page. How do I go about this?
View Replies
View Related
I have this weird problem when downloading video files on my ASP/IIS. My download code seems to be working since i can download every file except for video file ext. particularly mov and mpg. The download dialog prompts with the right file size except that it doesnt recognize the header or content type of the file.
View Replies
View Related
My ASP appllication displays reports and also provides a functionality to download the report in CSV format. This works fine. But If I change my local setting of my PC to finnish, then the csv file contains only one column and all the information is placed in that column.
View Replies
View Related
I have an ASP Code that was provided to us, but from the research that I have been doing, it request an ASPUpload installed. Is that some sort of script on IIS? Or is it something that has to be purchased? I was trying the script, but when I do, I get an error:
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/upload/upload.asp, line 5
Line 5 has the following:
set objUpload = Server.CreateObject("Persits.Upload.1").
View Replies
View Related
I am working on a new website using .asp as the format and for some reason when I use firefox or IE to view the pages, I will be given the option to download the file instead of just opening the file in the browser.
The pages have been uploaded to test directory on a server that I use for development. The other pages that are my actual site that are asp pages work fine.
Any ideas?
View Replies
View Related
help me in securing a pdf file on my site. i want ot provide a pdf file that can only be viewed and not downloaded.
View Replies
View Related
I have been lately dealing with developing an ASP based web application which uploads documents to a folder. Application itself is password protected by the session.
I am now looking for securing the documents that are uploaded.
For example;
Let's say AAA.doc is uploaded to "/docs" folder by this password-protected application. But, I can't prevent the following link to download this Word document:
(URL address blocked: See forum rules)
How can I prevent the above link to download AAA.doc? Is it something possible to restrict it with a session variable? I also want the user who are authenticated at the beginning to view or download the file, but unauthenticated users shouldn't view it.
I found some articles but they are speaking about IIS level things. Folders may be created dynamically. Is it possible to have this security feature at application level?
View Replies
View Related
I'm curious as I am in need of advice on how I can move a site from an old Win 2K server, to it's new home on a Win 2003 server, without having to mess around with downloading/uploading the file's (there's over 30,000 file's/folders, so it would take forever to do it manually).
I've heard of an ASP script thats capable of this, but can't seem to locate it.
View Replies
View Related
I have written code to download the file stored in the database.
according to some condition the data in database is written using binary write.
If Not rs.EOF Then
Response.ContentType = rs("Content Type")
Response.BinaryWrite rs("File Data")
End If
but when i try to write some filles other than pictures, it will prompt to save the asp file. Code:
View Replies
View Related
I am trying to download files from my database that I uploaded to it. I can download bmp, txt file but have not been able to d/l pdf files. I am able to d/l pdf files stored in the file system but not in the database. Any help would be great. Here is my code, I have hard coded the file to download for testing purposes.
Connect = "Provider=SQLOLEDB.1;Persist Security Info=False;User
ID=sa;Password=;Initial Catalog=INNB;Data Source=pompom"
Set db = Server.CreateObject("ADODB.Connection")
db.Open Connect....
View Replies
View Related