def upload(self, localfile: str, remotefile: str, overwrite: bool = True, permission: str = '<STR_LIT>', **kwargs):
if self.nosub:<EOL><INDENT>print("<STR_LIT>")<EOL>return None<EOL><DEDENT>else:<EOL><INDENT>log = self._io.upload(localfile, remotefile, overwrite, permission, **kwargs)<EOL><DEDENT>return log<EOL>
This method uploads a local file to the SAS servers file system.

:param localfile: path to the local file 
:param remotefile: path to remote file to create or overwrite
:param overwrite: overwrite the output file if it exists?
:param permission: permissions to set on the new file. See SAS Filename Statement Doc for syntax
:return: SAS Log