All Questions
480
questions
0
votes
1
answer
33
views
jquery how to download inline data as a file
Say I have a database driven website with lots of events, each event is loaded and displayed on a listing page.
I want to present the data of each event as a download (lets say an eventname.txt file) ...
1
vote
0
answers
50
views
Download CSV Using jQuery Ajax
How can I trigger a csv file download from the ajax jQuery method?
I don't want to use an href with the full url because I need to fetch the correct csv file depending on what id is selected in a ...
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....
1
vote
1
answer
356
views
How to download controller-generated PDF, requested by ajax call in Laravel
I am having trouble getting a direct download of a PDF file.
Essentially, the user has some inputs and options on the page that they fill out / choose, then this data is sent to the server via an Ajax ...
0
votes
1
answer
127
views
Improved file download time in Laravel
I am doing a function that compresses a list of images and downloads them. I had a problem where the download took quite a while. How can I improve download speed?
My code
api.php
Route::post('/...
1
vote
0
answers
37
views
Download and copy function is not working on mobile devices
Download and copy function is not working on mobile devices but works fine desktop. Both in android and IOS.
Using filesaver.js for download and navigator clipboard.writeText for copy function. Any ...
2
votes
0
answers
2k
views
html Link download opens the image instead of downloading it [duplicate]
I want to download a .jpg link when the link is clicked, I've seen some answers here that I should only add the download="image.jpg" but it only opens the image link and not downloading it. ...
0
votes
0
answers
62
views
Ajax content-disposition returns null, while network show correct information
I got a download working, but I am unable to get the content disposition. It keeps returning null, but in the network I can see it is available:
enter image description here
Then I have the code:
...
0
votes
1
answer
731
views
ASP.NET Core File Download No Progress
I have a ASP.NET Core 6 application with a zip dowload function. Here is my Backend Code:
[HttpGet("/api/DownloadCenterController/DownloadDataset/{fileName}")]
public ...
0
votes
4
answers
3k
views
Download File through JavaScript
I have created a function to download the file, but the issue is it opens the file on the same tab, I a trying to force download this file in the system.
I read other threads but didn't get the answer ...
0
votes
1
answer
22
views
Error after updating Jquery on jquery.ajax_upload.0.6.js
I just want share my experience. I use this template : jquery.ajax_upload.0.6 to build a button to download file in VB.NET application. I update my jquery and I'd errors on jquery.ajax_upload.0.6 ...
1
vote
1
answer
205
views
Is it possible to download a python file from a website?
I'm building a website where users can download various program data and scripts used on that data. I'm wondering if it's possible to download a python script directly? Or do I need to zip it or ...
0
votes
4
answers
7k
views
Download file on button click jquery
Simple question, i think.
I have an html button: <button type="button" class="btn btn-success">Download</button>.
On click i have to start the download of a file placed ...
0
votes
0
answers
476
views
download zip file in php and ajax without location.href
I am creating a zip file download system in php with jquery ajax.
When the user clicks the download button, the request goes to the server and returns the filename.
I am able to download the file but ...
1
vote
1
answer
910
views
How can I save an html file and remove script and unwanted tag when dowloading?
I have an html file with lots of tags with contenteditable="true" attribute. I also added a lot of jquery/js inside.
What I'm trying to achieve is:
Let user modify the content --> ok ...