Dear all,
I need to write a file to specialFolderPath("documents") on iOS Simulator.
As Test, this does not work:
put specialFolderPath("documents") & "/SetUp.txt" into myFile
open file myFile for write
put "TEST" into myText
write myText to file myFile
close file myFile
Any Ideas why? The folder is empty.
Stefan
Issues with writing Files to specialFolderPath("documents")
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 130
- Joined: Fri Apr 13, 2018 1:53 pm
-
- Posts: 130
- Joined: Fri Apr 13, 2018 1:53 pm
Re: Issues with writing Files to specialFolderPath("documents")
Spooky, this does work:
set the defaultFolder to specialFolderPath("documents")
put "" into URL ("file:orders.txt")
Seems that
"put specialFolderPath("documents")" does not work :-/
Hm... Issue solved
set the defaultFolder to specialFolderPath("documents")
put "" into URL ("file:orders.txt")
Seems that
"put specialFolderPath("documents")" does not work :-/
Hm... Issue solved