The File System Object - Script2Service Programming Interface

Document Path: Home Page / Programming / Script2Service / Interfaces / File System Object  
Properties
Methods CompareDirectory CompareFile CopyFile CreateDirectory CreateFileObject DeleteFile FindFile GetContentTypeOfFile MD5OfFile MoveFileEx ScanDirectory
Properties
Methods

CompareDirectory

Return Value
Arguments:
  • BSTR path1
  • BSTR path2
  • BOOL scanSubDirectories
  • Object callbackFunction
  • VARIANT cbData
Notes

CompareFile

Return Value ULONG
Arguments:
  • BSTR file1Path
  • BSTR file2Path
  • BOOL compareContents (Optional, default(0))
  • Object progressCallback (Optional, default(0))
Notes

CopyFile

Return Value
Arguments:
  • BSTR srcPath
  • BSTR destPath
  • Object callbackFunc (Optional, default(0))
Notes

CreateDirectory

Return Value
Arguments:
  • BSTR path
Notes

CreateFileObject

Return Value Object
Notes

DeleteFile

Return Value BOOL
Arguments:
  • BSTR path
Notes

FindFile

Return Value Object
Arguments:
  • BSTR path
Notes

GetContentTypeOfFile

Return Value BSTR
Arguments:
  • BSTR fileName
Notes

MD5OfFile

Return Value BSTR
Arguments:
  • BSTR filePath
  • Object callbackFunc (Optional, default(0))
Notes

MoveFileEx

Return Value ULONG
Arguments:
  • BSTR pathFrom
  • BSTR pathTo
  • ULONG flags
Notes

ScanDirectory

Return Value
Arguments:
  • BSTR path
  • BOOL scanSubDirectories
  • Object callbackFunction
  • VARIANT cbData
Notes