FileTools : Some tools to work with files

In bytes if I am not wrong :sweat_smile:

3 Likes

the while loop for synchronous methods is unnecessary, because the blocks below the MoveFile method only will be executed after the file has been moved (assuming the author of the extension @vknow360 did it synchronously?) , also

Why is a wait procedure generally a bad idea?
The model of event processing in App Inventor and Kodular by Lyn

Please Wait method by Scott

Taifun

2 Likes

Yes you are right.
I completely forget that MoveFile method works synchronously (it has been a long time and you know how good I am in remembering things) :sweat_smile:
@DevYB I suggest to you to remove while loop and wait procedure if you are using above blocks.

1 Like

I tested it and it didn’t work, so I decided to don’t use it.
Thank you anyway.:grinning_face_with_smiling_eyes::blush:

1 Like

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

Taifun

2 Likes

Is it possible to add a conversion system

Converts from bits to G

Or others

Yes you can use math blocks for conversion.

I’ll try :grin:

1 Like

Can this error be solved?
image

When using this block
blocks (9)

The problem lies in checking an unknown file, an error appears

like this

Only a blank is supposed to appear

I check the blocks for the thumbnail

Yes :+1:
Thank you.

1 Like

or this * :sweat_smile:

It is I who should say that

A very great Extensions

1 Like

Ya it will return an empty string if mime type is unknown.

There seems to be a bug on my part

I will try it

it’s working
I’m sorry

this is work

blocks (11)

But what happened?

I was checking it as a text :sweat_smile:

FileTools still has some minor bugs so v9 will come soon :slightly_smiling_face:

1 Like

I have an app that depends on this extension

It is still under development :grin:

1 Like

Can I request features

1- What I want is a way to deal with a usb as its size identifier and how much volume has been used

2- Also I want the validity of the amendment was requested

3- I want to know whether this is internal storage or an SD card or a flash memory

This makes the addition more professional

Thank you.
I will try to add :heart:
But 2nd one is not clear to me.Can you elaborate it some more?