All Questions
1,578
questions
-2
votes
1
answer
66
views
Cannot copy file to windows 11 file system - if you are running this code in the linux server
I'm doing a download from java apps running on linux. The following is the code:
public void downloadCopyToFile(String filename, String outFilename) throws IOException {
try {
...
-1
votes
1
answer
56
views
PDF direct dowload issue
The site vermittelerregsiter.info allows to download a PDF file by a regular GET request:
eg. https://www.vermittlerregister.info/recherche?a=pdf®isternummer=D-W-111-BHC1-55
We want to automate ...
2
votes
1
answer
44
views
Get list of all Oracle JDK releases for a specific version using curl or rest api call
I would like to programmatically get a listing of all Oracle JDK releases so that upon detecting a new release trigger a pipeline to upgrade JDK (in effect programmatically getting and listing Oracle ...
0
votes
0
answers
35
views
Java Selenium - cannot download image from Chrome browser and save as .png file
I want to download image from Chrome web browser and save it as .png file. The following code creates a file in Download directory, but the size of the file is only 417 bytes and when I want to open ...
-1
votes
1
answer
78
views
Binary file getting corrupted when trying to download using Struts 6.3.0.2 with Java
When I am trying to download the pdf and doc-x file from my app after upgrading from struts2 to struts 6.3.0.2, the file is getting corrupted. I am not able to open the pdf file when I have downloaded ...
1
vote
0
answers
40
views
Download a file from url and save
import android.app.ProgressDialog;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Environment;
import android.util.Log;
import android.widget.Toast;
import java.io....
0
votes
0
answers
53
views
File download using javascript create duplicate line items
Java based web-app is creating duplicate line items on a downloaded file(txt file) over a remote connection where the application is installed. On testing it locally,the file is downloaded as expected....
-2
votes
1
answer
42
views
Is there a way to automatically download an HTML file? [closed]
So there is this one website that updates frecuently and I want to make a program to download its html every few minutes, however, a quick google search only shows me about making a file automatically ...
1
vote
1
answer
134
views
Zip from Memory and Hard Drive are different which results in a corrupted Zip after download
Problem is fixed. See below.
Hey everyone I want to realize a zip download. I have a Web-Application where the User can click a Button:
<template>
<button name="exportButton" id=&...
0
votes
1
answer
268
views
Downloading a Zip file from the internet "Android Studio"
I hope you are good and thank you for reading this.
I started developing in Android Studio a few days ago, I am trying to download a zip file from the internet, after hours of researches I have not ...
2
votes
1
answer
78
views
Failing to download pdf file from URL in java
I'm trying to download a PDF file from this particular URL
https://tesco.sk/akciove-ponuky/letaky-a-katalogy/letak/2023-11-01/263/?download=1
It just hangs on receiving the response
I've tried with ...
2
votes
0
answers
224
views
Why is the download of a URL in Java so slow?
I have a Java application, in which I need to download the content of an S3 presigned URL to a file to disk.
However, I have experienced slow download speeds when downloading from the URL.
Experiment
...
-2
votes
1
answer
30
views
PDF unable to download on browser when i hit my spring boot API from angular
this is my controller method to download created PDF from html -
@PostMapping("/downloadPdf/{apiGroup}/{api}")
public ResponseEntity<InputStreamResource> generatePdf(@PathVariable ...
0
votes
1
answer
709
views
REST API to download large sized files in JAVA 8 without running into timeout
I have client and server side apps which are designed to have a session no longer than 30 seconds.
I am writing a rest api to download reports which sometimes contains really large amount of data but ...
0
votes
0
answers
91
views
How to download as pdf from chrome printing preview in selenium java
I have a button to click, it will open a printing dialog, I need to select the destination Save as PDF then press print and save the file.
I tried
ChromeOptions options = new ChromeOptions();
HashMap&...