My code to experiment with file access is named 'File access 1'
I have created a DFO folder, thus:
AOZ Studio Applications\applications\File access 1\html\resources\filesystem\DFO
When the 'Open Out' code failed, I created a text file, (TestMe.txt) in the DFO folder and tried 'Open In'. No luck!
I've just tried using the full path in the file address. No good.
The VS check and compilation proceed but I get an error message from the prog output indication the problem is with the 'Open' command
Can you help me please?
Open Out 1,"TestMe.txt"
Input "Please enter your name ";N$
Print 1,N$
Close 1
Open In 1,"TestMe.txt"
Input #1,N$
Print "Hello ";N$
Close 1

Better, and much faster for such problems is to directly ZIP the folder and send it to me on my email. Can you do that? fl@aoz.studio I will have a look at the code, and respond directly here...
Thanks. I will do that shortly.
Any information on this one?
I am having the same problem. "Open in" just doesnt work for some reason. When I make a new file in notepad and try "Open in" I get the same error as Neil...
I thought I saw a response from FL saying it was fixed. I've reinstalled the Beta but the problem persists. The test and compilation completes ok in Visual Studio but the browser output fails, with the message shown above.
If I was FL, I'd wait until I had a few jobs to do before updating the file.
I haven't tried this myself, but I noticed you said DFO instead of DF0. If AOZ is looking for DF0, then that would break it.
I might try file access tomorrow, as I haven't had a proper go.
Good point. I'll test that tomorrow.
I can't get file access to work, either. I've tried output and input and I get the same internal error as above.
It shows application: when you print dir$, so it doesn't look for a df0 by default (application: is the filesystem directory within your application directory, or if that's missing it's the default one I think).
Neil, I don't think you'd ever need to put anything in the HTML dir, as that's all generated. It's just the filesystem one in your application dir.
'It shows application: when you print dir$' Same here.
Shouldn't the code just create a file in its own application folder?
I do not see a File System Folder in my application folder. Do I need to create one?
Filesystem works in v0.9.2.2, Open In, Open Out etc. And yes, you need to create a filesystem folder in your application folder if you want to use file instructions... I have realized (today!) that the installer does not create empty directories, so all the filesystem directories that are present on my machine are not ion yours. This might explain a lot of problems.
Is 9.2.2 not yet available? I just downloaded the file and it's still showing 9.2.1. It did not create a Filesystem folder when I opened a new AOZ project. By the way, I have tried making a filesystem folder in my app folder. Does this look correct?
It looks okay to me, though I don't think you need the DF0 dir, as the main filesystem one will be the default, so I think you'd have to change the default to your DF0 using the DIR$ command. This is from memory, so I could be wrong.