tagged [download]
How can I get the bytes of a GetObjectResponse from S3?
How can I get the bytes of a GetObjectResponse from S3? I'm retrieving a file from Amazon S3. I want to convert the file to bytes so that I can download it as follows: I have the file here: ``` var cl...
- Modified
- 7 Dec at 22:27
Progress bar with HttpClient
Progress bar with HttpClient i have a file downloader function: ``` HttpClientHandler aHandler = new HttpClientHandler(); aHandler.ClientCertificateOptions = ClientCertificateOption.Automatic; ...
- Modified
- 18 Dec at 15:9
Create text file and download
Create text file and download I'm trying to write to a text file in memory and then download that file without saving the file to the hard disk. I'm using the `StringWriter` to write the contents: How...
How do I ZIP a file in C#, using no 3rd-party APIs?
How do I ZIP a file in C#, using no 3rd-party APIs? I'm pretty sure this is not a duplicate so bear with me for just a minute. How can I programatically (C#) ZIP a file (in Windows) without using any ...
- Modified
- 3 Jun at 01:1
Download file using libcurl in C/C++
Download file using libcurl in C/C++ I am building an application (on windows using Dev-C++) and I want it to download a file. I am doing this using libcurl (I have already installed the source code u...
WebClient generates (401) Unauthorized error
WebClient generates (401) Unauthorized error I have the following code running in a windows service: Each time, I get the following exception With the
How to download HTTP directory with all files and sub-directories as they appear on the online files/folders list?
How to download HTTP directory with all files and sub-directories as they appear on the online files/folders list? There is an online HTTP directory that I have access to. I have tried to download all...
What is the best memory buffer size to allocate to download a file from Internet?
What is the best memory buffer size to allocate to download a file from Internet? What is the best memory buffer size to allocate to download a file from Internet? Some of the samples said that it sho...
Download image with JavaScript
Download image with JavaScript Right now I have a `canvas` and I want to save it as PNG. I can do it with all those fancy complicated file system API, but I don't really like them. I know if there is ...
- Modified
- 27 Dec at 00:37
phpexcel to download
phpexcel to download hello i am new to phpexcel, and i was wondering if there is some way send the excel i have created to the clients download without saving it on my server or to delete it right aft...
- Modified
- 4 Sep at 01:54
Force download of a file on web server - ASP .NET C#
Force download of a file on web server - ASP .NET C# I need to force the initiation of download of a .sql file, when user clicks a button in my ASP .NET (C#) based web application. As in, when the but...
Get filename while downloading it
Get filename while downloading it We are providing files that are saved in our database and the only way to retrieve them is by going by their `id` as in: `www.AwesomeURL.com/AwesomeSite.aspx?requeste...
Forcing to download a file using PHP
Forcing to download a file using PHP I have a CSV file on my server. If a user clicks on a link it should download, but instead it opens up in my browser window. My code looks as follows It's a normal...
How to download file in swift?
How to download file in swift? I just started learning apple swift programming for iOS coming from android. I basically can now read and manipulate swift code and also learned some common classes used...
ASP.NET MVC download image rather than display in browser
ASP.NET MVC download image rather than display in browser Rather than displaying a PNG in the browser window, I'd like the action result to trigger the file download dialogue box (you know the open, s...
- Modified
- 9 Jun at 16:26
How to download a CRX file from the Chrome web store for a given ID?
How to download a CRX file from the Chrome web store for a given ID? I'd like to download the .crx file of an extension from webstore, I use fiddler to analyze the network request when I install an ex...
- Modified
- 31 Dec at 09:25
Download multiple files async and wait for all of them to finish before executing the rest of the code
Download multiple files async and wait for all of them to finish before executing the rest of the code I am trying to download multiple files from the internet and await for all of them to finish. Thi...
- Modified
- 18 Oct at 16:40
HTTP status code 0 - Error Domain=NSURLErrorDomain?
HTTP status code 0 - Error Domain=NSURLErrorDomain? I am working on an iOS project. In this application, I am downloading images from the server. While downloading images I am getting [Request Timeout...
- Modified
- 18 Jan at 10:3
Downloading Excel file after creating using EPPlus
Downloading Excel file after creating using EPPlus I am using the EPPlus library to generate an excel file which I successfully save in a folder on the server. How can download this file to my local ...
- Modified
- 20 Jan at 15:14
ASP.NET Core - Download .exe returns 404 error
ASP.NET Core - Download .exe returns 404 error I have a ASP.NET core MVC application and in the wwwroot folder, I've added another folder called "Shaun" and in that folder I've dropped an exe to try a...
- Modified
- 16 Mar at 10:37
How do I download zip file in C#?
How do I download zip file in C#? I use HTTP GET that downloads a zip file in a browser, something like [https://example.com/up/DBID/a/rRID/eFID/vVID](https://example.com/up/DBID/a/rRID/eFID/vVID) (no...
Android media streaming/incremental download question
Android media streaming/incremental download question I'm currently developing an application that uses Android's MediaPlayer setDataSource(url) method to play SHOUTCast streams. I'm in the process of...
How to programmatically download a large file in C#
How to programmatically download a large file in C# I need to programmatically download a large file before processing it. What's the best way to do that? As the file is large, I want to specific time...
- Modified
- 2 May at 02:32
How do you write to a folder on an SD card in Android?
How do you write to a folder on an SD card in Android? I am using the following code to download a file from my server then write it to the root directory of the SD card, it all works fine: ``` packag...
- Modified
- 9 Jul at 22:42
OutOfMemoryException when I read 500MB FileStream
OutOfMemoryException when I read 500MB FileStream I'm using Filestream for read big file (> 500 MB) and I get the OutOfMemoryException. Any solutions about it. My Code is: ``` using (var fs3 = new Fil...
- Modified
- 17 Mar at 16:48
How to limit bandwidth and allow multiple downloads when downloading a file?
How to limit bandwidth and allow multiple downloads when downloading a file? I have this code, that is working when only 1 download is running at a time ``` using (System.IO.FileStream fs = System.IO....
- Modified
- 29 Dec at 01:53
Youtube_dl : ERROR : YouTube said: Unable to extract video data
Youtube_dl : ERROR : YouTube said: Unable to extract video data I'm making a little graphic interface with Python 3 which should download a youtube video with its URL. I used the `youtube_dl` module f...
- Modified
- 22 Apr at 22:36
How to use the WebClient.DownloadDataAsync() method in this context?
How to use the WebClient.DownloadDataAsync() method in this context? My plan is to have a user write down a movie title in my program and my program will pull the appropiate information asynchronously...
- Modified
- 18 Oct at 20:44
Streaming large images using ASP.Net Webapi
Streaming large images using ASP.Net Webapi We are trying to return large image files using ASP.Net WebApi and using the following code to stream the bytes to the client. ``` public class RetrieveAsse...
- Modified
- 24 Apr at 07:59
Download file through an ajax call php
Download file through an ajax call php I have a button and `onclick` it will call an ajax function. Here is my ajax function ``` function csv(){ ajaxRequest = ajax();//ajax() is function that has al...
- Modified
- 12 Jul at 17:55
Create a zip file and download it
Create a zip file and download it I am trying to download a 2 files by creating the zip file on local-server.the file is downloaded in zip format but when i try to extract it.it gives error: the follo...
Flask Download a File
Flask Download a File I'm trying to create a web app with Flask that lets a user upload a file and serve them to another user. Right now, I can upload the file to the correctly. But I can't seem to fi...
- Modified
- 15 Aug at 12:58
Download content video from video stream with a path of .TS or .m3u8 file through actual code so i can make chrome extension
Download content video from video stream with a path of .TS or .m3u8 file through actual code so i can make chrome extension Videos on most sites make use of progressive downloading, which means that ...
- Modified
- 16 May at 01:30
Download files with ServiceStack Rest-API
Download files with ServiceStack Rest-API I'm quite new to REST-services in general and I'm playing around with ServiceStack (which is awesome!). I have some services running and now I want to be able...
- Modified
- 8 Dec at 10:6
Download a working local copy of a webpage
Download a working local copy of a webpage I would like to download a local copy of a web page and get all of the css, images, javascript, etc. In previous discussions (e.g. [here](https://stackoverf...
- Modified
- 3 Sep at 16:7
What is different with PushStreamContent between web api & web api 2?
What is different with PushStreamContent between web api & web api 2? I've created two identical web api projects, one in VS 2012 and another in VS 2013, both targeting the 4.5 .net framework. The pro...
- Modified
- 8 Aug at 12:56
How do I resume large file downloads, and obtain download progress using the ServiceStack client?
How do I resume large file downloads, and obtain download progress using the ServiceStack client? I have a ServiceStack client that calls a service which returns an large data file of between 100MB to...
- Modified
- 9 May at 14:16
Using HTML5/JavaScript to generate and save a file
Using HTML5/JavaScript to generate and save a file I've been fiddling with WebGL lately, and have gotten a Collada reader working. Problem is it's pretty slow (Collada is a very verbose format), so I'...
- Modified
- 21 Apr at 16:18
How do I download a file with Angular2 or greater
How do I download a file with Angular2 or greater I have a WebApi / MVC app for which I am developing an angular2 client (to replace MVC). I am having some troubles understanding how Angular saves a f...
- Modified
- 5 Jul at 10:34
Java Wait for thread to finish
Java Wait for thread to finish I have a thread downloading data and I want to wait until the download is finished before I load the data. Is there a standard way of doing this? More Info: I have a Dow...
- Modified
- 21 Aug at 11:35
How to download a file using a Java REST service and a data stream
How to download a file using a Java REST service and a data stream > I have 3 machines: 1. server where the file is located 2. server where REST service is running ( Jersey) 3. client(browser) with ac...
- Modified
- 27 Oct at 13:31
A question about writing a background/automatic/silent downloader/installer for an app in C#
A question about writing a background/automatic/silent downloader/installer for an app in C# I have a main application that needs to be able to go to the web and download DLL files associated with it ...
- Modified
- 11 Feb at 19:48
Creating download link to a file on a file server
Creating download link to a file on a file server I'm looking for a way to (easily, by preference ;)) create a download link to a file on a separate file server. The situation is as follows: the appli...
Windows Forms Webbrowswer control with IDownloadManager
Windows Forms Webbrowswer control with IDownloadManager I'm using the `Systems.Windows.Forms.Webbrowser` control and need to override the download manager. I've followed the instructions [here](http:/...
- Modified
- 1 Feb at 17:1
Does any one know about this error: "Wrong Local header signature: 0x6D74683C"?
Does any one know about this error: "Wrong Local header signature: 0x6D74683C"? The following code is used to download a zip file and unzip it on phone. The same code used to work on WP7, I started te...
- Modified
- 30 Apr at 11:6
HTTP Headers for File Downloads
HTTP Headers for File Downloads I've written a PHP script that handles file downloads, determining which file is being requested and setting the proper HTTP headers to trigger the browser to actually ...
- Modified
- 3 Jul at 17:2
Returning a file to View/Download in ASP.NET MVC
Returning a file to View/Download in ASP.NET MVC I'm encountering a problem sending files stored in a database back to the user in ASP.NET MVC. What I want is a view listing two links, one to view the...
- Modified
- 24 Apr at 00:20
WebRequest fails to download large files (~ 1 GB) properly
WebRequest fails to download large files (~ 1 GB) properly I am attempting to download a large file from a public URL. It seemed to work fine at first but 1 / 10 computers seem to timeout. My initial ...
- Modified
- 15 Dec at 15:30