Showing posts with label LinuxDownload. Show all posts
Showing posts with label LinuxDownload. Show all posts

Saturday, 16 June 2012

yafc an ftp client for file transfer

Yet Another FTP Client is a console mode FTP client. It has support for Kerberos authentication and sftp. Other features include tab completion, directory cache, aliases and bookmarks with autologin, and recursive file commands.

$ sudo apt-get install yafc
 
$ yafc


File transfer using ncftp

NcFTP is a UNIX application program implementing the File Transfer Protocol (FTP).

$ sudo apt-get install ncftp
 
# ncftp

gftp download

GFTP is a free multithreaded ftp client for *NIX based machines running X11R6 or later.

  # sudo apt-get install gftp
 
 # gftp

Fast downloading using lftp

Multiple protocol support (FTP, HTTP, FISH, SFTP, HTTPS and FTPS protocols).
      Scheduling downloads from command prompt.
      Easy Mirroring.
      Uploading and downloading directories.
      Assigning separate slots for multiple ftp sites.
      Queues the process/downloads.
      Bookmarking the download pages.

# cd /usr/src
# wget http://ftp.yars.free.net/pub/source/lftp/lftp-4.1.3.tar.gz
# tar zxvf lftp-4.1.3.tar.gz
# cd lftp-4.1.3
# ./configure && make && make install

OR 
# rpm -ivh http://pkgs.repoforge.org/lftp/lftp-4.3.5-1.el6.rfx.i686.rpm

# lftp -u username,password ftp.yourdomainname.com

# lftp ftp.kernel.org

All the lsftp command history use to store in ~/.lftp/cwd_history just run ‘ history ‘ from the lftp shell to recall your command history.
  # lftp
  lftp :~> history

You can also schedule the downloads using the at command.

FTP and HTTP protocols support.
Job queueing.
Job execution at specified time.
Transfer status includes rate and ETA.
`mirror' can download several files in parallel (--parallel option).
`pget' to download a file using several connections.

# lftp -u username,password -e "cd htmldir" www.domainname.com

kget Download tool

KGET is a a download manager similar to GetRight or Go!zilla. It keeps all your downloads in one dialog and you can add and remove transfers. Transfers can be paused, resumed, queued or scheduled. Dialogs display info about status of transfers - progress, size, speed and remaining time. Program supports drag & drop from KDE applications and Netscape.

 # sudo aptitude install kget



Dowinload using aria2 / Aria

Aria2 is a command line download client with resuming and segmented downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent and it also supports Metalink.
 
# sudo aptitude install aria2

# sudo aptitude install aria




Monday, 11 June 2012

Downloading using prozilla - with GUI frontend

One of the drawback of axel is you can not specify ftp username and password. You can use prozilla program, which also makes multiple connections and downloads a file in multiple parts simultaneously thus enhancing the download speed and dwnloading the file faster than a download with a single connection.
 
 FTP passwords can be specified with the URL, or can be obtained automatically from ~/.netrc if it exists.

 # yum install prozilla

 $ sudo apt-get install prozilla

OR

# rpm -ivh prozilla-2.0.4-19.1.i386.rpm

# proz http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.11.tar.bz2


Download using Axel from commandline

Axel is a command-line downloader for unix-like operating systems. Unlike wget, axel includes download acceleration, whicThis program tries to accelerate the downloading process by using multiple connections for one file.

# sudo apt-get install axel

# yum install axel

You can also specify a speed (bytes per sec) for axel so that it will not eat up all your bandwidth.

$ axel -s 5242880 http://download.com/my.iso

  Limit a number of connection
You can also specify number of connection you want to open. For example open 3 connections for downloading:

$ axel -n 3 -s 5242880 http://download.com/my.iso

# axel -n40 http://mirror.neu.edu.cn/centos/5.7/isos/i386/CentOS-5.7-i386-bin-1of8.iso


Packet Download using Aget

Aget is a multithreaded HTTP download accelerator which is very similar to the windows Flashget tool but only works over the HTTP protocol and does not works on FTP protocol. Tested proven that aget almost reduced the download time by 50% which comparing to the other standard tools like wget, ftp, lynx etc.

  #  wget http://www.enderunix.org/aget/aget-0.4.1.tar.gz
  # make  && make strip
  # make install
 
 $ aget -n10 http://www.enderunix.org/murat/barismanco-hibrahimsofrasi.mp3

