I've use ftplib (Python 3.4.2 on Mac OS X Yosemite) to connect to my local ftp server. the ftplib works fine, but i have the problem that the nlst command does not show a files that starts with a point (in my scenario a .htaccess file). When i use my terminal (Mac OS X) i can see the .htaccess file.
Is there an special parameter for ftplib.nlst to show file with points a the beginning (hidden files)???
I've also tried ftp.retrlines('NLST') and ftp.retrlines('LIST')
My code snippet:
with ftplib.FTP(__ftp_host,
__ftp_user,
__ftp_pwd) as ftp:
print(str(ftp.nlst()))
ftp.retrlines("LIST -a")