🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15120

Re: how do I Write files to a remote machine

#15120
From: Tom Davies
Date: Sat, 10 Jul 1999 00:00
19 lines
1370 bytes
Ofir Amitai wrote:
> 
> Hi
> 
> I'm writing an applet and need to save information on the server.
> My problem is I don't know how to write to the server.

If application is for Internet use, you should only rely on HTTP passing
through various firewalls. The easiest way to get information back to
the server is probably to write a Servlet which runs in a web server on
the server machine and accepts the data you want to send as CGI style
requests. You may be able to tunnel RMI or IIOP through HTTP, but that
is a more complicated solution.

If you can use protocols other than HTTP you could write files to the
server using FTP (very crude, but useful if you can't run a servlet on
the web server) connect to a relational database or send email.

Tom
Technical Details
Message-ID: <37868E6F.632461E7@smartchat.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7m1ot0$gvj8@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,d6d5933e5f22ba94
X-Google-Attributes: gidf74b3,public
From: Tom Davies <tom@smartchat.net.au>
Subject: Re: how do I Write files to a remote machine
Date: 1999/07/10
Message-ID: <37868E6F.632461E7@smartchat.net.au>
X-Deja-AN: 499081638
Content-Transfer-Encoding: 7bit
References: <7m1ot0$gvj8@forums.borland.com>
To: Ofir Amitai <amitay@econ.haifa.ac.il>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language