Flashair: Can't see files in root directory
I have a niggling problem with Flashair, which so minor, its hardly worth talking about, but I would like to understand/fix it at some point.. This is more of a Windows question think, but I am sure someone knows the answer.
I currently have a number of GCODE files on the root folder of my FlashAir. And I believe they got there via an SD card reader rather than Wifi...
I can see these files on my Prusa.. I can also see them via the Web interface of the FlashAir card... But when I "mount" the card (\\192.168.1.120) I can only see the folders, and not the files.
This means that I have to write my files to a folder (in my case PRUSA) and then on the printer, I have to do scroll down to the folder and click to see the files.
Does anyone know why I can't see the files in root via a Windows share? Ideally, I would like to save my GCODES to root so that I can easily open them on the printer without selecting the directory...
As I said, this is beyond minor.. But I would like to understand why this isn't working.
Jon
Re: Flashair: Can't see files in root directory
Hello Jon,
i think it´s because you are not adressing the root directory.
The directory you can access is defined in the config parameters.
And as long as i can remember, it can not be the sd-card root Directory.
That means you will always have at least one additional Directory in the sd-card root that will be adressed by a windows mount.
Kai
Wer freundlich fragt bekommt auch eine freundliche Antwort.
nec aspera terrent
Re: Flashair: Can't see files in root directory
Btw. I have the same "problem". 😉
Wer freundlich fragt bekommt auch eine freundliche Antwort.
nec aspera terrent
Re: Flashair: Can't see files in root directory
Hello Jon,
i think it´s because you are not adressing the root directory.
The directory you can access is defined in the config parameters.
And as long as i can remember, it can not be the sd-card root Directory.
That means you will always have at least one additional Directory in the sd-card root that will be adressed by a windows mount.
Kai
Cheers.. At the end of the day, its no big deal.. But it would be nice to understand why Windows works this way.. I am going to do a bit of resarch and if I can find a solution, will report back..
Re: Flashair: Can't see files in root directory
To read more you maybe want to take a closer look here: https://www.flashair-developers.com/en/documents/api/config/
Wer freundlich fragt bekommt auch eine freundliche Antwort.
nec aspera terrent
Re: Flashair: Can't see files in root directory
Maybe it was the upload directory, but it´s to long ago that i configured mine.
Just search for "updir" in the developer dokumentation.
Wer freundlich fragt bekommt auch eine freundliche Antwort.
nec aspera terrent
Re: Flashair: Can't see files in root directory
Maybe it was the upload directory, but it´s to long ago that i configured mine.
Just search for "updir" in the developer dokumentation.
I played around with the UPDIR setting ans couldnt work out what it did. The docs wernt much help either.
I assumed that if i had a folder called TEST ans set UPDIR=/TEST, then everying in this folder would mount as root.
But i need it the other way around,, i want to mount the card in Win7 and be able to read/write the files in root.. All i can see are the folders.
Re: Flashair: Can't see files in root directory
Here's my /SD_WLAN/CONFIG file:
[WLANSD]
ID=flashair
DHCP_Enabled=YES
[Vendor]
CIPATH=/DCIM/100__TSB/FA000001.JPG
APPMODE=5
APPSSID=MySSID
APPNETWORKKEY=********
APPAUTOTIME=4294967294
UPLOAD=1
UPDIR=/
WEBDAV=2
NOISE_CANCEL=1
TIMEZONE=-4
DNSMODE=1
VERSION=F15DBW3BW4.00.03
CID=*
PRODUCT=FlashAir
VENDOR=TOSHIBA
MASTERCODE=****
LOCK=1
This configuration connects to my wifi network and obtains an address via DHCP. I'm able to browse it as http://flashair (on MacOS). I can access the root directory without problems.
and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan
Re: Flashair: Can't see files in root directory
Wow, there's a lot more info now. Looks like they've added quite a few parameters. Thanks for that link!
To read more you maybe want to take a closer look here: https://www.flashair-developers.com/en/documents/api/config/
and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan
Re: Flashair: Can't see files in root directory
Here's my /SD_WLAN/CONFIG file:
[WLANSD]
ID=flashair
DHCP_Enabled=YES
[Vendor]
CIPATH=/DCIM/100__TSB/FA000001.JPG
APPMODE=5
APPSSID=MySSID
APPNETWORKKEY=********
APPAUTOTIME=4294967294
UPLOAD=1
UPDIR=/
WEBDAV=2
NOISE_CANCEL=1
TIMEZONE=-4
DNSMODE=1
VERSION=F15DBW3BW4.00.03
CID=*
PRODUCT=FlashAir
VENDOR=TOSHIBA
MASTERCODE=****
LOCK=1
This configuration connects to my wifi network and obtains an address via DHCP. I'm able to browse it as http://flashair (on MacOS). I can access the root directory without problems.
http is fine (i.e web browser).. my problem is with a SAMBA Windows share. When i open the mount point (\\192.168.1.120] i just see folders and no files.
Re: Flashair: Can't see files in root directory
I don't get anything with SMB/CFS. I'm on a Mac, so things are a bit different. If I try to attach to the Flashair as an SMB server, nothing works. The only thing that works it to mount the volume using **http:://flashair.local** or the IP address. I spent a lot of time assuming it'd work like every other file sharing service I'd worked with, but this one insists on http.
[...] http is fine (i.e web browser).. my problem is with a SAMBA Windows share. When i open the mount point (\\192.168.1.120] i just see folders and no files.
and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan
Re: Flashair: Can't see files in root directory
This write up goes through all of the steps requited for the Flashair setup for file sharing and has a good troubleshooting section.
It was written for use with a mk2, but it also works for the mk3.
https://mattshub.com/2017/04/11/flashair-sd-card/
Re: Flashair: Can't see files in root directory
By sheer chance, I fixed my problem...
When I was doing my testing, I was simply opening the share (\\192.168.1.120).. And this just showed the 3 directories with no files in root.
But today, I was finishing up and "mapped" the network drive as a Drive Letter.. And now it shows just like a hard-drive and I can see the files in root.
So this must just be a Windows things of how it shows 'mapped' drives, against opening a "share"..