Re: Java Applet saving results on home server
- From: Gordon Beaton <n.o.t@xxxxxxxxx>
- Date: 14 Jun 2007 11:45:17 GMT
On Thu, 14 Jun 2007 11:08:59 -0000, rizwindu wrote:
I can open a file stream and save one file to the server, but if I try
and save a second file it doesn't work.
You must use ftp.completePendingCommand() after each file (this is
mentioned in the docs for storeFileStream()).
You should probably use ftp.getReplyCode() and check for a positive
result in several places as well (e.g. after logging in). Have a look
at the example in the description of completePendingCommand().
/gordon
--
.
- Follow-Ups:
- Re: Java Applet saving results on home server
- From: rizwindu
- Re: Java Applet saving results on home server
- References:
- Java Applet saving results on home server
- From: rizwindu
- Re: Java Applet saving results on home server
- From: Lew
- Re: Java Applet saving results on home server
- From: rizwindu
- Re: Java Applet saving results on home server
- From: Lew
- Re: Java Applet saving results on home server
- From: rizwindu
- Java Applet saving results on home server
- Prev by Date: Re: Java Applet saving results on home server
- Next by Date: Re: Java Applet saving results on home server
- Previous by thread: Re: Java Applet saving results on home server
- Next by thread: Re: Java Applet saving results on home server
- Index(es):