Skip to content

Commit 8fc5f96

Browse files
committed
Release version 1.3
1 parent 33e9d99 commit 8fc5f96

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# FlashAir UI File Interface by DrLex
22
by Alexander Thomas, aka Dr. Lex<br>
3-
Current version: 1.2<br>
3+
Current version: 1.3<br>
44
Contact: visit https://www.dr-lex.be/lexmail.html<br>
5-
&nbsp;&nbsp;&nbsp;&nbsp;or use my gmail address "doctor.lex".
5+
&nbsp;&nbsp;&nbsp;&nbsp;or use my gmail address doctor.lex.
66

77
## What is it?
88
This is a simple but quite feature-complete web UI for the Toshiba FlashAir W-03 wireless SD card. It allows uploads, renaming, moving, and deleting files. It is specifically designed to be used with 3D printers, where it is usually only necessary to upload only a few files at a time, and either erase them after the print has completed, or move them to an archive directory.
@@ -48,20 +48,22 @@ To upload files, go to the folder where you want them, click the ‘Choose files
4848

4949
Folders can only be deleted when they are empty, by using the ‘Delete empty folder’ button.
5050

51+
Multiple files can be deleted at once by selecting them and clicking the ‘Delete selected files’ button, but only if all selections are files and are in the current directory.
52+
5153
### Limitations
5254
As soon as you have made any modification to the filesystem through the web interface, e.g. uploaded, moved, renamed, or deleted a file, the device the card is mounted in can no longer write to the card. It might appear as if writing works, but any changes will be lost. The idea is that you do everything through this web UI, and only read files on the device containing the card. You must force the device to re-read the card every time you have made any change to it.
5355

5456
You cannot move a folder inside a subfolder of itself. The ‘Move selections’ folder will become greyed out in case you try it. This is not just a technical limitation, it is a blatant violation of the fabric of logic itself.
5557

5658
If you select a file for upload, then modify the file on disk, and only then actually click the ‘Upload’ button, some browsers like Chrome will refuse to upload the file even if you re-select it without first selecting something else. I have looked for ways to work around this or at least show a meaningful error message, but found none. Refreshing the page is often the easiest way out of this.
5759

58-
Files can only be deleted one at a time for now. Deleting many files will be more convenient on a computer, and making it possible to delete multiple selected files at once, is on my TODO list.
59-
6060
Some things you should **not** try in the web UI because they are likely to fail:
6161
1. Don't try to do two things at once. Operations that are expected to take long, will be blocked with a ‘glass pane’ to protect you from doing this, but you may still get into trouble if you start clicking around like a monkey. This is why using the card in AP mode is a bad idea because uploads can take ages and you will also be blocked out of the interface for ages.
6262
2. Don't keep piling up an insane amount of files in a single directory. At some point the limited CGI interface of the FlashAir will probably bump into a limit. Spread files over multiple directories.
6363
3. Don't make deep directory trees. Renaming or deleting files with extremely long filesystem paths will fail.
6464
4. Don't use multiple consecutive spaces in file names. This will cause certain operations to fail due to limitations of the Lua interface.
65+
5. Don't open the UI in two browser tabs at the same time. This is not just likely to fail, it is sure to cause a total mess.
66+
6567

6668
## Legal
6769
See the license file for details. Just to make it absolutely clear: this is provided without any warranties of any kind. Use at your own risk.

js/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var warnExtensions = ["gcode"];
2525

2626
/************************** No user serviceable parts below **************************/
2727

28-
var version = "1.3a";
28+
var version = "1.3";
2929

3030
var fileList = [];
3131
var moveSelections = {}; // Key = path, value = see fileTypes

0 commit comments

Comments
 (0)