def upload(self, filename, location='<STR_LIT>'):
current_folder = self._ftp.pwd()<EOL>self.mkdir(location)<EOL>self.cd(location)<EOL>fl = open(filename, '<STR_LIT:rb>')<EOL>filename = filename.split('<STR_LIT:/>')[-<NUM_LIT:1>]<EOL>self._ftp.storbinary('<STR_LIT>' % filename, fl)<EOL>fl.close()<EOL>self.cd(current_folder)<EOL>
Uploads a file on the server to the desired location

        :param filename: the name of the file to be uploaded.
        :type filename: string
        :param location: the directory in which the file will
                         be stored.
        :type location: string