The following script is what I usually use to push headers to the browser so that the dialog box appears for users to download a file.
However, in this case the file resides on a different server. I though this should make no difference but it does as when I execute this script with the URL of an externam MP3 file it gives me a "ERROR: ...
Hello !
I use NSURLConnection to download large files from the web on iPhone. I use the "didReceiveData" method to append data to a file in the Documents folder. It works fine.
If the download is interrupted (for instance, because the user pressed the "home" button), I would like to be able to continue to download the next time the use...
I am trying to make an online kickstart config file creator. After the file is created on the server how do I get the download dialog to pop up so the user can download it?
...
I am downloading a file using the code
btnDownloadTemplate.Attributes.Add( "onClick", "window.open('StudyReport/WordReportTemplate.doc', 'OpenTemplate', 'resizable=no,scrollbars=no,toolbar=no,directories=no,status=no,menubar=no,copyhistory=no');return false;" );
This will show a popup and the download dialog is shown. How can I avoid ...
We write Web Applications. I have a client who is reporting an issue that seems that it may be related to a specific version of IE6. IE6.0.2900.2180 to be precise.
Does anyone know where I can download specific historical builds of IE in order to test problems such as this?
...
Does anyone know of a place to download pre-built or defined silverlight (2.0/3.0) shapes?
...
I need a link in an HTML page that could use any JavaScript to "start downloading" a normal webpage / file that is on my webserver, either filetypes like PDF / ZIP or simply the outputs of PHP / ASP / HTML.
I know this is possible with some server-side download script that returns a *mime_content_type* so the browser handles it based on...
Let's say I have a Spring MVC web application and it allows users to download a file. An email is sent at the same time as the file is sent to the user.
Is there a way to detect cancelled download so I could send the email only if the download has been successful?
...
Basically I need to serve files from a location that requires windows authentication. Instead of having my client's deal with it directly, I would like to implement a process so that they can simply download the files as if they were on my server, after they have logged in to my system, of course. Here is what I have so far, which does...
We are running Nginx+FastCgi as the backend for our Drupal site.
Everything seems to work like fine, except for this one url.
http:///sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/smimage/index.php
(We use TinyMCE module in Drupal, and the url above is invoked when
user tries to upload an image)
When we were using Apache,...
Is there any way to resume a broken download via an ftp connction established with php? Can php resume a broken download?
...
How do I serve files in Drupal without revealing a link that might be re-used? This sort of thing is usually handled by postbacks in .NET for example, but I can't find any documentation for accomplishing it in Drupal.
The goal is to be able to give a specific file to a user exactly once when they complete a series of steps defined by th...
I already found out that there is no way to bundle files in an .apk and have them on /sdcard, the best option so far being to download the large files upon first run. I came accross a tutorial saying how to bundle an sqlite db with the apk and then copy it so that it can be accessed with SQLiteDatabase (thus doubling the space needed, an...
I currently have a TreeView showing a directory in a web page. I don't think you can capture click events on a Node so instead I'm creating the navigation link to the same page which processes a parameter (path).
I've tried a couple things:
Response.ContentType = "text/txt";
Response.AppendHeader("Content-Disposition", "attachment; f...
I was wondering if there was any way in PHP to pass an external download off to a user? What I would like to do with the script is depending on certain conditions, send the user a file from server A or server B. However, I don't want the user to know the direct url to either server.
Ex:
User visits (which is on server C): http://example...
Hi
For one of our ajax request (with a .json response) some of our clients have complained that they are seeing a "File Download" prompt asking the user to download the .json response. I am baffled because considering that this is an xhr response, this should never happen. Has anyone seen this?
Thanks
...
Hello, i'm trying to create downloadable video-files. In my site there is a list of files.
All videos are in .flv-format (flash). There is exact link to the file for the all videos.
But in all browsers after clicking content is loading to the browser`s window. I needn't in this. As i understand i should create redirect-page wich contains...
Hey guys,
for a rails project I need to provide the user with a downloadable HTML version of a statistics page. I got so far as creating a controller action that will set the header as follows and then render and return my vanilla html page:
headers["Content-Type"] ||= 'application/x-unknown'
headers["Content-Disposition"] = "attachmen...
Hi! I wish to download a video from YouTube and then extract its audio. Can anyone point me to some C# code to download a video? Thanks!
UPDATE: For clarification purposes, I already know how to extract audio from a .FLV file like these. Thanks!
...
I almost don't even know how to begin describing this question - I am completely baffled. Basically, I have a custom-built F4V video player that grabs an F4V via an HTTP request, then plays the video with some standard AS3.
Now, I have three sites on identical SliceHost slices, running the same OS, same PHP version, built on the same ...