Upload the directory/folder tree to remote ftp server
When you host your web site remotely and use the open source software’s like wiki, phpbb etc uploading them is pain from UNIX based computer, especially when these software releases new security fixes you need to upload bunch of files and subdirectories. ncftpget client program is neat handy utility for recursive remote ftp server uploading purpose.
Try ncftpput as follows:
[root@jahil:/tmp] # ncftpput –R –v –u "username" ftp.weblogs.com.pk /weblogs/jahil /tmp/jahil
-u "username" : Ftp server username
-v : Verbose i.e. show upload progress
-R : Recursive mode; copy whole directory trees.
ftp.weblogs.com.pk : Remote ftp server
/weblogs/jahil : Remote ftp server directory where all files and subdirectories will be uploaded
/tmp/jahil : Local directory (or list of files) to upload remote ftp server directory /weblogs/jahil
ncftpput can be downloaded from http://www.ncftp.com/ncftp/and works with Linux, FreeBSD, Solaris and all most all UNIX variant.
Comment Notification
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using
Comments