* Tom Jackson [EMAIL PROTECTED] [20051229 08:07]:
There are problems on both the client and server side. Client browsers cannot
send binary data. AOLserver loads the entire request before a connection
thread is started. That means that there isn't any opportunity to save data
in chunks,
* Dossy Shiobara [EMAIL PROTECTED] [20051228 15:55]:
What's the use case you're looking to implement? If it's small file
uploads, it's probably just simpler to fake it using an animated
spinwait image.
Uploads of preproduced sound files for a radio station, from
appx. 50-100MB size each.
* Dossy Shiobara [EMAIL PROTECTED] [20051228 21:18]:
Ouch. Have you considered making an upload applet? Together with a
more advanced server side solution, you can then do things like
resume if the connection craps out, while still using HTTP.
I'm thinking the same thing: for real
Hi,
Like it has been posted to this list a few months ago, (
http://thread.gmane.org/gmane.comp.web.aolserver/12240 ), tracking
upload progress of POST data is unfortunately not possible without a
lot of C hacking on the core.
Will there be any change in this in a near future version of
* Nathan Folkman [EMAIL PROTECTED] [20040714 23:40]:
Is anyone doing this? More importantly, is anyone doing this via Tcl?
Any pointers would be appreciated. Thanks!
I'm using reportlab (www.reportlab.org) - unfortunately not in tcl,
but open source and offering tight and very flexible
* Mark Page [EMAIL PROTECTED] [20040527 20:21]:
In AOLserver 4.0,
ns_conn encoding
will return the name of the encoding currently set for the active
connection.
Thanks!
And is there a way to retrieve it in iso format or translate back from
the tcl notation back to iso format, e.g.
* Dossy [EMAIL PROTECTED] [20040528 05:51]:
An additional -encoding parameter for ns_httpopen would be the most
flexible way. [...]
If you're really serious about wanting this, file it as a Feature
Request in SF tracker so we don't forget about it. Thanks!
Done:
How can I find out which characterset encoding aolserver uses to
return a current request?
Would it be correct to use:
ns_config {ns/parameters} {OutputCharset}
and assume iso8859-1 if the command above returns an empty string?
til
--
AOLserver - http://www.aolserver.com/
To Remove
* Nis Jorgensen [EMAIL PROTECTED] [20040527 22:08]:
He's using the http protocol for that, I assume, not just plain
socket connection.
Tilmann's email only mentions ns_sockopen. If the fconfigure trick
works, then extending ns_httpopen to take an -encoding parameter
that it uses to
* Peter Alberer [EMAIL PROTECTED] [20040311 16:07]:
I am not sure that has anything to do with your problem, but i had to
readd the following line to /aolserver/modules/tcl/init.tcl that was in
aolserver-33-ad13:
encoding system [ns_config ns/server/[ns_info server] SystemEncoding
utf-8]
[After trying openfts-general and openacs forums without success I
thought it might be worth trying the aolserver list, sorry if that is
a cross posting for you.]
openfts indexing of unicode encoded databases does not work anymore
with aolserver 4.
I get this error when the indexer encounters
Hi,
When working with the openacs xmlrpc package I noticed that when
posting data using ns_httpopen which calls ns_sockopen the data is
encoded in iso-8859-1 although I have set the following parameters:
ns_section ns/parameters
...
ns_param HackContentType 1
ns_param URLCharset utf-8
ns_param
I would like my server to return a custom html page (or even better a
tcl/adp pair) when a url is not found, with an http status code of
404.
When setting this in the config file:
ns_section ns/server/${servername}/redirects
ns_param 404 /global/notfound.html ;# Not Found error page
it
* Steve Manning [EMAIL PROTECTED] [20031209 13:22]:
I want to create a PDF version of a database report for downloading. Does
anyone know of a way to dynamically generate PDF's within AOLserver?
I'm using the free python library reportlab (
http://www.reportlab.org/ ) which gives you a high
* John Sequeira [EMAIL PROTECTED] [20031103 15:46]:
If your app was written portably enough to run under CGI, then I would
recommend going that route with AOLServer.
If you want a performance boost, look into persistent perl, SpeedyCGI
or FastCGI (using the cgi2fastcgi bridge, since
Hi,
I have an application that runs under apache mod_perl, and I was
wondering if it would be possible to make it run under aolserver
somehow as well.
There is this project for aolserver:
http://sourceforge.net/projects/perl-aol/
but it doesn't have any released files and is labelled alpha. Is
* Andrew Piskorski [EMAIL PROTECTED] [20030930 15:47]:
I want to look at the outging HTTP protocol traffic of my own browser,
on Linux, and I do have root access on the machine. What's the best
or handiest packet sniffing tool to use for this? Ones I've heard of
are tcpdump and ethereal.
Hi,
I remember once reading that someone (Jerry?) wrote an API that allows
to manipulate the nsvhr virtual hosting mappings during runtime so
that the changes would take effect immediately, without a restart.
I can't seem to find any references to this anymore - does it still
exist? If yes, in
* Patrick Kelly [EMAIL PROTECTED] [20021119 18:52]:
We couldn't manage to simulate the qmail trigger pull from Tcl, so we
built a new tcl command in C just to do that. The actual injection is
all happening in Tcl.
Sounds very useful. Is this code available for the public? Maybe even
as a
Hi
I would like to run a tcl script from within aolserver that requires
some commands from the tcl http package. When running the script
standalone with tclsh, I can use
package require http
but from within aolserver that returns the error: can't find package
http
There are two versions of
20 matches
Mail list logo