I'm trying to write a python script to download files from the FTP server, the below code works for me, but I'm curious is there any way to download the files with the original modify time
from FTP. Is that is possible with python?
Example: FileZilla have a feature to download the files with the original date time
with open(fileName,'wb') as write
def writeData(chunk):
fwrite.write(chunk)
ftp_client.retrbinary('RETR {}'.format(downFileName), writeData)