In this article you will find all of the settings related to File Uploads.
Use this setting to enable or restrict file uploads on your server
Use this setting to enable or restrict file uploads on Direct Messages
Use this setting to define the maximum allowed file size for uploads.
Set it to -1 to remove the file size limitation.
Use this setting to define what types of files the users will be able to upload.
Comma-separated list of media types. Leave it blank for accepting all media types.
Yes: Only authenticated users will have access to the uploaded files.
No: If in possession of the uploaded file's URL, unauthenticated users will be able to access and download said files.
GridFS: Uses the GridFS storage type
AmazonS3: Uses the Amazon S3 storage type
Google Cloud Storage: Uses the Google Cloud Storage storage type
WebDAV: Uses the WebDav storage type
FileSystem: Uses the FileSystem storage type
You can find a more detailed guide on how to set your Amazon S3 server here.
Your Amazon Access Key ID (optional)
Your Amazon Secret Access Key (optional)
Note: If no
AWSAccessKeyId
andAWSSecretAccessKey
are set, the underlying AWS SDK will fallback to trying to retrieve credentials from the usual locations.
(Optional)
A Canned ACL configuration (see a full list here)
The bucket name you've created on Amazon S3
(Optional)
Override URL to which files are uploaded. This URL will also be used for downloads unless a CDN is given
(Optional)
If you had set a CDN for your bucket, put it here
Proxy avatar file transmissions through your server instead of direct access to the asset's URL
Proxy upload file transmissions through your server instead of direct access to the asset's URL
(Optional)
If you have created your bucket on region different from the US Standard, you have to set their code here (see a list of region codes here)
Identifies the version of AWS Signature that you want to support for authenticated requests.
Time after which Amazon S3 generated URLs will no longer be valid (in seconds). If set to less than 5 seconds, this field will be ignored.
If you run into issues with files not loading consistently for some users located further from server location. Increasing this time might help.
​
The local path for where the uploaded files will be stored.
Settings used when configuring a Google Cloud Storage server. You can find more details in here​
The access ID (or username) of the service account which has access to your Cloud Storage bucket.
The Access Id is generally in an email format, for example: "[email protected]"
The name of the bucket which the files should be uploaded to.
Proxy avatar file transmissions through your server instead of direct access to the asset's URL
Proxy upload file transmissions through your server instead of direct access to the asset's URL
What is a essentially a .pem containing your private key and certificate.
You can find a guide here on how to get your keys.
Settings related to the Google Vision feature.
Google vision is a Paid API from Google, using it on Rocket.Chat may generate fees, see Google Vision page.
This setting enables the blocking of adult images
Blocking adult images will not work once the monthly limit has been reached
Here it will be displayed how many calls were made this month
This enables the Google vision feature on your server.
Here you can define the max amount of calls that should be made in a month.
Use 0 for unlimited
Create a server key (JSON format) and paste the JSON content in the field.
This will enable text detection on images, when text is detected on an image, a property with the text will be added on the file entry in the database.
This will enable face detection on images, when a face is detected on an image, a property with the face information will be added on the file entry in the database.
This will enable labeling on uploaded images, then a property with the image labels will be added on the file entry in the database.
E.g If you post an image of a cat with glasses, the categories
CAT
andGLASSES
will be added to the file.
This will enable landmarks detection on images, when a landmark is detected on an image, a property with the landmark information will be added on the file entry in the database.
This will enable logos detection on images, when a logo is detected on an image, a property with the logo information will be added on the file entry in the database.
This will enable color detection on images, this will create a property with the colors used on the image on the file entry in the database.
Safe Search Detection detects explicit content such as adult content or violent content within an image. This feature uses five categories ("adult", "spoof", "medical", "violence", and "racy") and returns the likelihood that each is present in a given image
Categories will be added as a property on the file entry on the database.
This will enable users to search for similar images directly from Rocket.Chat.
Settings used in the setting of a WebDAV storage server.
Password for the remote webdav server.
Proxy avatar file transmissions through your server instead of direct access to the asset's URL.
Proxy upload file transmissions through your server instead of direct access to the asset's URL.
The URL of the WebDAV server (WebDAV URLs of Common Cloud Storage Services).
WebDAV folder path which the files should be uploaded to.
Username for the remote WebDav server.
​