How to determine the path to a app generated stored file using ios build blocks

The app I'm developing stores a csv file on the phone. Then, I call on postfile to send it to a website where the data are parsed using a php script and stored in a sql table. Works fine on the android using the .MakeFullPath block to form the url for postfile. However, that block uses filescope with the ios build so I can't get the full path to the file on the iphone. Any suggestions? Thanks.

https://doesappinventorrunonios.com/

See also here: Firebase Storage on Android and iOS - #14 by Anke

Thanks Anke. I know that the makefullpath is not working for ios (hence the problem). I was hoping there might be an alternative. Just for context, I spent some time working out the details for posting a file using the android build a couple of years ago. It came down to first finding the full path for the postfile block. So, I have the same problem now with ios until the path can be determined on the fly. Here is a link to the previous post showing how finding the full path was critical to posting the file in android:
Looking for help posting a csv file to a php script (for insertion into mySQL table) using postfile block (not posttext) - #16 by Mark30289

I'd have to check the logic on iOS but I'm not sure it requires a full file path in the PostFile method. Let me check that and get back to you...

1 Like