473,378 Members | 1,413 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

to prompte saveas dialog box

Hi

Here, saveas dialog box appears but its unable to download whole file. instaed it downloads a file of size only 1 kb whereas my file size is 2 mb
Pls do suggest My code is

File fileat=new File("D:\\apple.wmv");

response.setHeader("Content-disposition","attachment; filename="+fileat+"");

Thanks'
atul
Oct 24 '07 #1
2 1593
Hi
Pls do reply anybody.........

Hi

Here, saveas dialog box appears but its unable to download whole file. instaed it downloads a file of size only 1 kb whereas my file size is 2 mb
Pls do suggest My code is

File fileat=new File("D:\\apple.wmv");

response.setHeader("Content-disposition","attachment; filename="+fileat+"");

Thanks'
atul
Oct 25 '07 #2
r035198x
13,262 8TB
Hi

Here, saveas dialog box appears but its unable to download whole file. instaed it downloads a file of size only 1 kb whereas my file size is 2 mb
Pls do suggest My code is

File fileat=new File("D:\\apple.wmv");

response.setHeader("Content-disposition","attachment; filename="+fileat+"");

Thanks'
atul
You didn't post all your download code.
Can you post the code that does the actual downloading? Also make sure there are no restrictions to download sizes on your network/servers.
Oct 25 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Simon | last post by:
Hi, I need help on how to save data to a text file or spreadsheet via the SaveAs diaglog. I want to click a button on the front end, but go to the backend to query the database. With the...
7
by: Jeffrey A. Voigt | last post by:
?? Is there an easy solution to this? Thanks, - J
1
by: MeNotHome | last post by:
I need to know how to fill in the SaveAs dialog box and press the OK from within my program. This dialog box appears after a button get pressed on the axwebbrowser control. Thanks for any...
2
by: psanjay | last post by:
Hi, Am unable to open javascript SaveAs dialog box in Firefox browser. Following is the script, <a href="javascript:void(0);" onclick="document.execCommand('SaveAs',false,'*.xyz');">Save this...
3
Coldfire
by: Coldfire | last post by:
Hello , Can anybody provide me with the javascript for Openwith/SaveAs dialog on clicking an image currently the image is used as <a href:http://xxxxx.com/xxxx.jpg> <img src:"abc.jpg"/ >...
17
by: jschmidt | last post by:
Hello everyone, I have a button on a form that calls a function to populate some textboxes with where criteria that is used in a parameterized query this is then used as the table source for a...
1
by: byrdman | last post by:
When I upload a image file to a folder on a my server in Fire Fox i get a request for username and password dialog box. If I cancel the dialog box for Fire Fox I get a permission denied error. The...
7
by: chakriroxx | last post by:
hi all, i have a question related to document.execCommand(saveAs). i need to know the path of the file selected by the user in the saveAs dialog box. i need to make some changes to the saved...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.