Arduino Function: SD.size

Description

This function returns the size of the file.

Syntax

file.size()

Parameters

file: an instance of the File class (returned by SD.open())

Returns

  the size of the file in bytes (unsigned long)


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc