Most voted "download" questions
In technology, the term download is used to reference the acquisition of data from a device through a communication channel.
Learn more…127 questions
Sort by count of
-
2
votes1
answer114
viewsKnow the total file size to download
I have the following code that downloads file from the internet public boolean copiar(){ boolean teste = false; try { String local = System.getProperty("user.dir") +"\\PDV.jar";; String archive =…
-
1
votes3
answers5697
viewsDownload images
Problem How do I download several images with javascript? For example, how do I when I click on a javascript button it automatically accesses url:…
-
1
votes2
answers831
viewsWhat do I need to do to make sure my app isn’t recognized as an "Unknown Source"?
I would like to know what is the procedure I must follow in order to post my App on my site and users can install without having to activate the "Unknown Sources" option inside the Android Security…
-
1
votes2
answers75
viewsRescue only the Multipart response body
I am trying to download a JSON file, it is sent to me via Multipart, I can recover it but I don’t want to save it in a physical file, so I am taking the return and converting it into string. My…
-
1
votes3
answers615
viewsSave file name with empty spaces html/php
I have the following button that goes to a file: <a href="download_file.php?file=ficheiro_xls/BD%20Fugas%20Gespost.xls">Download XLS</a> In the file download_file.php I have the…
-
1
votes1
answer3532
viewsDirectory Download Android
Hello, in my app I download a CSV file, but it never appears in Smartphone Downloads, I can only view it with the File Manager. And also when I try to pass the file to the computer, I can’t find the…
-
1
votes1
answer871
viewsDownload XML by browser, without opening the file
I need the system to download an XML file, release the file itself, without opening it in the browser, has as?
-
1
votes1
answer260
viewsProblem with downloading FTP/PHP files
This is my code to force the download: <?php ftp_get($conn, $local_file , $server_file, FTP_BINARY); header('Content-Disposition: attachment; filename="' . $local_file . '"');…
-
1
votes1
answer68
views -
1
votes0
answers58
viewsForce download with Header does not work in PHP
I use this code to force download, it works perfect when I run it on XAMPP, however it returns corrupted file when running on ubuntu, what can I do to fix? header('Content-Length: ' .…
-
1
votes1
answer658
viewsPut audio file to download and listen in php
I have some audios on my server and wish to put them online so that it is possible for the client side to have access, both to listen and download. I am working with php and a linux server, a debian…
-
1
votes1
answer6638
viewsDownload using the Xios?
I am using Axios to perform my application requests, and in one of the GET requests it returns a PDF file. When I do the GET request by Postman it opens a window to choose where to save the file,…
-
1
votes1
answer1177
viewsUse <a download href=""> tag by passing https address to href
I am trying to download a file, passing an https address, follow example: <!DOCTYPE html> <html> <body> <a…
-
1
votes1
answer133
viewsImageview shows the image rotated by 90 degrees
When I upload a photo to the server and I will display it using Picasso.with(getApplicationContext()).load(Caminhofoto).into(fotoalerta); If the photo was taken with the mobile phone vertically she…
-
1
votes0
answers79
viewsFile Download Ending PHP Session
I have a PHP file download system with login and session expiration in 30 minutes, at first I imagined that it was some logic error, but the system user is only dropped unexpectedly when he…
-
1
votes1
answer2516
viewsHow to download a file to the server with php Laravel
I would like to know how to download an image or video using Laravel and save on my server direct, taking a url as example: https://brandmark.io/logo-rank/random/beats.png?
-
1
votes1
answer306
viewsFiles in public folder using Laravel 4.2 are inaccessible
Hello, I have an application where some files are created in the folder public of Laravel 4.2, then send an email to the user with the URL’s to download these files, but there is an error when…
-
1
votes2
answers1134
viewsHide Link for download
I’m creating a code to download holerite files, where everyone can only see their holerite. The code that I made now works, however has a flaw, as I put all the files in the same folder to…
-
1
votes1
answer1610
viewsDownload PDF Files in Reactjs
I have a small problem in downloading PDF files I have a API that returns a array bytes with the type: "application/pdf", if I call straight in my browser route. Ex: localhost/api/download/pdf/{id}…
-
1
votes1
answer147
viewsSlow bash script
I use a bash script to translate words from other languages into Portuguese. It always worked very well, but from a few days to here became extremely slow, to the point that I could not use it. some…
-
1
votes0
answers538
viewsGenerating DOC from HTML content
I’m using the plugin Phpword to convert HTML text into a . docx file But when I go to download the generated file, I get only with very crazy characters like: PK#############!…
-
1
votes1
answer279
viewsWebclient C# finishing download before starting to download
I have a question, I am using Webclient in C#language, I have the following problem: I click on Download a file, and it does not start downloading, it says that downloading is already finished...…
-
1
votes2
answers1025
viewsHow to download a compressed file from a URL and save to disk?
I made a java program to download a compressed (zip) file from a server from a URL (in this case, I am using localhost to test), but it is giving the following error: Exception in thread "main"…
-
1
votes0
answers535
viewsHow to Download Images with PHP
Guys I have an urgent question. I want to be able to download images using php, these image URL are in a spreadsheet of google Docs, I was able to make the connection, and I was able to make a code…
-
1
votes0
answers76
viewsDownload pdfs from different site queries
I would like to download pdfs of different queries from the following site website to download the data However as the link does not change with each new query of municipality, I do not know how to…
-
1
votes1
answer42
viewsLaravel:I can’t Download a file
I have tried several tutorials and researched similar problems here in stack,but without success ,previously I took the id of the file and it was passed as parameter and did not return anything.Now…
-
1
votes0
answers63
viewsInformation download (Fault - Network error)
Hello, I’m having difficulty downloading data from Anatel’s website through R Goal: Download data from Anatel’s website url = 'https://www.anatel.gov.br/dadosabertos/paineis_de_dados/acessos/' for…
-
0
votes1
answer1035
viewsHow to download a file and open it at the end of the download?
I have an Android application, I’m trying to download a .apk and then open it when the download is finished, follow the code used: /** * baixando arquivo na background thread * */ @Override…
-
0
votes1
answer774
viewsDownload zipalign for Mac
Hello! I just signed a test app on Android Studio and would like to upload it to Google Play. I did some research and I saw that zipalign facilitates the process of importing the APK, however, I…
android android-studio download zip-file digital-signatureasked 9 years, 11 months ago Luiz Henrique Ugliano 651 -
0
votes1
answer196
viewsDownload file to server
I have the URL from where the file is downloaded. By clicking on it, the file is downloaded directly, without at least accessing and clicking on some link. That said I need a way to automate this…
-
0
votes1
answer130
viewshow to force kmz file download with php
I am having difficulty to force a download of a file type kmz (google file Earth), it is made to download but the file gets corrupted, someone can help me? $filename = "../kmz/".$_GET['id'];…
-
0
votes1
answer214
viewsdoubt with file download
I have a folder in the cloud, and I want to generate a list in the html paginal, with all these files, so that when the user clicks, open the downlaod of the file, I am trying as follows(this code…
-
0
votes1
answer1554
viewsDownload image link with PHP parentheses
so I’m trying to download an image through a url... I’ve identified the problem... example: <?php $imgurl =…
-
0
votes2
answers228
views -
0
votes0
answers26
viewsFunction to unzip xml does not work on Linux
In my application I use a function to zip the xml files to save them in the database. When I unzip it to make the file available for download the xml does not come complete, at the end of the file…
-
0
votes1
answer448
viewsHow to prepare the content of a JSON for download?
In a certain area of my site, the user can select some rows of the database to export them to a JSON, after selecting all that want an Ajax call is made to get the data from it, but within the…
-
0
votes1
answer458
viewsFile Download - Excel - Firefox
I have the download link to an XLS file. Every day I need to DOWNLOAD this file (I can only access by firefox), SAVE in a folder to feed my spreadsheet. ( the sheet is "linked" in this file. I need…
-
0
votes0
answers40
viewshow to force the download of a php file and delete it right away
I made a file with fopen(); and I need it to be downloaded on the user’s computer and deleted right away, and it is necessary that the file name is in a variable, because the file name will vary…
-
0
votes0
answers64
viewsDate and time of file modification to download a wordpress site
I need help, I have a Wordpress site. this site has a downlaod page of files, I would like to know if there is any plugin or any way to display the date and time of modification of that file to…
-
0
votes3
answers2526
viewsDownload website with php
good evening, I’m learning to code, and so I’m trying to make a copy of a site with login system, password, and various users, I’m trying to download because it’s one of the ways that I particularly…
-
0
votes1
answer103
viewsHow do I choose the download location of a report made in Java?
So, I created an application that generates an ODT file... in the code I am specifying exactly where it should be saved, which is in 'c:/test/sample_report.odt'... I put this name to test... the…
-
0
votes2
answers102
viewsDownload extensive file on website
I have the following problem: On a website that I developed for a client, contains a page to download audio, follows code to download audio: <a href="<?php print base_url();…
-
0
votes1
answer112
viewsProvide a downloadable file in an API that returns JSON
Hello, I am developing a Java API. It is basically a java Servlet that returns content in json (application/json). With a Tomcat server. One of the response fields is supposed to be a link to the…
-
0
votes2
answers611
viewsDownload multiple images at once from a php site
Next, there’s a website where I need to download several images, I can access the image as follows: url.com/get_img.php?user=VARIÁVEL where variable is replaced by an integer and the same returns me…
-
0
votes1
answer378
viewsDownload Files by web link C#
would like to deploy on a system I’m making an option to download the files over the web, by pre-defined cloud links that I have. However, I am not managing to implement this. Can you help me??…
-
0
votes2
answers168
viewsPhp - Download files by application get corrupted
When downloading files or documents through my application, they successfully download, more when opening are corrupted. //FILE DOWNLOAD $arquivo = 'C:/teste/arquivo.zip'; header("Content-Type:…
-
0
votes1
answer56
viewsDetect Print Popup Opening or a Dowload
i was wondering if anyone knows any way to detect the opening of that standard print popup for the execution of a javascript. My problem: I needed to run a script when the user downloaded or printed…
-
0
votes1
answer109
viewsBlock files so only logged in users have access
I have a folder structure mounted as follows: System - data - css - Connections (database) - images In the data folder I make the files available for authenticated users to download. However, if I…
-
0
votes1
answer115
viewsDownload file on IOS - Swift
People I am a short time programming for IOS using the language SWIFT. I need to download a file from the web, I’m using Nsurlsessionconfiguration, but this object only works for IOS 8+. And I want…
-
0
votes0
answers35
viewsHow to open application options after download
I am developing an App using Webview, access an existing system made in PHP. It has links to download PDF files, I can make the downloads directing to a browser or in another encoding, I download…