Im using this library for the ftp upload:
This my code but it isnt working:
FTPClient client = new FTPClient();
try {
client.connect("xx.xx.xx.xx", 21);
client.login("xxx", "xx");
client.setType(FTPClient.TYPE_BINARY);
client.changeDirectory("/picts_products/");
File f = new File("/logo.png");
client.upload(f);
I alway get this error: java.io.FileNotFoundException. Do you know why?
UPDATE!
Since API 23 the permissions must be checked by the activity! This solved my problem:
Exception 'open failed: EACCES (Permission denied)' on Android