-->
Page 1 of 1

Deleting files from module

PostPosted: Sat Mar 18, 2017 10:54 am
by Tom espbasic Sisk
A real noob here, just using espbasic for a couple of months. Really like the support for Basic and the browser interface!

When I use the "File Manager", there is an option to "Delete", which I expected to allow me to clean off old files from the chip. (a HUZZAH). When I highlight a file and click Delete, nothing seems to happen and the file still appears in the File Manager list.

Also, when I edit files, say add new lines, then Save, the file seems to just append a full copy of the addition to whatever was there before. After two or three edits, the file spans several pages on the screen. Is this using up memory on the chip? If I manually erase the extra lines, everything seems to be OK.

Cheers,
Tom

Re: Deleting files from module

PostPosted: Sun Mar 19, 2017 11:03 am
by Electroguard
If you are unable to correctly save an edited file it sounds suspiciously like your Esp_Basic may have been corrupted, which could also account for File Manager problems, and any other weirdness.
Interpreter corruption can happen for various reasons, including script errors, and overloading.

Whenever you start having baffling problems it doesn't hurt to do a re-format and re-flash to a definitely good clean starting point again... it only takes a jiffy, and you may find the problems have then gone.

Re: Deleting files from module

PostPosted: Sun Mar 19, 2017 5:50 pm
by Tom espbasic Sisk
Thanks for the reply.

Tried a reflash without a change in behaviour.

Will try another module type and see if there's any change.

Cheers

Re: Deleting files from module

PostPosted: Tue Mar 21, 2017 7:59 am
by Tom espbasic Sisk
Have tried re-flashing two different modules ( HUZZAH and standard Expressif 12F) and still can't get the filemanager to delete files.

Also tried using Branch 2.0 and Branch 3 on both modules with no difference in operation.

I guess the work-around is to just reflash when I want to clean up the files on the module.

Cheers,