Hi,
The "package" that I've got is just a collection of source files (incl.
html, wod,...) that I have copied from another in-house project. I don't
know if the EnhancedFileUploadTools has an official web site. Please let
me know if there is one. As I said, every once in a while the
progression info shows briefly at the end of the upload, but that's way
too late.
Do you have any experience with this package?
/Jon
On 4/23/13 1:05 PM, Theodore Petrosky wrote:
Are you embedding frameworks when you built to deploy?
Sent from my iPad
On Apr 23, 2013, at 6:59 AM, Jon Kleiser<[email protected]> wrote:
Hi,
I have just started to include Jonathan Rochkind's EnhancedFileUploadTools package code
(2003) in our old WebObjects project. From what I can see, it works quite well. There is
one thing, however, that I would very much like fix. When I run our application on our
Linux server (with Apache), the upload status page pops up, and this window seems to be
refreshed regularly, but it keeps showing its initial "Upload is starting up"
until it closes when the upload is done. Only once or twice have I seen the progression
info briefly at the end of the upload.
When I run our application locally on my developer Mac, however, then the progression
info replaces the "Upload is starting up" message early on, as it should.
As far as I can see, the problem is that the NBUCriticalCommunication
progressInfo doesn't get a real value (soon enough). It's this expression, at
the top of the NBUDirectAction.statusPageAction(), that should provide the
value:
NBUCriticalCommunication progressInfo =
(NBUCriticalCommunication)
uploadSession.objectForKey(transactionCode);
In the code I have, this line is commented out:
//NBUCriticalCommunication progressInfo = NBURequestHandler.store().getObject(
uploadSessionID, transactionCode );
I haven't tried that one; it seems the method store() is undefined in
NBURequestHandler.
I know it may be a few years since anybody looked at the
EnhancedFileUploadTools code, but if you have some idea why the progressInfo
takes so long to become available (if at all) when I run on our Linux server, I
would be very glad to hear from you.
/Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]