What kind of file are you uploading, for what purpose? To upload a script to a bot use, SDKConnection.saveBotScriptSource() https://github.com/BotLibre/BotLibre/blob/master/sdk/android/src/org/botlibre/sdk/SDKConnection.java There is also a web API, /rest/api/create-bot-attachment That can create a file link.