title: How do i retrieve files from ftp over HTTPs with python3
body: <p>I am trying to retrieve files over and https connection using python and i cant seem to find any answers that work with my case</p>
  
  <p>Ive tried using ftplib and FTP_TLS but im getting errors saying that my connection is refused. I log in using my provided credentials and am able to navigate to the actual folder.</p>
  
  <pre class="lang-py prettyprint-override"><code>&gt;&gt;&gt; ftp = FTP_TLS('HOSTNAME')
  &gt;&gt;&gt; ftp.login('USERNAME', 'PASSWORD')
  '230 User logged in, proceed.'
  &gt;&gt;&gt; ftp.prot_p()
  '200 Command PROT okay.'
  &gt;&gt;&gt; ftp.cwd('outbox')
  '250 Directory changed to /outbox'
  &gt;&gt;&gt; ftp.nlst()
  Traceback ():
    output
  ConnectionRefusedError: [Errno 61] Connection refused
  </code></pre>
  
  <p>Unsure why im getting this when everything else has been successful but i am unable to access the files</p>