class_docstr: Stores artifacts as files in a remote directory, via ftp.
class_docstr_tok: ["Stores","artifacts","as","files","in","a","remote","directory",",","via","ftp","."]
code: def _download_file(self, remote_file_path, local_path):
      remote_full_path = (
          posixpath.join(self.path, remote_file_path)
          if remote_file_path
          else self.path
      )
      with self.get_ftp_client() as ftp:
          with open(local_path, "wb") as f:
              ftp.retrbinary("RETR " + remote_full_path, f.write)
  
imports: import ftplib
  import os
  import posixpath
  import urllib.parse
  from contextlib import contextmanager
  from ftplib import FTP
  from urllib.parse import unquote
  from mlflow.entities.file_info import FileInfo
  from mlflow.exceptions import MlflowException
  from mlflow.store.artifact.artifact_repo import ArtifactRepository
  from mlflow.utils.file_utils import relative_path_to_artifact_path
label_desc: Use image node_id 10 for calling the FTPArtifactRepository obj's underlying member method code with example usage: obj._download_file(remote_file_path, local_path) without return types