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


  • With a username and password
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

EXAMPLES

curl '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>