@Override
    public boolean uploadFieldNotes(@NonNull final File exportFile) {
        if (!GCLogin.getInstance().isActualLoginStatus()) {
            // no need to upload (possibly large file) if we're not logged in
            final StatusCode loginState = GCLogin.getInstance().login();
            if (loginState != StatusCode.NO_ERROR) {
                Log.e("FieldNoteExport.ExportTask upload: Login failed");
                return false;
            }
        }

        final String uploadRes = Network.getResponseData(Network.postRequest("https://www.geocaching.com/api/proxy/web/v1/LogDrafts/upload", new Parameters(), null, "file-0", "text/plain", exportFile));

        if (StringUtils.isBlank(uploadRes)) {
            Log.e("FieldNoteExport.ExportTask upload: No data from server");
            return false;
        }
        return true;
    }
Remove a cache from the favorites list.
<br>
This must not be called from the UI thread.

@param cache the cache to add
@return {@code true} if the cache was successfully added, {@code false} otherwise
main/src/main/java/cgeo/geocaching/connector/gc/GCConnector.java