/FtpGDriveSync

Python script for copying files from FTP to Google Drive using Google service account and Google API v3

Primary LanguagePython

FtpGDriveSync

Python script for copying files from FTP to Google Drive using Google service account and Google API v3

config.ini

[FTP] 

USERNAME: xxx

PASSWORD: xxx

HOST: ftp.xxx

ROOTDIR: ABC

[GDrive]

SCOPE: https://www.googleapis.com/auth/drive

KEY: credentials.json

ROOTDIR: XYZ

credentials.json

Google service account API key. Documentation

TO DO:

  • Exception handling
  • Code refactoring