i'm builing this php script which displays a given folder 's children folders and files. Files ought to be downloaded.
In order to disclose as little information as possible, each item in the directory is a form with a submit button that contains the html markup. The send method is POST.
IF i click on a directory, it opens that directo...
How should I go about providing download functionality on an asp.net page to download a series of rows from a database table represented as a linq2sql class that only has primitive types for members (ideally into a format that can be easily read by Excel)?
E.g.
public class Customer
{
public int CustomerID;
public string FirstName;
pub...
I want to download a list of web pages. I know wget can do this. However downloading every URL in every five minutes and save them to a folder seems beyond the capability of wget.
Does anyone knows some tools either in java or python or Perl which accomplishes the task?
Thanks in advance.
...
given a url how can i download the webpage to my harddrive with asp.net
e.g. if you open the url http://www.cnn.com in ie6 and use file save as, it will download the html page to your system.
how can i achieve this by asp.net
...
I have read the excelent discussion about How to download and save a file from internet using Java. However, if I exectue the next code, i get a corrupt PDF. Any idea why?
import java.io.*;
import java.net.*;
public class PDFDownload {
public static String URL = "http://www.nbc.com/Heroes/novels/downloads/";
public static Strin...
Would anyone be able to refer me to a installation creator that allows me to specify where it should download the rest of the files from, and if the user already has the file, just skip that file? I need it for, mainly, patching purposes. It just needs to check if the user has a file, and if he/she doesn't, then it downloads it.
...
I manage a software download site, and we've been trying to find a good way to present the downloads to students. Due to licensing restrictions, there are a large number of downloads that should only be accessable to certain students or staff, and many of the files are dvd iso's or other large files. We started out by pushing all the d...
There is a particular secure web page that we are required to download and parse. Its from this parsed data we need to do a host of other things... The so-called 'multiple authentication' part goes like the follows:
If you've hosted web sites on IIS and turned on the Integrated Security feature (with anonymous browsing turned off), you'...
I'm writing a PHP script that allows the user to download a file. Basically the idea is to prevent the file being downloaded more than X times, since it is paid content, and the link should not be spread around.
Since the files will be pretty large, it should be good to implement resuming. I've read the standard, but it's pretty long an...
Some download links contain a md5 value in the URL anchor, for instance:
http://pypi.python.org/packages/source/d/distribute/distribute-0.6.1.tar.gz#md5=e6224b1da4636dd8ae53407fc67bb35b
What is the intent behind this convention? Are there download tools or HTTP clients that make use of this encoded md5 value?
wget or curl does not se...
When I download something using gem I'd like to be able to just download the gem, and then choose whether or not I want to install it. I'm asking this because I'd like to install a particular gem on more than one computers ( without installing from the internet on each one ).
...
I have created application and deployed it using ClickOnce it size is about 30MB, at first it take time about 2 - 3 hours on 128KB lease-line. Then I have enable file compression on IIS and download time is reduce to about 40 minutes.
I want to decrease download time to 10 - 20 minutes but I have no idea how to do that.
My solution has...
I'm reviewing some legacy code and I've found a bug that causes the response to sit indefinitely.
Here's the basic idea:
Response.Content-Type = "application/octet-stream"
Response.AddHeader("Content-Disposition", "attachment; filename" & someFileName)
Response.AddHeader("Content-Length", someStoredLength)
Response.BinaryWrite(someByte...
hi there,
I have been using wget to download some webpages:
wget -E -H -k -K -p URL
The above command works well for HTML, CSS, and images, but not Flash. Is there a way with wget to also download embedded Flash files? Or with some other open source tool?
thanks
...
if ($_SERVER['REQUEST_METHOD']=='GET' && $_GET['download']==='1')
{
$handle = fopen('lastdownload.txt','rw');
$date = @fread($handle,filesize('lastdownload.txt'));
if (time() - 30 * 60 > $date)
{
fwrite($handle,time());
header('Content-type: application/zip');
header('Content-Disposition: attachment; filename="dwnld_'.date('d_m_Y...
Hi I'm currently working on some php - zend framework project on my osx - apache. The problem is when ever I want to force the download of some files using my php application the downloaded files is corrupted and the size of the file is 5.4 kb! I've tried so many changes in my code and even used some classes to force the download but sti...
I've got a serverside app that send down a custom mime-type file "application/x-optibase".
Firefox prompt user user to save or open the file and if the user clicks open the correct application launches so I believe I have mimeType.rdf configured correctly
I've gone into about:config and set
browser.helperApps.neverAsk.openFile to appl...
Hi,
I'm making a program which downloads files over http.
I've got it downloading, however I want to be able to pause the downloads, close the program and resume them again at a later date.
I know the location i'm downloading them from supports this.
I'm downloading the file through HttpWebResponse and reading the response into a Str...
How should I implement very basic file download servlet? Idea is that with GET request index.jsp?filename=file.txt user could download for example file.txt from file servlet and file servlet would upload that file to user. I can get file, but how should I implement file download?
...
How do I download files of big sizes from somewhere on the web to the web server with PHP? Also, what should be allowed on the server in order to make this happen? Thanks.
...