Python script for copying files from FTP to Google Drive using Google service account and Google API v3
[FTP]
USERNAME: xxx
PASSWORD: xxx
HOST: ftp.xxx
ROOTDIR: ABC
[GDrive]
SCOPE: https://www.googleapis.com/auth/drive
KEY: credentials.json
ROOTDIR: XYZ
Google service account API key. Documentation
- Exception handling
- Code refactoring