Gbs or Tetrabytes Data Server to Server Transfer on Linux

linux107 Gbs or Tetrabytes Data Server to Server Transfer on Linux
Naqi Khan asked:

I am going to discuss with you a simple and quick method:

Here we go:-

On very first step i m going to tell you how to install NCFTP support we have LINUX CENTOS 5 and we are already logged in as root.

Now we use “wget” command to download:

# wget

Now we have to install NCFTP:

# rpm –install ncftp-3.0.3-6.i386.rpm

And you are done icon smile Gbs or Tetrabytes Data Server to Server Transfer on Linux

Now launching NCFTP:

# ncftp -u usernamehere

(where “-u usernamehere” will be your remote server ftp user & “” will be your remote server”)

Now it will established the connection and prompt you for your password. Type your password and hit enter.

Confirmation messaged will be display on your screen once you LOGGED in.

Suppose you are planning to copy folder “data” from your public_html allyou have to do is:

# cd public_html

# get -R data

And hit enter your DONE it will start transfering your files.

Related & Usefull NCFTP Commands:

ncftpget [options] remote-host “local-directory” “remote-files…”

ncftpget -f login.cfg [options] local-directory “remote-files…”

ncftpget [options]

ncftpget -c [options] remote-host “remote-file” > stdout

ncftpget -C [options] remote-host “remote-file” “local-path-name”

ncftpget -c [options] > stdout

OptionsCommand line flags:

-u XX

Use username XX instead of anonymous.

-p XX

Use password XX with the username.


Use port number XX instead of the default FTP service port (21).

-j XX

Use account XX in supplement to the username and password (deprecated).

-d XX

Use the file XX for debug logging.


Use ASCII transfer type instead of binary.

-t XX

Timeout after XX seconds.


Do (do not) use progress meters. The default is to use progress meters if the output stream is a TTY.

-f XX

Read the file XX for host, user, and password information.


Read from remote host and write locally to standard out.


Read from remote host and write locally to specified pathname.


Append to local files, instead of overwriting them.


Do (do not) try to resume transfers. The default is to try to resume (-z).


Use regular (PORT) data connections.


Use passive (PASV) data connections. The default is to use passive, but to fallback to regular if the passive connection fails or times out.


Delete remote file after successfully downloading it.


Recursive mode; copy whole directory trees.


Do not use automatic on-the-fly TAR mode for downloading whole directory trees. ncftpget uses TAR whenever possible since this usually preserves symbolic links and file permissions. TAR mode can also result in faster transfers for directories containing many small files, since a single data connection can be used rather than an FTP data connection for each small file. The downside to using TAR is that it forces downloading of the whole directory, even if you had previously downloaded a portion of it earlier, so you may want to use this option if you want to resume downloading of a directory.

-r XX

Redial a maximum of XX times until connected to the remote FTP server.


Run in background (by submitting a batch job and then spawning ncftpbatch).


Similar to -b option, but only submits the batch job. You will need to run ncftpbatch for the batch job to be processed. This is useful if you already have a ncftpbatch process running, or wish to have better control of when batch jobs are processed.

For example,

if you wanted to do background processing of three files all on the same remote server, it is more polite to use just one ncftpbatch process to process the three jobs sequentially, rather than having three ncftpbatch processes open three simultaneous FTP sessions to the same server.


Try setting the TCP/IP socket buffer size to XX bytes.


Send raw FTP command XX after logging in.


Send raw FTP command XX after each file transferred.


Send raw FTP command XX before logging out.


-W, -X, and -Y options are useful for advanced users who need to tweak behavior on some servers. For example, users accessing mainframes might need to send some special SITE commands to set blocksize and record format information.

For these options, you can use them multiple times each if you need

to send multiple commands. For the -X option, you can use the cookie %s to expand into the name of the file that was transferred.

-o XX

Set advanced option XX.

This option is used primarily for debugging.

It sets the value of an internal variable to an integer value. An example usage would be: -o useFEAT=0,useCLNT=1 which in this case, disables use of the FEAT command and enables the CLNT command. The available variables include: usePASV, useSIZE, useMDTM, useREST, useNLST_a, useNLST_d, useFEAT, useMLSD, useMLST, useCLNT, useHELP_SITE, useSITE_UTIME, STATfileParamWorks, NLSTfileParamWorks, require20, allowProxyForPORT, doNotGetStartCWD.

Random Posts

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment