I have the following ftp-connection:
FTPClient ftp = null;
String host = "xxxxxxxx";
String user = "xxxxxxx";
String password = "xxxxxxx";
try {
ftp = new FTPClient();
ftp.setRemoteHost(host);
ftp.connect();
ftp.login(user, password);
ftp.mkdir("test");
//ftp.put(pad, filenaam);
ftp.quit();
} catch (Exception e) {
Textbox.append("" + e);
}
}
It works fine, because the directory test is made.
Now i have three Image objects
private Image afbeeldingorig;
private Image afbeeldingklein;
private Image afbeeldingthumb;
How can I upload these objects on the ftp-server?