If you need to upload a full folder with files and sub folders using FTP command line. Is there is any option for transferring an entire folder with its sub folders and files?

Yes, you can use ncftpput. you need to install ncftp program on your Linux system. To upload entire folder follow the steps below:
For Linux:
Install ncftp:
#yum install ncftp

Alternatively (ubuntu, debian):
#apt-get install ncftp

To upload entire folder with its content execute the following command:

#ncftpput -R -v -u "ftp-username" ftp.website.com ftp-upload-path local-path/*

where
-R is a flag for "recursive"; it makes the command copy all subfolders recursively
/ (slash) is your website's root directory
local-path/*  selects everything inside this location i.e. /home/userabc/web/*


For Windows:
Download NcFTP Client from http://www.ncftp.com/ncftp/.
Choose NcFTP Client 3.2.5 for Microsoft Windows from the list.
Install it.
When done, a small CMD window with a cherries icon will pop-up. You don't need it.
Just open CMD window and type (click on Start button >> Run, type CMD and click on OK):
ncftpput -u yourUserNameHere -p yourUserPasswordHere -R www.yourWebsite.com / C:\yourFolderDirectoryHere\*

-R is a flag for "recursive"; it makes the command copy all subfolders recursively
/ (slash) is your website's root directory
C:\yourFolderDirectoryHere\* selects everything inside C:\yourFolderDirectoryHere
Was this answer helpful? 138 Users Found This Useful (141 Votes)