InputStream is = null;
try {
is = new FileInputStream(serverFile);
ContentStream contentFile = new ContentStream(is,serverFile.length(), name);
SmartCloudService svc = new SmartCloudService(authBean);
svc.post(SERVICE_URL, params, contentFile);
} catch (ClientServicesException e) {
e.printStackTrace();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block