Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 527 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 527 Bytes

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