Skip to content

Commit

Permalink
Merge pull request blackberry#77 from miamon/master
Browse files Browse the repository at this point in the history
UploadDownload: Updated README.md
  • Loading branch information
timwindsor committed Oct 26, 2012
2 parents d37a891 + a242832 commit fe675fe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Tablet/UploadDownload/README.md
Expand Up @@ -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');
Expand All @@ -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
Expand Down

0 comments on commit fe675fe

Please sign in to comment.