read volume
JB
sundown at pacifier.com
Wed May 11 06:44:28 EDT 2016
When I read your reply it said there
was a recent thread opened
about that and gave a link.
Now it does not say that
and talks about walking
a directory.
Walking a directory for a large volume
is too slow. I already tried it and I was
happy with the time it takes.
What I want to do is read the volume as
a file is read. I am currently reading files
in 5kb sections and do this to EOF.
I guess when I read about volumes it was
in the C programming language. I know it
it can be done with C and I might need to
write a external to do it. I can read and
write files in C. If there is a way to do it
without writing a external it would be nice
to give it a try.
JB
> On May 10, 2016, at 7:16 PM, Scott Rossi <scott at tactilemedia.com> wrote:
>
> I think what you're looking for is directory walking (files & folders, not
> file contents).
>
> You're part of a fairly recent thread that explains this:
> http://runtime-revolution.278305.n4.nabble.com/recursion-limit-when-creatin
> g-file-list-of-harddrive-td4697952i20.html
>
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
>
>
>
> On 5/10/16, 12:29 PM, "use-livecode on behalf of JB"
> <use-livecode-bounces at lists.runrev.com on behalf of sundown at pacifier.com>
> wrote:
>
>> I thought I had read you could read
>> a volume like you read a file but it
>> can not be the startup volume.
>>
>> I tried to read using the volume name shown
>> from the volumes function and open file and
>> it did not work so I used open driver and it
>> did not return any data either.
>>
>> Is there a way to read a disk drive like you
>> read a file? If I want to read all of the data
>> on a drive do I need to list all of the files and
>> then read from each file instead of reading
>> the drive or volume to end of file?
>>
>> JB
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list