Uploading Files and Folders
The CLI App can be used to upload files and folders to your Files.com site. Uploads can be made to any destination folder, including those located within Remote Server Mounts.
Uploading Files and Folders
To upload a single file, use the command:
or
To upload a single folder, use the command:
Using Wildcards To Upload Multiple Files Or Folders
You can also upload multiple files and folders by using wildcard characters to specify the files or folders that should be targeted for the upload action.
To upload multiple files, use the command:
or
To upload the contents of multiple folders into a single destination folder use the command:
or
or
Uploading Into Multiple Destination Folders
Wildcards cannot be used to upload or download into multiple destination folders. The contents of the source folders will be merged into the destination folder whenever wildcards are used.
For example, let's say you have three source folders, named C:\Source\FolderOne
, D:\Source\FolderTwo
, and E:\AnotherSource\FolderThree
. You want to upload these folders to Files.com into a folder named Destination
, so that you end up with destination folders named Destination/FolderOne
, Destination/FolderTwo
and Destination/FolderThree
.
Using a wildcard isn't possible as the contents of the source folders will be merged into the destination folder.
Instead, you need to perform a separate upload, or download, for each destination like this:
Viewing Connection Information
You can see the connection information, showing the number of open data connections, the number of open API connections, and the network throughput, by using the --connection-metrics
flag.