filesize -package:basement -package:ghc-lib -package:http-client -package:stack -package:unix -package:hackage-security -package:wai-extra -package:base -package:directory -package:wai -package:snap-core -package:flac -package:http-conduit
Set to 0 if unknown or a directory
Size of the file in bytes. If this file is a symbolic link the size is
the length of the pathname it contains.
Size of the file in bytes. Does not follow symlinks
Truncates the file down to the specified length. If the file was
larger than the given length before this operation was performed the
extra is lost.
Note: calls truncate.
Obtain the size of a file in bytes.
For a handle
hdl which attached to a physical file,
hFileSize hdl returns the size of that file in 8-bit
bytes.
hSetFileSize hdl size truncates the physical
file with handle
hdl to
size bytes.
expected size of uploaded data.
Wider alternative of option giving upper bound of uploaded content (-1
=> unknown.)