
0
Answered
Reconnect external storage provider after connection lost
I have my NAS drive mapped on iPad as external storage (by local IP in files). It works fine when at home WiFi. When outside i need to open VPN first and connection is maintained. However when the app is opened without VPN after some time connection to resource is lost and the only option is to remove it, even when back to home WiFi or VPN is activated. I would see it useful to have reconnect/restore connection option.
Customer support service by UserEcho
Are you using an SMB connection in the Files app?
Yes, I have my Synology NAS connected by SMB in Files.
When connection is not available and then restored the only way to reconnect without deleting the saved connection is to restart the app.
Unfortunately, SMB connections in the Files app have been very unreliable for me in the past.
It works fine immediately after connecting to an SMB server, but as soon as it gets disconnected, it won't reconnect reliably. You need to recreate the SMB connection in the Files app and add it to Textastic again to make it work again when it is in this state. This is something out of my control that Apple has to fix.
I wouldn't recommend using SMB shares with the Files app. I have seen the problem you are describing as well as hangs when using the iOS Files app's built-in SMB client (not related to Textastic, reproducible in other apps like iA Writer).
Instead, I recommend to use Textastic's built-in SFTP client:
https://www.textasticapp.com/v10/manual/remote_servers/sftp_ftps_ftp.html
https://www.textasticapp.com/v10/manual/remote_servers/uploading_downloading.html#quick-uploading-and-downloading
If you need live editing, I can recommend the app "Secure ShellFish" which allows you to connect to SFTP servers from the Files app and works great with the external folder feature of Textastic (the app's "Pro Unlock" is required for uploading changes):
https://apps.apple.com/de/app/ssh-client-secure-shellfish/id1336634154
https://www.textasticapp.com/v10/manual/integration_other_apps/external_files_folders.html#adding-external-folders