Questions tagged [downloading-website-files]
59 questions
1
vote
1 answer
Downloading files from urls listed in txt file without using wget
Due to not being able to install wget library at my work I need a workaround for downloading files using URLs listed in a txt file. I have txt file called urls.txt which contains about a thousand of links each directing to the file that needs to be…

Seidhe
- 83
- 1
- 11
1
vote
1 answer
chrome download failed - network error
Screenshot 2 is the debugger window info, and below is the code used to download the file, it was running well in visual studio Chrome Emulators, but when I deploy the code, it stopped working. the same code is used in another place and that one…

Yan
- 153
- 3
- 12
1
vote
2 answers
Download file from a webserver into android external storage
In an android app, I am trying to download a file from a web server to /Download folder on external storage. download code is executed in a HandlerThread in a service. The service is doing other functions apart from downloading file. the code for…

anant sophia
- 55
- 2
- 12
1
vote
0 answers
Resuming interrupted wget of entire website without starting at the beginning
I have been downloading a website using this wget command:
wget \
--recursive \
--no-clobber \
--page-requisites \
--html-extension \
--convert-links \
--restrict-file-names=windows \
--domains website.org \
--wait=10 \
--limit-rate=30K \
…

Kallaste
- 737
- 1
- 9
- 18
1
vote
5 answers
C# Downloading a file does not work
Using code below but it is not downloading any file at all to the specified subfolder named myImages to the application... How can I fix this? The link is purely an example here, usually the link will be a variable and that has no issue populating…

touyets
- 1,315
- 6
- 19
- 34
1
vote
1 answer
Python - cannot access a specific div [Urllib, BeautifulSoup, maybe Mechanize?]
I have been breaking my head against this wall for a couple days now, so I thought I would ask the SO community. I want a python script that, among other things, can hit 'accept' buttons on forms on websites in order to download files. To that…

Magoo111
- 113
- 8
0
votes
4 answers
Headless mode disable python web file downloading
I aim to download web files while in headless mode. My program downloads perfectly when NOT in headless mode, but once I add the constraint not to show MS Edge opening, the downloading is disregarded.
import time
from selenium import webdriver
from…

Erik
- 33
- 6
0
votes
0 answers
Generating pdfs with jsPDF & html2canvas compatibility issues in Firefox for macOS?
When I'm trying to download a pdf file, I'm getting this error - Uncaught (in promise)
Exception { name: "NS_ERROR_FAILURE", message: "", result: 2147500037......
I'm using html2canvas, third party node modules.
Following how I'm using it.
let…

nisha singh
- 1
- 1
0
votes
3 answers
Optimize PHP script to prevent max_execution_time limit
I have written a PHP script on my local server to loop through an array of movie titles and, using http://www.imdbapi.com/, pull down associated metadata.
for ($i=0; $i < count($files['Film']); $i++) {
// get data from IMDB based on file title
…

Robert
- 303
- 7
- 15
0
votes
1 answer
Automatically downloading pdf's from a website with python and wget
I am trying to download all pdf files which contain scanned school books from a website. I tried using wget but it doesn't work. I suspect this is due to the website being an ASP-page with a selection options to select the course/year.
I also tried…

user9118870
- 71
- 5
0
votes
1 answer
Downloading images from a link using python code
I am downloading images from a link but I am facing some problems. It shows "found 0 links" and then "downloaded 0 files".
Here's the code:
import urllib.request
import re
import os
#the directory to where save the images
DIRECTORY = "book"
#the…

Murad Ali
- 1
- 3
0
votes
0 answers
Unable to download a file from my node js server (my backend and frontend are decoupled)
My nodejs backend is running on localhost:8080 and frontend on localhost:8081 using http-server, I am not able to download file from my server side to client side, I am new to node js so facing some problems with it
What I tried
I created a…

BHANU ARORA
- 81
- 1
- 8
0
votes
0 answers
How to download large file using PHP
I was trying to download 7GB .tar file from web link to my web server by using some online available PHP code. However, the file stopped downloading when it reached around 4GB.
My webserver have unlimited storage, so what is causing this problem?
Is…

addis debebe
- 1
- 1
0
votes
1 answer
Opening or downloading an excel file from aspx web page fails: It doesn't open in application
We have a solution that converts an ActiveReport based report into an Excel file. Basically that works very fine, but in some environments for some very strange reason the downloading of the Excel file doesn't start and the Excel file opens on a web…

Markku Rintala
- 127
- 1
- 17
0
votes
1 answer
how to restrict pdf, doc and ppt download in wordpress
I am building a website in Wordress, I am uploading Doc, PPT and Pdf files on wordpres page for viewing purpose for the user but I want to restrict them from getting downloaded. any help is appreciated.
Thanks in advance