Skip to content

Citrix ShareFile

Capability Support
rclone support tier Tier 5: Deprecated
Checksums MD5
Modification times Kept, to 1 s
Case-insensitive names No
Duplicate names allowed No
Server-side copy No
Server-side move and rename No
Folder move and rename No: each file is moved in turn
Free space reporting No
Empty folders No: folders exist only while they hold files
Change notifications No
Uploads of unknown size No
Public links No

Citrix ShareFile is a secure file sharing and transfer service aimed as business.

In CloudMount you add this drive from the Add drive screen, and the wizard asks for the options listed under Options. The notes below come from rclone’s setup guide.

ShareFile allows modification times to be set on objects accurate to 1 second. These will be used to detect whether objects need syncing or not.

ShareFile supports MD5 type hashes, so you can use the --checksum flag.

For files above 128 MiB rclone will use a chunked transfer. Rclone will upload up to --transfers chunks at the same time (shared among all the multipart uploads). Chunks are buffered in memory and are normally 64 MiB so increasing --transfers will increase memory use.

In addition to the default restricted characters set the following characters are also replaced:

Character Value Replacement
\ 0x5C \
* 0x2A *
< 0x3C <
> 0x3E >
? 0x3F ?
: 0x3A :
| 0x7C |
“ 0x22 "

File names can also not start or end with the following characters. These only get replaced if they are the first or last character in the name:

Character Value Replacement
SP 0x20 ␠
. 0x2E .

Invalid UTF-8 bytes will also be replaced, as they can’t be used in JSON strings.

The wizard asks for these when you add the drive.

OAuth Client Id.

Leave blank normally.

Type: string

OAuth Client Secret.

Leave blank normally.

Type: string

ID of the root folder.

Leave blank to access “Personal Folders”. You can use one of the standard values here or any folder ID (long hex number ID).

Type: string

Choices:

  • (empty): Access the Personal Folders (default).
  • favorites: Access the Favorites folder.
  • allshared: Access all the shared folders.
  • connectors: Access all the individual connectors.
  • top: Access the home, favorites, and shared folders as well as the connectors.

The wizard shows these under Advanced options. Most drives work without changing any of them.

OAuth Access Token as a JSON blob.

Type: string

Auth server URL.

Leave blank to use the provider defaults.

Type: string

Token server url.

Leave blank to use the provider defaults.

Type: string

Use client credentials OAuth flow.

This will use the OAUTH2 client Credentials Flow as described in RFC 6749.

Note that this option is NOT supported by all backends.

Type: bool · Default: false

Cutoff for switching to multipart upload.

Type: SizeSuffix · Default: 128Mi

Upload chunk size.

Must a power of 2 >= 256k.

Making this larger will improve performance, but note that each chunk is buffered in memory one per transfer.

Reducing this will reduce memory usage but decrease performance.

Type: SizeSuffix · Default: 64Mi

Endpoint for API calls.

This is usually auto discovered as part of the oauth process, but can be set manually to something like: https://XXX.sharefile.com

Type: string

The encoding for the backend.

See the encoding section in the overview for more info.

Type: Encoding · Default: Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot

Description of the remote.

Type: string

Note that ShareFile is case insensitive so you can’t have a file called “Hello.doc” and one called “hello.doc”.

ShareFile only supports filenames up to 256 characters in length.

rclone about is not supported by the Citrix ShareFile backend. Backends without this capability cannot determine free space for an rclone mount or use policy mfs (most free space) as a member of an rclone union remote.

See List of backends that do not support rclone about and rclone about.