Thanks! Alas, although I do use my own poor-man's Ajax-like code (which
actually predates Ajax :)) in some pages, in this particular case it would be
sorta overkill.
Having checked all the possibilities I've accepted (with a surprise) that such
a trivial task is highly non-trivial :), and inste
Hi there,
thanks for previous answers, the JS solution works like a charm. Nevertheless,
I've bumped into another problem: along with downloading the file (returning
appropriate WOResponse from my action method), I would need to refresh the page
as well, to increment a visible download counter
Hi,
Use ERXJSConfirmPanel.
JSConfirmPanel uses a broken invokeAction implementation.
Sharpy.
> On 31 Aug 2022, at 11:34 pm, ocs--- via Webobjects-dev
> wrote:
>
> Hi there,
>
> bumped into a weird problem. I allow users to download a file, pretty
> standard code
>
> ===
> WOActionR
Hi there,
bumped into a weird problem. I allow users to download a file, pretty standard
code
===
WOActionResults downloadListing() {
WOResponse wor=new WOResponse()
wor.setHeader("application/pdf;
name=\"Listing\"","content-type")
wor.set
You mean like
-Xmx1024M -Xms256M
It's even better in Java, as we get to specify permgen too :-P
-XX:MaxPermSize=128m
Lucky us!
On Jan 25, 2013, at 1:46 PM, Pascal Robert wrote:
> We can always go back to Mac OS Classic and have to set the max, min and
> recommended amount of RAM for each app
We can always go back to Mac OS Classic and have to set the max, min and
recommended amount of RAM for each app? ;-P
> 2GB should be enough for anyone.
>
> *ducks*
>
> Ramsey
>
> On Jan 25, 2013, at 12:49 PM, Helmut Tschemernjak wrote:
>
>> Hi Jürgen,
>>
>> we are using large downloads for s
2GB should be enough for anyone.
*ducks*
Ramsey
On Jan 25, 2013, at 12:49 PM, Helmut Tschemernjak wrote:
> Hi Jürgen,
>
> we are using large downloads for some time with WO 5.4.3, it works, however
> two things:
>
> a) We don't use Apache, instead we use DirectConnect
> You can test this wit
Hi Jürgen,
we are using large downloads for some time with WO 5.4.3, it works,
however two things:
a) We don't use Apache, instead we use DirectConnect
You can test this within a debug session in Eclipse this also uses the
DirectConnect.
b) The content size parameter needs to be limited
IIRC, it was in WebObjects itself, using a Integer instead of a Long. I don't
know if it is feasible to fix this in Wonder or not.
Chuck
On 2013-01-25, at 11:07 AM, Jürgen Tabert wrote:
> A bug in mod_webobjects?
>
> On 25.01.2013, at 13:30, prob...@macti.ca wrote:
>
>> That's a unresolved
No, in WOAdaptor. Check the "5.4 uploading large files" thread from June 2012
in the mailing list.
> A bug in mod_webobjects?
>
> On 25.01.2013, at 13:30, prob...@macti.ca wrote:
>
>> That's a unresolved bug in WO 5.4...
>>
>> Envoyé de mon iPhone
>>
>> Le 2013-01-25 à 07:29, "Jürgen Tabert"
A bug in mod_webobjects?
On 25.01.2013, at 13:30, prob...@macti.ca wrote:
> That's a unresolved bug in WO 5.4...
>
> Envoyé de mon iPhone
>
> Le 2013-01-25 à 07:29, "Jürgen Tabert" a écrit :
>
>> I did some tests using a 9GB file
>>
>> 1. Direct Access (Direct Action) works
>> 2. download us
That's a unresolved bug in WO 5.4...
Envoyé de mon iPhone
Le 2013-01-25 à 07:29, "Jürgen Tabert" a écrit :
> I did some tests using a 9GB file
>
> 1. Direct Access (Direct Action) works
> 2. download using the htdocs folder (Apache 2.2) works
> 3. download using mod_webobjects (Apache 2.2) fa
I did some tests using a 9GB file
1. Direct Access (Direct Action) works
2. download using the htdocs folder (Apache 2.2) works
3. download using mod_webobjects (Apache 2.2) fails - only ~2GB gets downloaded
Maybe there is a problem in the code of the apache module or I miss an
configuration opt
Hi Niek,
I'm late to the party, but: Are you using Apache 1.3.X? I seem to remember that
it has a relatively low size limit of its own.
Fabian
Am 21.01.2013 um 12:59 schrieb niek:
> I tried this exact same code, and it doesn't work here.
> The file does not get fully downloaded. I'm trying to
Perhaps it is some networking limit local to you on http payload size? It does
not sound like WebObjects is stopping it. "Exception while sending response:
java.net.SocketException: Broken pipe" means that something stopped accepting
the download from the application.
Chuck
On 2013-01-21,
Download via Direct Access or Apache/mod_webobjects or something else
On 21.01.2013, at 13:59, niek wrote:
> I tried this exact same code, and it doesn't work here.
> The file does not get fully downloaded. I'm trying to download a 7GB zip
> file, and only 2.808.905 bytes (2.8GB) gets downloade
works for me (DirectAction)
WOResponse response = new WOResponse();
File fileToDownload = new File(po.filePath());
String contentDisposition = "attachment; filename=\"" +
po.fileName() + "\"";
response.setHeader(contentDisposition, "co
I also get a SocketException at the end of the download.
18/01/2013 11:27:07:597 [OFF] NSLog.java.appendln ->
Exception while
sending response: java.net.SocketException: Broken pipe
I doesn't seem like a time-out problem because when I download the same file
from different servers it downlo
New example code:
public WOActionResults TestAction() throws java.io.FileNotFoundException {
WOResponse response = new WOResponse();
response.setHeader("application/x-document", "content-type");
File file = new File("/test.zip");
response.setHeader("attachment
I think you are wrapping around maxint.
Your example code is incomplete. It can not work...
Am 18.01.2013 um 09:58 schrieb niek :
> Hi all,
>
> I'm experiencing a problem when trying to download files larger than 4GB over
> http but only a part is downloaded.
> When I try to download a 32GB fi
Hi all,
I'm experiencing a problem when trying to download files larger than 4GB over
http but only a part is downloaded.
When I try to download a 32GB file, only 3,98GB (3980070495 bytes) is
downloaded. When I try to download a 7GB file, only 2,7GB is downloaded.
I have retried it several times
2007/7/23, WILLIAM GARNETT <[EMAIL PROTECTED]>:
Hello everyone;
I need to make an XML file from my online database and be able to download
it and have it saved on the user's disk. Can anyone tell me how this can
be
done please?
Hi Bill,
Look to create and manipulate XML in java, you have m
Hello everyone;
I need to make an XML file from my online database and be able to download
it and have it saved on the user's disk. Can anyone tell me how this can be
done please?
Cheers,
Bill.
___
Do not post admin requests to the list. They w
Ok! Thanks all you!
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archi
Set "inline;filename=", instead of "attachment;filename=" when you
want the browser to show the data.
If the browser support the mime-type it will show the image / pdf /
textfile.
/John
3 feb 2006 kl. 16.37 skrev Amedeo Mantica:
works, thanks!
but... now the browser always download the fil
Amedeo,
Here is what I do. The explanation is in the header comments:
http://homepage.mac.com/robertwalker1/.cv/robertwalker1/Sites/.Public/
FileDownloader.java-zip.zip
On Feb 3, 2006, at 10:37 AM, Amedeo Mantica wrote:
works, thanks!
but... now the browser always download the file even if
works, thanks!
but... now the browser always download the file even if is a readable
file... jpg, pdf...
for my needs is ok...other solutions?
Thanks
Amedeo
On 03/feb/06, at 15:56, Miguel Arroz wrote:
Hi!
Just add:
response.setHeader("attachment;filename=" + filePath, "Content-
Dis
Hi!
Just add:
response.setHeader("attachment;filename=" + filePath, "Content-
Disposition");
Note that IE for Windows sends to the app the entire file path (C:
\DocumentsAndSomething\BlaBlaBla\theFile.txt) instead of just the
file name, as every other browsers does. You must take car
I people, I heve some files stoored into a DatabaseI store the FileName as String, the FileData as NSData anche the Mime type as String...Everything works fine...I have a WOComponent with this method to display/download the page public void appendToResponse(WOResponse response, WOContext context) {
29 matches
Mail list logo