Article View: borland.public.jbuilder.java.api
Article #2174Re: Transfer files
From: Marcel Gabi
Date: Wed, 09 May 2001 19:15
Date: Wed, 09 May 2001 19:15
32 lines
1886 bytes
1886 bytes
You can also use Java RMI to read your file in chunks and stream it back from the server to the client. Regards, Marcel M Hamedi wrote: > I just used Socket for the client and ServerSocket for the server, had the > server listen on a port number. > I am not sure if this answers your question. > > -Mohamed > > "John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message > news:MPG.1562bf651cf34b2098a1b4@forums.borland.com... > > On Tue, 8 May 2001 17:30:01 -0700, M Hamedi wrote: > > > > > Can someone post an example of how I can transfer a file from > > > say, server to a client. Assuming I have already made a connection. > > > > What kind of connection have you made? > > > > -- > > Regards, > > > > John McGrath [TeamB] > > > > --------------------------------------------------- > > Before sending me e-mail, please read: > > http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<3AF9974D.5A6A78BE@borland.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3af88ef1_2@dnews> <MPG.1562bf651cf34b2098a1b4@forums.borland.com> <3af98239_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,7f1c8fc909561cee X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-05-09 12:48:25 PST Message-ID: <3AF9974D.5A6A78BE@borland.com> Date: Wed, 09 May 2001 12:15:25 -0700 From: Marcel Gabi <mgabi@borland.com> Organization: Borland Software Corporation X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: Re: Transfer files References: <3af88ef1_2@dnews> <MPG.1562bf651cf34b2098a1b4@forums.borland.com> <3af98239_1@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 10.143.12.99 X-Trace: dnews 989435899 10.143.12.99 (9 May 2001 12:18:19 -0700) Lines: 33 Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews