Im using commons FTPCLIENT I just want the file content from the ftp server. i dont want to write it to a temporary file. Is there any way to do that. The fileoutputstream should always point to a local file.
Thanks in advance.
Im using commons FTPCLIENT I just want the file content from the ftp server. i dont want to write it to a temporary file. Is there any way to do that. The fileoutputstream should always point to a local file.
Thanks in advance.
Thanks a lot for the quick reply..
And that did work for me.. this is what i tried .
-
You should use retrieveFilestream method instead of retriveFile method..
Use
FTPClient.retrieveFileStream(String)
.