Check if a File Exists

FileService

Checking if a File Exists

 

This operation allows you to determine if a file with a specified name exists in the servers storage folder.

 

HTTP method

GET

 

URI

/FileService/exists/<filename>

 

Request headers

Host: <server_dns_or_ip>[:<port>]

 

Request body

n/a

 

Response headers

Content-Length: 0

Date: <date_time>

Server: Microsoft-HTTPAPI/2.0

 

Response body

None

 

HTTP result codes

HTTP 204 (no content) indicates that the file exists.

HTTP 404 (not found) indicates that the file does not exist.