Questions tagged [download]

Receiving data to a local system from a remote system, or to initiate such a data transfer. Do not use this tag for question asking where to download off-site resource.

18430 questions
5
votes
1 answer

How do I download a specific version of source code from android.googlesourcecode.com using Git?

I want to download the source code shown in the tags from android.googlesourcecode. For example, I want to download calendar code https://android.googlesource.com/platform/packages/apps/Calendar I also want to download the code of android specific…
Morya
  • 346
  • 1
  • 11
5
votes
2 answers

How can I download a single file from multiple locations via HTTP?

I need to download a big file quickly, but all sources I can find have throttled bandwidth. Each of them seem to support HTTP 1.1 Byte Serving (Range Requests), since I can pause and resume the downloads. How can I download it from multiple sources…
Bengt
  • 14,011
  • 7
  • 48
  • 66
5
votes
2 answers

python requests is slow

I am developing a download manager. Using the requests module in python to check for a valid link (and hopefully broken links). My code for checking link below: url = 'http://pyscripter.googlecode.com/files/PyScripter-v2.5.3-Setup.exe' r =…
scandalous
  • 912
  • 5
  • 14
  • 25
5
votes
6 answers

Multipart Downloading in C#?

Please excuse my ignorance on the subject. I would like to write an application in C# that can download files off a server the same way DownThemAll does. DownThemAll seems to open four connections to the HTTP server to download the same file. I was…
Jorge Israel Peña
  • 36,800
  • 16
  • 93
  • 123
5
votes
1 answer

Rails: save file from URL and save it to Amazon S3

What's the more straightforward way to download a file from given URL and uploading it immediately to Amazon S3 (+ save into database some information about the file, like name, size etc)? Right now, I am not using Paperclip neither…
user984621
  • 46,344
  • 73
  • 224
  • 412
5
votes
3 answers

How to download the files in magento

I uploaded some files for each customer in magento.... Then i listed the customers details with the uploaded file name .. I need to download the file using magento code This is the code: public function downloadAction() { $entityid =…
Kichu
  • 3,284
  • 15
  • 69
  • 135
5
votes
3 answers

when doing downloading with python,should I use multithreading or multiprocessing?

Recently I'm working on a program which can download manga from a online manga website.It works but a bit slow.So I decide to use multithreading/processing to speed up downloading.Here are my questions: which one is better?(this is a python3…
laike9m
  • 18,344
  • 20
  • 107
  • 140
5
votes
2 answers

downloading a file in python and cancel

I am trying to make a simple function to download file in python The code is something like def download(url , dest): urllib.urlretrieve(url, dest) My issue is that if I want to cancel the download process in the middle of downloading how do I…
Abul Hasnat
  • 1,541
  • 2
  • 16
  • 23
5
votes
6 answers

how to search for file contents in amazon S3 bucket without downloading the file

i have n number of files uploaded to amazon S3 i need*search* those files based on occurrence of an string in its contents , i tried one method of downloading the files from S3 bucket converting input stream to string and then search for the word…
Ekata
  • 259
  • 2
  • 7
  • 21
5
votes
2 answers

Better way to download a binary file

I have a site where a user can download a file. Some files are extremely large (the largest being 323 MB). When I test it to try and download this file I get an out-of-memory exception. The only way I know to download the file is below. The…
geoff
5
votes
5 answers

urlopen error 10045, 'address already in use' while downloading in Python 2.5 on Windows

I'm writing code that will run on Linux, OS X, and Windows. It downloads a list of approximately 55,000 files from the server, then steps through the list of files, checking if the files are present locally. (With SHA hash verification and a few…
Schof
  • 6,329
  • 5
  • 28
  • 38
5
votes
3 answers

How to get a remote-file's mtime before downloading it in Ruby?

I have the below code, which simply downloads a file and saves it. I want to run it every 30 seconds and check if the remote-file's mtime has changed and download it if it has. I'll be creating a thread which sleeps 30seconds after every iteration…
Cihan Keser
  • 3,190
  • 4
  • 30
  • 43
5
votes
3 answers

How can I programmatically tell if a binary file on a website (e.g. image) has changed without downloading it?

How can I programmatically tell if a binary file on a website (e.g. image) has changed without downloading it? Is there a way using HTTP methods (in C# in this case) to check prior to fully downloading it?
Greg
  • 34,042
  • 79
  • 253
  • 454
5
votes
1 answer

Webdriver | IE9 | Setup auto-download files

I need to test download action. I've already configured remote webdrivers for FF and Chrome browsers to download files automatically without any promts and popup-windows. But I can not find any useful information - how to allow file auto-downloading…
Gadget
  • 474
  • 1
  • 5
  • 12
5
votes
2 answers

What's a Django/Python solution for providing a one-time url for people to download files?

I'm looking for a way to sell someone a card at an event that will have a unique code that they will be able to use later in order to download a file (mp3, pdf, etc.) only one time and mask the true file location so a savvy person downloading the…
Brent O'Connor
  • 5,692
  • 7
  • 23
  • 27