posted 9 years ago
I am sorry, - I am confused and lost bit..
I am getting file from remote as BufferedOutputStream using com.enterprisedt.net.ftp.ssl.SSLFTPClient.get(BufferedOutputStream, FileName).
I do get
SSLFTPClient.get()
Before I do get, I have 2 options to set, get as - ascii / binary
ascii - there is an issue and new line is not working on notepad (\CR is expected by notepad and since its not in byte stream, data continues on same line.)
binary - I thought to set binary before get, but notepad shows binary data when I pass it to web layer.. so I am trying to understand my mistake, how can I get text file as binary.
thanks..