OR

# rpm -ivh aget-0.4-sb1.i386.rpm

# aget -n10 http://mirrors.ispros.com.bd/downloadfile.iso

Downloading using gwget

Gwget offers a GNOME front-end to the popular wget application, with enhanced features, such as systray icon, multiple downloads and a powerful preferences manager.

$ sudo apt-get install gwget

# gwget -t -d /home/tech/Downloads/ http://205.196.120.227/zkewcba6n7ng/ew5rvyks171vax3/01+Appangalembadum+-+Usthad+Hotel.mp3


Monday, 30 January 2012

How to Wget

* Download Single File with wget
# wget http://www.openss7.org/repos/tarballs/strx25-0.9.2.1.tar.bz2

* Download and Store With a Different File name Using wget -O
# wget -O taglist.zip http://www.vim.org/scripts /download_script.php?src_id=7701

* Specify Download Speed / Download Rate Using wget –limit-rate
# wget --limit-rate=200k http://www.openss7.org/repos/tarballs /strx25-0.9.2.1.tar.bz2

* Continue the Incomplete Download Using wget -c
# wget -c http://www.openss7.org/repos/tarballs /strx25-0.9.2.1.tar.bz2

* Download in the Background Using wget -b
# wget -b http://www.openss7.org/repos/tarballs /strx25-0.9.2.1.tar.bz2

* Mask User Agent and Display wget like Browser Using wget –user-agent
# wget --user-agent="Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092416 Firefox/3.0.3" URL-TO-DOWNLOAD

Some websites can disallow you to download its page by identifying that the user agent is not a browser. So you can mask the user agent by using –user-agent options and show wget like a browser as shown below.

* Test Download URL Using wget –spider
# wget --spider DOWNLOAD-URL

When you are going to do scheduled download, you should check whether download will happen fine or not at scheduled time. To do so, copy the line exactly from the schedule, and then add –spider option to check.

* Increase Total Number of Retry Attempts Using wget --tries 
# wget --tries=75 DOWNLOAD-URL

If the internet connection has problem, and if the download file is large there is a chance of failures in the download. By default wget retries 20 times to make the download successful. If needed, you can increase retry attempts using –tries option as shown below.

* Download Multiple Files / URLs Using Wget -i
First, store all the download files or URLs in a text file as:

# cat > download-file-list.txt 

Next, give the download-file-list.txt as argument to wget using -i option as shown below. 

# wget -i download-file-list.txt

* Download a Full Website Using wget –-mirror
Following is the command line which you want to execute when you want to download a full website and made available for local viewing.

# wget --mirror -p --convert-links -P ./LOCAL-DIR WEBSITE-URL

-–mirror : turn on options suitable for mirroring.
  -p  : download all files that are necessary to properly display a given 
         HTML page.
-–convert-links : after the download, convert the links in document for
                         local viewing.
-P ./LOCAL-DIR : save all the files and directories to the specified directory.

* Reject Certain File Types while Downloading Using wget -–reject 
# wget --reject=gif WEBSITE-TO-BE-DOWNLOADED

* Log messages to a log file instead of stderr Using wget -o
# wget -o download.log DOWNLOAD-URL

* Quit Downloading When it Exceeds Certain Size Using wget -Q 
When you want to stop download when it crosses 5 MB you can use the following wget command line.
# wget -Q5m -i FILE-WHICH-HAS-URLS

This quota will not get effect when you do a download a single URL. That is irrespective of the quota size everything will get downloaded when you specify a single file. This quota is applicable only for recursive downloads. 

* Download Only Certain File Types Using wget -r -A
# wget -r -A.pdf http://url-to-webpage-with-pdfs/

* FTP Download With wget
Anonymous FTP download using Wget
# wget ftp-url

FTP download using wget with username and password authentication.
# wget --ftp-user=USERNAME --ftp-password=PASSWORD DOWNLOAD-URL

HTTP Download using wget with username and password
# wget --user=username --password=password downloadURL .
These parameters can be overridden using the --ftp-user and --ftp-password options for FTP connections and the --http-user and --http-password options for HTTP connections.