FileExists

Returns a list of files and directories on the requested path.

An ls from a file returns the file info for that file.

Authentication Methods


  1. With a username and password
  2. Using Kerberos
Input Parameter Type Description
Token String Security token
FileServerName String FileServer name
Path String Path of the folder
Output Parameter Type Description
FileExists Boolean True if file or folder exists, false if it does not
CURL EXAMPLE
curl -v 'https://storage.example.com/storage/api.php?Token=rrc1d3ntb53tt6b2vhail6rdtrsxov3v&Task=FileExists&FileserverName=nmsa000001&Path=/my/file.txt'
RESPONSE
<Response>
    <Status>1</Status>
    <Message></Message>
    <FileExists>true</FileExists>
</Response>