sbaaaang sbaaaang - 1 year ago 102
Node.js Question

Detect file size before to save it?

Is it possible to detect the size will be the file before saving it?

I have the file content which is a string, but i would like to check before how much space will take the file.

Any advice appreciated, thank you.

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download