commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nation, Carey" <Carey.Nat...@turner.com>
Subject [net-ftp]Received file is short...
Date Wed, 04 Jun 2008 17:01:00 GMT
I'm using FTPClient to get a file from a server using receiveFile.  No
amount of closing the stream, flushing the stream, disconnecting the
server, or dancing a jig seems to make the entire file come down.  It's
about 40k short, which sure smells like a block short to me.  My finally
block looks like:

 

Finally

{

            Stream.close();

            Client.disconnect();

}

 

Sorry for the caps, Outlook is trying to "help."

 

The stream is a FileOutputStream.  What am I missing?

 

Thanks!

________________________________

Carey Nation <mailto:carey.nation@cnn.com>  

Lead Software Engineer

CNN BEST

Broadcast Production Systems

Video Solutions Group

(404)827-2935 (wk)

(404)824-0033 (cell)

________________________________

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message