I wanna get the amount of bytes of a file uploaded and the total file size of the file using perl. I just started learning perl so i don't know much please help
For the first part, depends on what exactly you mean by "uploaded". SHOW US YOUR CODE for god's sake!
For the second part, the -s switch tells you the size of a file.
my $iSize = -s 'filename.txt';
print "size is $iSize bytes\n";