ThingWorx Edge C SDK > Porting to Another Platform > File System Functions
  
File System Functions
To use the file transfer or directory browsing capability of the C SDK, implement the functions listed in the following table. For signatures, parameter details, and return information, refer to the Doxygen documentation provided with the SDK.
Function
Description
twDirectory_GetFileInfo
Retrieve information about a directory entry (file or subdirectory).
twDirectory_FileExists
Check if a directory entry (file or directory) exists.
twDirectory_CreateFile
Create a file.
twDirectory_MoveFile
Move a file.
twDirectory_DeleteFile
Delete a file.
twDirectory_CreateDirectory
Create a directory.
twDirectory_DeleteDirectory
Delete the specified directory (and all its contents).
twDirectory_IterateEntries
Iterate through a directory, retrieving the information of the next file or subdirectory.
twDirectory_GetLastError
Retrieve the last error that occurred as a result of a file system activity.