Hey,
so currently I am downloading and import the file I want to read from the smb server through a UIDocumentPickerViewController into the local folder of my app.
After that I am able to read this file through the FileManager
This is how I get the directory
let dir = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first!
and if I want to upload the same file or another file I write into the local folder, I need to manually upload the file to the smb server through the Files App.
Is there any way that I can read and write directly to the smb server?
How do I get the directory of the server? Is there a path?
Thank you for all your help.
Regards,
Tell. T.