SdFat: How to go to parent directory?


i wonder how go parent directory sdfat.

sdfat sd;
sd.vwd()->chdir("..") nothing
sd.vwd()->chdir() goes root directory

any hints?

thanks, oliver

there not supported way.

i wrote function:
code: [select]
  /** experimental don't use */
  bool openparent(sdbasefile* dir);


i made private since not happy design.  no 1 asked didn't follow up.

you edit sdbasefile.h @ line 358 , make public.  may not work since wrote long time ago.


Arduino Forum > Using Arduino > Storage > SdFat: How to go to parent directory?


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial