Hi,
I tried with ASCII mode (FTPTransferType.ASCII) and it works. However the same code is not working in the app server environment. I am not sure if it is a right approach to transfer PDF files in ASCII mode. Please throw some light on this.
Also please let me know can I transfer text files in binary mode? (.txt files, .jpg files, .sql files etc)