Questions tagged [downloading-website-files]
59 questions
25
votes
9 answers
wget not recognized as internal or external command
I am working on a program to auto update my game as I make new developments and add new patches. When I go to run the patch update it doesn't recognize wget as a internal or external command.
Game:
:Checkforupdates
cls
cd C:\AirlineSim\
…

Nate Hastings
- 322
- 1
- 4
- 9
8
votes
3 answers
How to download pdf files using Python?
I was looking for a way to download pdf files in python, and I saw answers on other questions recommending the urllib module. I tried to download a pdf file using it, but when I try to open the downloaded file, a message shows up saying that the…

tiredandsarcastic
- 105
- 1
- 1
- 7
7
votes
0 answers
Download filename in HTML5 video element
Does anybody know how to set the filename of html5

RatajS
- 1,403
- 1
- 14
- 22
7
votes
4 answers
Downloading a portion of a File using HTTP Requests
I am trying to download a portion of a PDF file (just for testing "Range" header). I requested the server for the bytes (0-24) in Range but still, instead of getting first 25 bytes (a portion) out of the content, I am getting the full length…

Jeffry Young
- 101
- 1
- 1
- 5
2
votes
1 answer
Downloading large batch of files, want a way to skip files that already exist in case download times out
I am downloading CMIP6 data files using this code:
#install.packages("epwshiftr")
library("epwshiftr")
#this indexes all the information about the models
test = init_cmip6_index(activity = "CMIP",
variable = 'pr',
…

mikaeldp
- 35
- 6
2
votes
1 answer
Best way to download all images from a site using Java? Currently getting an 403 Status Error
I am trying to download all the images off of a site, but I'm not sure if this is the best way, as I have tried setting a user agent and referrer to no avail. The 403 Status Error only occurs when trying to download the images from the src page,…

OtakuPug
- 21
- 3
2
votes
1 answer
Python 3 web scraping with selenium : ui-dialog trouble with switching
I'm a student and new to Python. I would like to download pdf files (these are financial reports from different organizations) from a website, but before this I have to go through some steps.
Here's the website that I'm dealing with:…

ejdi
- 45
- 4
2
votes
1 answer
Why does my file download link seem to work, but is unable to find the file?
I added this HTML to a page that I render via a REST call:
StringBuilder builder = new StringBuilder();
. . .
builder.Append("");
builder.Append("");
builder.Append("");
. .…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
2
votes
0 answers
php & cURL start giving data to browser withut waiting to read all?
Hi i'm trying to downlaod a file in my browser via proxy script on my web server. The code on webserver is:

onar
- 487
- 1
- 4
- 14
2
votes
1 answer
cURL takes long time to start download
I'am trying to download a file (1GB) on server C via server B, which has the code:
header("Content-Disposition: attachment; filename=How to Use Git and GitHub Videos.zip");
header("Content-type:…

onar
- 487
- 1
- 4
- 14
1
vote
1 answer
How to click and select download audio file using selenium and python in chrome for this particular link
I was trying to download an audio file using selenium, python and Chrome browser from url: audio file. (Note: Please use headphones as the audio plays automatically and open the file using chrome browser).
But when I used Inspect element on the…

comp1810
- 11
- 5
1
vote
0 answers
Content downloading(CSS, JS etc) taking too much time which making loading too slow
I am working on a spring framework project optimization. Its taking 2 minutes+ to load. When I checked in
Network console, it was js, css content download which were the main reason. 200KB file taking 2 minutes to be downloaded. Every 1KB taking 2-8…

Hodor123456
- 11
- 2
1
vote
1 answer
Do we need to catch the return value of AsyncTask?
I have written an Async task below
public class DownloadTask extends AsyncTask{
@Override
protected String doInBackground(String... urls) {
String result = "";
HttpsURLConnection…

Manu E Thomas
- 73
- 7
1
vote
0 answers
Downloading files from protected website with VBA-Excel
I'm trying to download a file from a protected webpage (from my job, so I cannot post the url).
When I save the bytes (I'm using a WinHTTP request), in an .xls, the file appears to be corrupted.
My code (without sensitive information) and a little…

Victor
- 11
- 2
1
vote
0 answers
How to download a file with a temporary or indirect link in python 3?
I have been trying to download files from a site that changes the download links after some time. I tried using wget module to download those files. It does work on the direct links to file like(http://example/file.zip) but it doesn't download files…

MIN
- 11
- 1