{ "info": { "author": "mickey9910326", "author_email": "mickey9910326@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "FtpBackup Overview\n====================\n\nFtpBackup provides a simple way to backup all things in your folder to FTP.\n\nFtpBackup take thesettings in the config file (default is `.ftpbackup`). And\nyou can add ignore files in `.ftpignore` and `.gitignore`.\n\nInstallation\n------------\n::\n\n pip install ftpbackup\n\nTested Platforms\n-----------------\n\n- Python:\n\n - 3.4-3.6\n\n- Windows (32bit/64bit):\n\n - Only test on win10 now.\n\n\nGetting started\n---------------\n\n1. Generate your config file ::\n\n ftpbk genconf\n\n2. Edit your config file.\n3. Add a new file called '`.ftpignore`' and edit it.\n4. Backup your floder to FTP by the command. ::\n\n ftpbk backup\n\nNOTE : Because `.ftpbackup` contains IP, password, and other pravite info. So\nit's necessary to add it in `.gitignore` or `.ftpignore` manually. You can also\nadd it in git global ignore file list.\n\nSet the config file (default: `.ftpconfig`)\n-------------------------------------------\n\nThe default config is like below. ::\n\n {\n \"protocol\": \"ftp\", // string - Only 'ftp' now.\n \"host\": \"localhost\", // string - The hostname or IP address of the FTP server. Default: 'localhost'\n \"encoding\": \"utf-8\", // string - The encoding of the FTP server. Default: utf-8\n \"port\": 21, // integer - The port of the FTP server. Default: 21\n \"user\": \"anonymous\", // string - Username for authentication. Default: 'anonymous'\n \"pass\": \"anonymous@\", // string - Password for authentication. Default: 'anonymous@'\n \"remote\": \"/\", // string - The path on FTP to upload files.\n // NOTE : Use absolute path of remote or get a error.\n \"local\": \".\", // string - The folder on local to be uploaded.\n \"useGitIgnore\": true, // bool - Use .gitignore in ignored file list.\n \"gitIgnoreEncoding\": \"utf-8\", // string - The encoding of .gitignore\n \"useFtpIgnore\": true, // bool - Use .ftpignore in ignored file list.\n \"ftpIgnoreEncoding\": \"utf-8\" // string - The encoding of .ftpignore\n }\n\nSet the .ftpignore\n------------------\nThe format of `.ftpignore` is just like `.gitignore`.\n\nCLI\n---\n::\n\n usage: ftpbk [-h] {genconf,backup} ...\n\n Backup to FTP.\n\n optional arguments:\n -h, --help show this help message and exit\n\n commands:\n {genconf,backup}\n\ncommand 'genconf'::\n\n usage: ftpbk genconf [-h] [-F] [-f FILE]\n\n Generate a default config file.\n\n optional arguments:\n -h, --help show this help message and exit\n -F, --force overwrite the config file if it exists.\n -f FILE, --file FILE assign the config file to be writed, default is\n '.ftpbackup'.\n\ncommand 'backup'::\n\n usage: ftpbk backup [-h] [-c CONFIGFILE]\n\n Backup all the file in the 'local' floder to 'remote' on ftp. You can change\n the config in config file(default is '.ftpbackup').\n\n optional arguments:\n -h, --help show this help message and exit\n -c CONFIGFILE, --conf CONFIGFILE\n assign the config file to be loaded, default is\n '.ftpbackup'.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mickey9910326/ftpbackup", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ftpbackup", "package_url": "https://pypi.org/project/ftpbackup/", "platform": "", "project_url": "https://pypi.org/project/ftpbackup/", "project_urls": { "Homepage": "https://github.com/mickey9910326/ftpbackup" }, "release_url": "https://pypi.org/project/ftpbackup/0.1.6/", "requires_dist": null, "requires_python": "", "summary": "Backup the folder to FTP!", "version": "0.1.6" }, "last_serial": 3887216, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "16a336520ae7f6e6d16466014372fbaa", "sha256": "67d1728e85647aaf073f8fcf134fc13d44ef62914dcd8fa6f6fd96da1c672bf0" }, "downloads": -1, "filename": "ftpbackup-0.1.1.tar.gz", "has_sig": false, "md5_digest": "16a336520ae7f6e6d16466014372fbaa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4811, "upload_time": "2018-05-21T16:25:38", "url": "https://files.pythonhosted.org/packages/b7/b4/0326cd72580d7b0324b7deadfa5a6d14ca655d5e41e3a69c31b1e3d8db09/ftpbackup-0.1.1.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "ba900c4cad608ec3f90c1d374f040fe0", "sha256": "951edb3bd96ea9f01d74ff2860c59303808f167d7654b23e3b82a846e74553fa" }, "downloads": -1, "filename": "ftpbackup-0.1.3.tar.gz", "has_sig": false, "md5_digest": "ba900c4cad608ec3f90c1d374f040fe0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5908, "upload_time": "2018-05-22T04:15:08", "url": "https://files.pythonhosted.org/packages/9a/40/80715b41a0c03783f61cfc8046327cb92697a7e32460da3e00428c260da1/ftpbackup-0.1.3.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "8201cade10ddef8d59085161b7a45e1b", "sha256": "7255eff555fb0e16bd3e26290da3945a0ccb72885089ee087e896c3e59e87f6a" }, "downloads": -1, "filename": "ftpbackup-0.1.5.tar.gz", "has_sig": false, "md5_digest": "8201cade10ddef8d59085161b7a45e1b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7204, "upload_time": "2018-05-22T08:47:02", "url": "https://files.pythonhosted.org/packages/90/9f/75f790e0b17df6f2f7498329e06690ce7597d82cbd3e2ce8b92001431a0b/ftpbackup-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "177bae3a2037179a72175c205145d8ce", "sha256": "14ec92defb06586f91ec114c5563ab0d0fdc9b60a58472ad4e26937fe6748594" }, "downloads": -1, "filename": "ftpbackup-0.1.6.tar.gz", "has_sig": false, "md5_digest": "177bae3a2037179a72175c205145d8ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7294, "upload_time": "2018-05-22T10:31:29", "url": "https://files.pythonhosted.org/packages/65/28/954fa21200de199cffc146fad69ade78e98e325e1feabc6250470090ff03/ftpbackup-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "177bae3a2037179a72175c205145d8ce", "sha256": "14ec92defb06586f91ec114c5563ab0d0fdc9b60a58472ad4e26937fe6748594" }, "downloads": -1, "filename": "ftpbackup-0.1.6.tar.gz", "has_sig": false, "md5_digest": "177bae3a2037179a72175c205145d8ce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7294, "upload_time": "2018-05-22T10:31:29", "url": "https://files.pythonhosted.org/packages/65/28/954fa21200de199cffc146fad69ade78e98e325e1feabc6250470090ff03/ftpbackup-0.1.6.tar.gz" } ] }