Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

file Upload

0 views
Skip to first unread message

Rob Martin

unread,
Nov 22, 2000, 4:07:07 PM11/22/00
to
Greetings

Does anyone know how to achieve a file upload using web-pb? (Apart from
Filesystemobject in JavaScript which I'm trying). I'd like the basic html
feature of <input type="file" etc

Using PB6.5.1 and O'Reilly Website 2.5.8

Does the file come in as an argument into a (PB) object function as per the
other <input> fields? Cant get this to work - should it?

{EASERVER} - also, looking at EAServer in the future - will the easerver
also handle within a form <input type="file" name="the_file"> etc?

Thanks!


Jonathan Baker [Sybase]

unread,
Nov 26, 2000, 11:27:17 PM11/26/00
to
EAServer does support the <input type="file">, but you should use a servlet
to receive the input stream and process it.

There is some information on using servlets to handle file uploads on
www.servlets.com.


Jonathan Baker
Internet Applications Division

"Rob Martin" <nomorespam@atmyemailaddressthanks> wrote in message
news:SCJbBtM...@forums.sybase.com...

Bill Green[TeamSybase]

unread,
Nov 27, 2000, 3:00:00 AM11/27/00
to
We did this using a Java Servlet which uploads the file using the oReilly
servlet library (MultipartRequest), and once uploaded, calls the web.pb
function with the file location (or, as an in-memory fileupload, calls the
web.pb function and passes the entire file in as a blob).

regards,
Bill Green

Rob Martin wrote:

--
Bill Green[TeamSybase]
-----------------------------------------------------------
Good Links to know, good places to go:

News: Sybase Portal is live - Go http://my.sybase.com

Developer stuff on my.sybase.com
Find things like:
-- EAServer 3.6 maintenance release is available
-- PowerBuilder C3 maintenance release available (build 8046)
-- Components, White papers, articles and more
-- Web DataWindow Article Series (Author: Larry Cermak)
-- Jaguar Agent for Web Servers (HTTP access to PB components)

PFC Guide - http://www.pfcguide.com

Power3 - Custom Training - http://www.power3.com
Bill Green @ Power3 - wgr...@power3.com
-----------------------------------------------------------

Rob Martin

unread,
Nov 29, 2000, 3:00:00 AM11/29/00
to
Many thanks!


"Bill Green[TeamSybase]" <bill....@teamsybase.com> wrote in message
news:3A226A71...@teamsybase.com...


> We did this using a Java Servlet which uploads the file using the oReilly
> servlet library (MultipartRequest), and once uploaded, calls the web.pb
> function with the file location (or, as an in-memory fileupload, calls the
> web.pb function and passes the entire file in as a blob).
>
> regards,
> Bill Green
>
> Rob Martin wrote:
>

0 new messages