GFTP installation and use, gFTP Installation and Use

Source: Internet
Author: User
Tags ftp commands gtk ftp client

GFTP installation and use, gFTP Installation and Use

GFTP is a multi-threaded FTP client tool developed with Gtk in X Window. It works with Microsoft
Windows
And other FTP tools. This article describes how to compile, install, start, and use gFTP.
Test Platform: RedHat
Linux
6.5, kernel 2.2.5
1. gFTP Overview
GFTP is a multi-threaded FTP client tool developed with Gtk in X Window. It works with Microsoft
Windows
The FTP tools such as CuteFTP run under is very similar and mainly has the following features:
1) Parallel download;
2) resumable upload;
3) transmission task queue;
4) full directory download;
5) ftp/http Proxy transmission support;
6) remote directory Cache;
7) passive/non-passive file transmission;
8) Drag and drop a file );
9) bookmarks;
10) transmission interruption;
And so on.
Ii. System Requirements
1. gtk00001.2.3to install. Package: gtk0000-1.2.6.tar.gzand glib-1.2.6.tar.gz.

Download.
2. X11R6 or above.
3. thread Programming library. if you have installed a libc6-Based System (Debian 2.x, or Red Hat 5. x or above) you already have a thread library. if you are installing a libc5-based system, you need to install
Linux
Thread.
Iii. How to compile, install, and start gFTP
GFTP can be installed in two ways (take gftp2.0.7b as an example ):
1. Download the compiled binary (gftp-2.0.7b-1.i386.rpm) and install it directly with the rpm installer.
2. Compile the gFTP source code, generate an executable file, and install it. The method is as follows:
1. Download The gftpsource package (gftp-2.0.7b.tar.gz ). Unpack:
Tar-zxvf gftp-2.0.7b.tar.gz
2) check settings and compile:
Cd gftp-2.0.7
./Configure # generate Makefile.
Make # default directory/usr/local. This step takes a little longer.
3) installation:
Make install # directory/usr/local/share/gftp, this step is very fast.
The installed gFTP can run from "start" -- Internet -- gFTP. You can also use the command line method to start gFTP on a system that supports X. Format:
Gftp [-- help] [-h] [-- version] [-v] [[
[Url = ftp: //] [user: pass @] ftpsite [: port] [/directories] ftp: //] [user: pass @] ftpsite [: port] [/directories] [/url]
Iv. Introduction to gFTP
The following figure shows how to access gFTP:
  
The layout of the entire window is divided into five parts: menu bar, tool button, Directory window, task queue, and log bar.
The following describes each item one by one.
1) Use of menu bar
There are eight menus:
1. FTP. This is the overall configuration of gFTP, such:
Column 1: Window 1 refers to a window on the left of the Directory Window, and Window 2 refers to a window on the right. Press the previous button to select the window. In this case, the operation in the tool button bar is for the selected window.
Column 2: transmission mode. Press the button to select. Ascii is transmitted in character mode; Binary is transmitted in Binary mode.
Column 3: options. The dialog box is displayed as follows:
Page 1: General)
Email address: Some FTP servers require anonymous users to use their Email addresses as passwords for authentication.
View program: The program used to "quickly View" the file items listed in the directory window.
Edit program: The program used to "Edit" the file items listed in the directory window.
Connect timeout: the timeout and interruption wait time for connecting to the server.
Read timeout: the waiting time for receiving data.
Connect retries: the number of connection requests automatically sent to the server.
Retry sleep time: the waiting time before the next automatic connection to the server.
Max kb/S: Maximum Transmission Rate (k Bytes/S ). The default value 0.00 indicates that the local machine is not limited.
  
Bring up reconnect dialog: a dialog box pops up asking you if you want to connect again. Tick indicates that the image is selected.
    
Confirm delete: before deleting a file in the Directory window, a dialog box asking the user to Confirm again is displayed.
Do one transfer at a time: at the same time, only one task is in the transmission status. If this option is not selected, gFTP can perform parallel download, as shown in the following figure:
  
Passive file transfers: Passive file transfer. If this parameter is not selected, the server transmission mode is supported.
Preserve permissions: Remember the logon method and password of the FTP server you have accessed.
Refresh after each file transfer: after each file is transferred, the Directory window is refreshed.
Resolve Remote Symlinks: parses the symbolic connection of the Remote host. This option enables gFTP to issue the LIST-L command to the server. On some hosts, this command cannot be executed and an error message is returned. In this case, you only need to select this item, and gFTP will replace LIST-l with the list command to correctly LIST directories.
Save geometry: temporarily stores the directory structure of the remote host.
Show hiden files: displays "hidden" files.
Sort directories first: Sort by file name before listing the directory content.
Start file transfers: The task is executed immediately after it enters the queue.
Use cache: Use cache to transmit data.
Use HTTP/1.1: allows transmission over HTTP/1.1.
The settings on the last three pages are similar and familiar
Network
You will find it easy to set these options. Set the HTTP Proxy operation interface:
  
Column 4: exit.
2. Local menu
  
This is a menu item for window1 operations. The operations are simple and will not be described in detail.
Note that the Chmod command may not be correctly executed due to permission display;
The "Send SITE command" command means to Send ftp commands to the host using the command line method.
3. Remote menu

This is the menu item for Windows 2 operations. The content is consistent with that of Local.
4. Bookmarks menu
  
Unlike CuteFTP, gFTP uses favorites to quickly access custom sites. Even if you upgrade gFTP, the content in your favorites can still be used.
Shows the page for adding bookmarks:
  
Shows the page for editing favorites:
  
5. Transfers menu
This menu item is used to operate the task queue. Where:
Start Transfer: Start the transmission task.
Stop Transfer: remove the task from the task queue.
Retrieve Files: Add a download task (window2 to window1) to the taskbar ). The function is the same as the button in the Directory window.
Put Files: add an upload task (window1 to window2) to the taskbar ). The function is the same as the-> button in the Directory window.
If the name of an important file (directory) already exists in the target window, a dialog box is displayed, allowing you to choose operation methods such as "resumable upload", "Overwrite", and "Ignore.
  
6. Logging menu
You can view, clear, and save log information.
The interface for viewing log information is as follows:
  
7. Tools menu
  
It can be used to compare the content of window1 and window2, so as to avoid repeated downloads and facilitate user use.
8. Help Menu
Including About and License Agreement
Shows the About interface:
  
2) Use of tool buttons
The setting of various tool buttons accelerates connection operations.
The leftmost button is used to perform connection-related operations. Including "quick connection" and "disconnected ".
When the rightmost button is highlighted in red, the current transmission can be stopped.
Enter the Host Name (IP address), port number, user name, password, and transmission protocol in other input boxes.
  
In the above transmission protocols, SSH needs to install sftp Server (
HTTP: // WWW. XBILL. ORG/SFTP
). You can specify different URLs for Window1 and Window2 to implement file interoperability between the two FTP servers.
3) Directory window operations
The contents of the Directory window are very similar to those of CuteFTP and other software. Right-click to perform operations in the Local and Remote menus. For the Three-Key mouse, the third key can be used to achieve Drag and Drop. For the two-Key mouse, in the case of Three Button Emulation, you can press the two keys simultaneously to achieve Drag and Drop. You can use Shift or Ctrl to select multiple instances. You can select a directory or file.
4) view and operate task queues
It is used to display and manipulate the hierarchy and operation status of tasks in the task queue. Right-click to implement the Transfers function.
5) log Column
Displays log information. Right-click the Logging menu to implement the function.


This article is from the ChinaUnix blog. If you want to view the original text, click:Http://blog.chinaunix.net/u1/38498/showart_302645.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.