Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #77 from miamon/master

UploadDownload: Updated README.md
  • Loading branch information...
commit fe675fef0078c6871827ab2d7a26f44456a7e880 2 parents d37a891 + a242832
@timwindsor timwindsor authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 Tablet/UploadDownload/README.md
View
10 Tablet/UploadDownload/README.md
@@ -76,14 +76,14 @@ Whenever you use the below feature id in any of your WebWorks applications this
'username':'foo',
'password' : 'bar',
'connectionTimeout': 30000,
- 'BESMaxSingeChunk' : 3279}
+ 'BESMaxSingleChunk' : 3279}
// Path could be one of http/https
- u.uploadFile(remotePath, localPath, onProgress, onError, options);
+ u.upload(remotePath, localPath, onProgress, onError, options);
}
function doDownload() {
- var d = blackberry.io.filetransfer;
+ var d = blackberry.io.fileTransfer;
// Check the file size
var sizeInBytes = d.getRemoteFileSize('http://foo/bar.jpg');
@@ -97,9 +97,9 @@ Whenever you use the below feature id in any of your WebWorks applications this
'username':'foo',
'password' : 'bar',
'connectionTimeout': 30000,
- 'BESMaxSingeChunk' : 3279}
+ 'BESMaxSingleChunk' : 3279}
// Path could be one of http/https
- d.downloadFile(remotePath, localPath, onProgress, onError, options);
+ d.download(remotePath, localPath, onProgress, onError, options);
}
// Error handler is something goes wrong during download/upload
Please sign in to comment.
Something went wrong with that request. Please try again.