Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

dear all.. i need your help i'm new for using linux... i want to copy one folder to server.. i'm still confuse to use ftp mput... will you tell me step by step??

i want to copy foldet "dataTable-1.6" at /home/qa/html/dataTable-1.6 into html folder at server../www/html.. how to do that?

1> qa@qadesktop2:~$ ftp 10230.35.211
2> fill password
3> ftp>cd www/html
4> ftp>mput
share|improve this question

closed as off-topic by Chris S Aug 8 '14 at 17:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – Chris S
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 5 down vote accepted

How you would normally copy all of the files in a folder to a remote location via FTP :

** First move to the local directory before starting the ftp client **

$ cd /home/qa/html/dataTable-1.6
$ ftp

** Login using loginname and password **

ftp> cd www/html
ftp> mput *

** mput will copy all files found at the current local directory matching the attributes (* will match all filenames, *.zip will only upload files ending with .zip) **

The standard FTP client does not support recursive copying (i.e. Folders within folders).

Check out lftp or ncfp. These are more featureful ftp clients, which support recursive transfers, syncing and a lot more.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.