Notifications
Clear all

Flashair: Can't see files in root directory  

  RSS
jweaver
(@jweaver)
Honorable Member
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

Posted : 21/11/2018 12:33 pm
Kai
 Kai
(@kai-2)
Famed Member
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

Posted : 21/11/2018 3:00 pm
Kai
 Kai
(@kai-2)
Famed Member
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

Posted : 21/11/2018 3:02 pm
jweaver
(@jweaver)
Honorable Member
Topic starter answered:
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..

Posted : 21/11/2018 3:16 pm
Kai
 Kai
(@kai-2)
Famed Member
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

Posted : 21/11/2018 3:51 pm
Kai
 Kai
(@kai-2)
Famed Member
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

Posted : 21/11/2018 3:58 pm
jweaver
(@jweaver)
Honorable Member
Topic starter answered:
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.

Posted : 21/11/2018 4:26 pm
bobstro
(@bobstro)
Illustrious Member
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.

My notes and disclaimers on 3D printing

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

Posted : 21/11/2018 6:48 pm
bobstro
(@bobstro)
Illustrious Member
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/
Wow, there's a lot more info now. Looks like they've added quite a few parameters. Thanks for that link!

My notes and disclaimers on 3D printing

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

Posted : 21/11/2018 7:03 pm
jweaver
(@jweaver)
Honorable Member
Topic starter answered:
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.

Posted : 21/11/2018 7:17 pm
bobstro
(@bobstro)
Illustrious Member
Re: Flashair: Can't see files in root directory


[...] 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.
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.

My notes and disclaimers on 3D printing

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

Posted : 21/11/2018 8:39 pm
K7ZPJ
(@k7zpj)
Reputable Member
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/

Posted : 21/11/2018 9:17 pm
jweaver
(@jweaver)
Honorable Member
Topic starter answered:
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"..

Posted : 22/11/2018 11:57 am
Share: