make_directory Method

Create a directory on an FTP server.

Syntax

def make_directory(new_dir: str) -> None: ...

Remarks

This method is used to create a directory with path specified by NewDir on the FTP server. NewDir is either an absolute path on the server, or a path relative to remote_path. If there is no FTP session in place, one is automatically created by first calling the logon method.

Note that when make_directory is called, remote_file is changed to NewDir.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Python Edition - Version 20.0 [Build 8307]