def write ( url , content , * * args ) : with FTPSResource ( url , * * args ) as resource : resource . write ( content )
python ftp write file filedata
Put an object into a ftps URL .
def write(url, content, **args):
    """Put an object into a ftps URL."""
    with FTPSResource(url, **args) as resource:
        resource.write(content)