ng:smbFileExist

ng:smbFileExist

The ng:smbFileExist function can be used for verifying if a file exists in folder shared via a Windows Share connection.

Example:

ng:smbFileExist('Share on internal server','/folder/fileToCheck.EXT')

It takes two arguments:

  1. The Windows Share connection name in settings
  2. The relative path to the file to check in the share.

Returns a boolean (true or false) if the file exists or not