Skip to content

Commit 84450f1

Browse files
committed
Starting GDrive. Nearly finished on Mac, Documentation just started, Windows not started yet.
1 parent 93e210c commit 84450f1

9 files changed

Lines changed: 1411 additions & 231 deletions

File tree

Documentation/Classes/FileTransfer_Dropbox.md

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,26 @@ End if
2121
|[cs.FileTransfer_Dropbox_.new](#new)<p>&nbsp;&nbsp;&nbsp;&nbsp;creates and returns a FileTransfer object allow to access Dropbox.|
2222
|[result parameter](#result-parameter)(#new)<p>&nbsp;&nbsp;&nbsp;&nbsp;All transfer function returns a result object|
2323
|[.upload](#upload)<p>&nbsp;&nbsp;&nbsp;&nbsp;Upload a file to the server.|
24-
|[.getDirectoryListing](#getDirectoryListing)<p>&nbsp;&nbsp;&nbsp;&nbsp;Returns directory listing from remote server.|
25-
|[.createDirectory](#createDirectory)<p>&nbsp;&nbsp;&nbsp;&nbsp;Creates a new directory on remote server.|
26-
|[.deleteDirectory](#deleteDirectory)<p>&nbsp;&nbsp;&nbsp;&nbsp;Deletes a directory on remote server.|
27-
|[.deleteFile](#deleteFile)<p>&nbsp;&nbsp;&nbsp;&nbsp;Deletes a file on remote server.|
28-
|[.renameFile](#renameFile)<p>&nbsp;&nbsp;&nbsp;&nbsp;Renames a file on remote server.|
29-
|[.moveFile](#renameFile)<p>&nbsp;&nbsp;&nbsp;&nbsp;Moves a file on remote server.|
24+
|[.download](#download)<p>&nbsp;&nbsp;&nbsp;&nbsp;Download a file from the server.|
25+
|[.getdirectorylisting](#getDirectoryListing)<p>&nbsp;&nbsp;&nbsp;&nbsp;Returns directory listing from remote server.|
26+
|[.createDirectory](#createdirectory)<p>&nbsp;&nbsp;&nbsp;&nbsp;Creates a new directory on remote server.|
27+
|[.deleteDirectory](#deletedirectory)<p>&nbsp;&nbsp;&nbsp;&nbsp;Deletes a directory on remote server.|
28+
|[.deleteFile](#deletefile)<p>&nbsp;&nbsp;&nbsp;&nbsp;Deletes a file on remote server.|
29+
|[.renameFile](#renamefile)<p>&nbsp;&nbsp;&nbsp;&nbsp;Renames a file on remote server.|
30+
|[.moveFile](#movefile)<p>&nbsp;&nbsp;&nbsp;&nbsp;Moves a file on remote server.|
31+
|[.executeCommand](#executecommand)<p>&nbsp;&nbsp;&nbsp;&nbsp;Allows to pass any valid Dropbox command and directly execute it.|
3032
|[.version](#version)<p>&nbsp;&nbsp;&nbsp;&nbsp;returns in result.data version information from Dropbox Command Line Interface Tool|
31-
|[.setPath](#setPath)<p>&nbsp;&nbsp;&nbsp;&nbsp;Allows to use another dbxcli installation.|
32-
|[.setAsyncMode](#setAsyncMode)<p>&nbsp;&nbsp;&nbsp;&nbsp;By default all commands are executed synchronously, meaning the command do not return till execution is completed or a timeout occurred. This allows all command to return the result or execution information..|
33+
|[.setPath](#setpath)<p>&nbsp;&nbsp;&nbsp;&nbsp;Allows to use another dbxcli installation.|
34+
|[.setAsyncMode](#setasyncmode)<p>&nbsp;&nbsp;&nbsp;&nbsp;By default all commands are executed synchronously, meaning the command do not return till execution is completed or a timeout occurred. This allows all command to return the result or execution information..|
3335
|[.stop](#stop)<p>&nbsp;&nbsp;&nbsp;&nbsp;Terminates the execution of a running operation, such as upload or download.|
3436
|[.status](#status)<p>&nbsp;&nbsp;&nbsp;&nbsp;Returns informations about the execution of a running operation.|
3537
|[.wait](#wait)<p>&nbsp;&nbsp;&nbsp;&nbsp;Only useful in combination with setAsyncMode.|
36-
|[.useCallback](#useCallback)<p>&nbsp;&nbsp;&nbsp;&nbsp;Allows to show a progress bar during long running operations.|
38+
|[.useCallback](#usecallback)<p>&nbsp;&nbsp;&nbsp;&nbsp;Allows to show a progress bar during long running operations.|
3739

38-
-------###### status,s top, wait, set async, still missing ########
3940

4041
## new
4142

42-
### cs.FileTransfer_Dropbox_.new()
43+
### cs.FileTransfer_Dropbox.new()
4344

4445
creates and returns a FileTransfer object allow to access Dropbox account.
4546

@@ -49,13 +50,13 @@ creates and returns a FileTransfer object allow to access Dropbox account.
4950

5051
#### Description
5152

52-
The cs.FileTransfer_Dropbox_.new() function creates and returns an object allow to access a Dropbox account for file transfer operations, such as upload or download a document, get directory, as well as create and delete a directory or rename, delete or remove a document.
53+
The cs.FileTransfer_Dropbox.new() function creates and returns an object allow to access a Dropbox account for file transfer operations, such as upload or download a document, get directory, as well as create and delete a directory or rename, delete or remove a document.
5354

5455
Internally the class uses dbxcli to access the file server.
5556

5657
```4D
5758
var $ftp : cs.FileTransfer
58-
$ftp:=cs.FileTransfer_Dropbox_.new()
59+
$ftp:=cs.FileTransfer_Dropbox.new()
5960
```
6061

6162
## File transfer commands
@@ -185,6 +186,16 @@ Deletes a file on remote server.
185186
#### Description
186187
Moves a file on remote server to another directory (and/or rename it)
187188

189+
## executeCommand
190+
191+
### .executeCommand(command: Text) -> result : Object
192+
|Parameter|Type||Description|
193+
|---------|--- |:---:|------|
194+
|command|Text|->|command|
195+
|result|Object|<-|result object|
196+
197+
#### Description
198+
Allows to pass any valid Dropbox dbxcli command and execute it. Result is returned directly.
188199

189200
## Settings commands
190201

0 commit comments

Comments
 (0)