Testing with the File System

Notes:

  • If you get a file ID, it is only valid for the environment you're testing in (alpha ID's don't work in Beta, etc)
  • With File.Push, your file will automatically be deleted after the transaction is complete. You must get a new File ID every time you test if it completes the File.Push action
  • Errors:
  • If you are getting an error message called "enoent" this means that your file ID is incorrect. It may be because it's already been deleted after a successful push, or it was never a real ID to start with
  • If you are getting an error message called "enostream" that means that the way you are trying to use the File.Push / Pull module is incorrect.