1 Reply Latest reply on Apr 24, 2009 3:09 AM by Mike Blaustein

    find if folder is writable (Mac)?




      I used function Fx_folderGetWritesState of fileXtra4 to define if I can
      write files into some folder under windows
      But in Mac version of this xtra this function is not avalilable
      How can I define if specific folder is writable under mac?
      (Director MX 2004, OS X 10.5)


      Thank you in advance

        • 1. Re: find if folder is writable (Mac)?
          Mike Blaustein Level 4

          Well, the easy way would be to try to write to the folder and see if it worked.  Do something like create a new file, then check for the existence of that file, then delete it.  If the file was created (and presumably deleted), then you know the folder is writeable.  If the file did not get created, then it isn't.