Check if a file exists
Updated at:2025-11-03
Users can check if a file exists through the following operations:
Java
1// Returns true if it exists, false if it does not exist, and other exceptions will be thrown
2bool exists = client.doesObjectExist("bucketName", "objectKey");
