I want to list file names in FTP server. I am using the combination of:
ftpCon = ftplib.FTP(host=<URL>, user=<username>, passwd=<password>)
and listing of file names
listOfFiles = ftpCon.nlst()
By debugging I found that listing is failing and it returns 'utf-8' codec can't decode byte 0xed in position 87: invalid continuation byte
Any idea what could be wrong or how to solve it?
Thanks a lot.