ardawan.com

Lazy Uploader



update August 10, 2017

Deploy your entire web project along with database on your host at once.

Basically, this software will help you to transfer all your website files and import entire SQL file into your server easily.
This software has two version of CLI & GUI using Tkinter.


feature

The lazyUploader will help you to upload your project’s files and import database. 
For example, if you want to upload only files, you need to type f in CLI and click on Only FTP button in GUI version.

CLI:

$ lazyUploader.py f

GUI:

lazyUploader OnlyFtp button

 

[Note: To get help and instruction type -h in CLI version]

The software is able to transfer all your files along with folder and subfolders, simply, entire folder’s project to your host server via FTP.
Why only FTP? This software designed for beginners or who have no experience in this field to upload their purchased project. The easiest way for them is to use FTP in terms of simplicity and getting access to it.

You will get an error while transferring files if you have the same folder name in your destination path.

[Note: Some of the host providers will not allow third-party software create database or table. In this case, you may create the database on your Cpanel > phpMyAdmin.]

To use this tool you need to prepare all credentials about your Host’s FTP, Database in advance.

CLI version

GUI version


challenge

As it was my first real Python software, I had some challenges to work with Python features such as work with files, FTP, MySQL libraries and Tkinter.

I was trying to make a useful method to exploring the folders to find files and subfolders. It was a bit challenging because you never know how many sub folders you gonna have in the project folder. So I was adding into a folder reference list and delete them after exploring the folder’s contents.

Another hand I must take care of the server to create the same directory structure. So it works after few hours work on it. Basically, I use the same folder reference list and just change the root path from the computer path to the server path.

Working with Tkinter was fun and new to me. I didn’t spend much time on the GUI but after adding more features, I’ll upgrade the GUI too.


access

I am preparing the source code and will upload on GitHub soon.