method

size

ruby latest stable - Class: Net::FTP
size(filename)
public

Returns the size of the given (remote) filename.