Your comments

Ok, then I don't know what's going on, sorry. I'm not aware of any data loss issues in Textastic.

Are you on iOS 13 by any chance?

Is this on iOS 12 or iOS 13 beta? iOS 13 is not supported yet.

Maybe the folder was not uploaded to iCloud yet. Otherwise they should be there on icloud.com.

If your files are stored in the "iCloud" location in Textastic, you can recover them on iCloud.com: 

  • login with your Apple ID on icloud.com
  • go to Settings on icloud.com
  • go to Recover Files in the Advanced section
  • there you can select the files you want to restore

Files in "Local Files" can only be restored if you restore a complete iPhone backup.

Yes, this is planned for a future update.