Update main.py

modified FTP part.