i am working on an FTP client in Java. i have run into a problem while trying to send and recieve the files. sending files in ASCII mode is not a problem, however, trying to send images is a bit more tricky. also, i can't figure out how to receive a file, in either mode.
how do i read/write binary files using Java? i do not have control over the FTP server, so i can't make any changes there. Please advise.