def get_filesize(self, filename):
result = []<EOL>def dir_callback(val):<EOL><INDENT>result.append(val.split()[<NUM_LIT:4>])<EOL><DEDENT>self._ftp.dir(filename, dir_callback)<EOL>return result[<NUM_LIT:0>]<EOL>
Returns the filesize of a file

        :param filename: the full path to the file on the server.
        :type filename: string

        :returns: string representation of the filesize.