i hope this isn't already posted or i didn't read the api well
i tried this:
import com.enterprisedt.net.ftp.FTPClient;
public class FtpExample {
private FTPClient ftp;
public void download() {
try {
ftp.setRemoteHost("host");
ftp.connect();
ftp.login("username","password");
ftp.get("C:\\blubb\\288.JPG","/testi/test/288.JPG");
ftp.quit();
} catch(Exception e) {
}
and i tried this:
import java.io.FileOutputStream;
import com.enterprisedt.net.ftp.FTPClient;
public class FtpExample {
private FTPClient ftp;
public void download() {
try {
ftp.setRemoteHost("host");
ftp.connect();
ftp.login("username","password");
FileOutputStream stream = new FileOutputStream("C:\\blubb\\288.JPG");
ftp.get(stream,"/testi/test/288.JPG");
ftp.quit();
} catch(Exception e) {
}
it works but the result isn't good,
this is the right picture:
[ img ]
that is the downloaded one:
[ img ]
EDIT: i used the free version, please help me, i think it is my bad, do i have to set anything?