import org.apache.commons.httpclient.methods.RequestEntity;
+import android.util.Log;
+
import eu.alefzero.owncloud.files.interfaces.OnDatatransferProgressListener;
/**
if (listener != null)
listener.transferProgress(i);
}
+ } catch (IOException io) {
+ Log.e("FileRequestException", io.getMessage());
+ throw new RuntimeException("Ugly solution to workaround the default policy of retries when the server falls while uploading ; temporal fix; really", io);
+
} finally {
instream.close();
}