The problem with that idea is the recursive
loops and does not provide a file list. If it
provided every file and folder then I would
be able to filter out the ones I do not want.
For instance I do not want the package and
bundle files. Filtering is not an issue.
I will just use the script from
How about getting the detailed files? There may be information in the details
where you can discern whether or not a user would be able to see the files.
Bob S
On Sep 30, 2014, at 17:04 , JB wrote:
> I understand there are things a normal person
> cannot and should not access. My point was
>
I understand there are things a normal person
cannot and should not access. My point was
the normal person should not see that when
they are accessing files and folders. They do
not normally see it in the finder so they should
not see it in a program I release. I am not going
to change their fil
You would use it from a script something like this
global gHierList, gFailedFolders, gBaseLevels, gMainFolder
on mouseUp
local tCount, tOrigDir, time1, time2
put "" into gHierList
put "" into gFailedFolders
put "" into fld "fldOut"
answer folder "Pick a folder you want to wal
JB wrote:
> If I bought your program and you gave me that technical
> answer and I wasted my time trying to figure out why your
> program will not access my folders and examine permissions
> or other things when others do access them I would not be
> happy.
>
> On that basis for the very few like
I could not get it to work.
Here is what i did. At the top
I put the following line,
put field "Folder" into whatFolder
at the bottom I tried both of these lines
and nothing was put in the field
put tDirsToDo into field "list"
put tDirList into field “list”
then I tried this line
put "
On 30/09/2014 21:32, JB wrote:
And what do you mean by folders that cannot
be accessed? Since when are they not able
to be accessed? I access them all of the time.
I am a typical user who accesses files & folders
everyday the same way.
Yes, most folders and files can be accessed. But there ar
I am not mad. Maybe the looping is too fast for
my hard drive. I have a reasonably fast mac so
that could be it. But that is enough for me to not
use recursive even though I like it.
John Balgenorth
On Sep 30, 2014, at 3:06 PM, Rick Harrison wrote:
> Hi there,
>
> I think sometimes people
Hi there,
I think sometimes people on this list need to:
1: Put a cool washcloth on their foreheads.
2. Go and take a nap.
3. Calm down and be able to laugh a little more.
4. (I sometimes need to do this myself, and it helps!)
Cheer up guys!
Rick
On Sep 30, 2014, at 5:36 PM, Bob Sneidar w
Lovely.
Bob S
On Sep 30, 2014, at 14:14 , JB wrote:
> I am the only user on this Mac. If someone else
> uses my mac they use my settings.
>
> For me there is not much needed to understand
> when I list the file not using recursive it works and
> sometimes when I list them using recursive it
I am the only user on this Mac. If someone else
uses my mac they use my settings.
For me there is not much needed to understand
when I list the file not using recursive it works and
sometimes when I list them using recursive it does
not work. It is the sometimes that bothers me and
that is enou
I think you are missing the point JB. Permissions are a tricky thing. The user
is accessing the folders based upon his security token created at the time he
logged in. Suppose this is a file server, and midway through, the IT person
changed permissions? You will get an error trying to open that
And what do you mean by folders that cannot
be accessed? Since when are they not able
to be accessed? I access them all of the time.
I am a typical user who accesses files & folders
everyday the same way.
So you are telling me they cannot be accessed
and I encourage you to put a program on the
m
JB wrote:
For now I will not use recursive to list files or folders.
I think we've established that recursion errors are the symptom but not
the problem (that is, unless you have directory structures deeper than
400,000 levels, but then I suspect you'd see inode problems long before
you'd h
On 30/09/2014 16:43, Dr. Hawkins wrote:
On Tue, Sep 30, 2014 at 8:20 AM, Richard Gaskin
wrote:
Good catch. 40 is a deep folder hierarchy, and I've seen the
recursion error very early on, suggesting that the problem isn't traversing
the folders at all, but merely that it can't access some
Okay I changed it. When I checked my documents
folder it showed the message box and took a long
time but finally put something in it. The message
looked like some question marks and other stuff
and maybe even some file names.
When I checked my applications folder which I know
has more than 400,0
Kay C Lan wrote:
On Tue, Sep 30, 2014 at 10:31 PM, Richard Gaskin wrote:
I would encourage you to file a bug report on that.
Even if there turns out to be a good explanation, it needs to be
documented.
Are you indicating that you are or aren't seeing the same thing on
Linux.
No, I was s
On Tue, Sep 30, 2014 at 8:20 AM, Richard Gaskin
wrote:
> Good catch. 40 is a deep folder hierarchy, and I've seen the
> recursion error very early on, suggesting that the problem isn't traversing
> the folders at all, but merely that it can't access some because of
> permission errors.
If
Alex Tweedly wrote:
> Following is a wild guess, and a request / suggestion for an
> investigation attempt.
>
> The start of the code in question (from
> http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 )
> is
>
> *function*listFiles pFolder, pRecurse
> *local*tTotalFiles,
On Tue, Sep 30, 2014 at 10:31 PM, Richard Gaskin
wrote:
> I would encourage you to file a bug report on that.
>
> Even if there turns out to be a good explanation, it needs to be documented.
>
Are you indicating that you are or aren't seeing the same thing on Linux.
I'm on OS X 10.9.5, and this w
OK, that really does sound like you are encountering a problem with the
combination of the code and your file system - not an inherent limit.
"File Lister 2" should only recurse as deeply as your file system (i.e.
it enters a recursion for each level of subfolder - but then exits it
again),
I would encourage you to file a bug report on that.
Even if there turns out to be a good explanation, it needs to be documented.
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
___
If I enter the following into OS X's Terminal:
find $PWD
the output is the over half a million folders and files in my
/Users/[your name here]/ directory. So none of the System level stuff
or anything from other User accounts if they exist on your computer.
It does include though all hidden files
I found some folders buried tn the folder I was accessing and I
forgot where I stored them. I do have more than 400,000 files
in the folder so it might be files and folders it is counting. The
script was going to list all files and all folders.
John Balgenorth
On Sep 29, 2014, at 4:47 PM, JB
That is a good question. The way I found out it was limited is
I was using the code supplied in the File Lister 2 tutorial. I was
accessing a folder with a lot of files and subfolders but I do not
think it had 400,000 files and sub folders in it so I am thinking it
is limited to 400,000 recursive
"recursive is limited to 400,000" ? Is that 400,000 files, or folders, or ??
The File Walker link (i.e.
http://www.sonsothunder.com/devres/livecode/tips/file007.htm ) should
work - it would be very interesting to find out why it doesn't (maybe
URL encoding of the file names??)
However, it to
Here is a link for a file and folder lister
that uses recursive.
http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2
It appears recursive is limited to 400,000.
As for the File Walker link I tried it in one of
my folders that has a lot of files and subfolders
and it did not work fo
Thanks Richard! I will work this into what I am doing, and also take the time
to study what it was I was doing wrong.
Bob S
On Sep 29, 2014, at 09:01 , Richard Gaskin wrote:
> http://www.sonsothunder.com/devres/livecode/tips/file007.htm
>
> --
> Richard Gaskin
> Fourth World Systems
> Soft
http://www.sonsothunder.com/devres/livecode/tips/file007.htm
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
ambassa...@fourthworld.comhttp://www.F
29 matches
Mail list logo