svoid scpUploadFile(S localFile, S user, S host, fS remotePath) { scpUploadFile(newFile(localFile), user, host, remotePath); } static void scpUploadFile(File localFile, S user, S host, fS remotePath) ctex { print("Uploading file: " + f2s(localFile)); scpUploadWithMkdirs(user, host, remotePath, fileSize(localFile), newFileInputStream(localFile)); }