Skip to content

fix minor typos #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions doc-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ parameters, there are two options:

- Client/Server mode

First,the FDT server needs to be started on the remote system. ( The defaultsettings will be used, which implies the default port, 54321, on boththeclient and the server ). -S is used to disable the standalone mode,which means that the server will stop after the session will finish
First, the FDT server needs to be started on the remote system. ( The default settings will be used, which implies the default port, 54321, on both the client and the server ). `-S` is used to disable the standalone mode, which means that the server will stop after the session will finish

```
[remote computer]$ java -jar fdt.jar -S
```

Then,the client will be started on the local system specifying the sourcefile, the remote address (or hostname) where the server was started inthe previous step and the destination directory
Then,the client will be started on the local system specifying the source file, the remote address (or hostname) where the server was started in the previous step and the destination directory

```
[local computer]$ java -jar fdt.jar -c <remote_address> -d /home/remoteuser/destinationDir /home/localuser/local.data
```
Expand All @@ -31,7 +31,7 @@ OR

- Secure Copy (SCP) mode

In this mode the server will be started on the remote systemautomatically by the local FDT client using SSH.
In this mode the server will be started on the remote system automatically by the local FDT client using SSH.

```
[local computer]$ java -jar fdt.jar /home/localuser/local.data remoteuser@<remote_address>:/home/remoteuser/destinationDir
Expand All @@ -43,7 +43,7 @@ OR
[local computer]$ java -jar fdt.jar ./local.data remoteuser@<remote_address>:destinationDir
```

If the remoteuser parameter is not specified the local user, runningthe fdt command, will beused to login on the remote system
If the remote user parameter is not specified the local user, running the fdt command, will be used to login on the remote system.

2. To get the content of an entire folder and all its children,
located in the user's home directory, the -r ( recursive
Expand All @@ -53,7 +53,7 @@ restricted to the local IP addresses only ( with -f flag ).

- Client/Server mode

Multiple addresses may be specfied using the -f flag using ':'. If theclient's IP address(es) is not specified in the allowed IP addressesthe connection will be closed. In the following command the server isstarted in standalone mode, which means that will continue to run afterthe session will finish. The transfer rate for every client sessionswill be limited to 4 MBytes/s
Multiple addresses may be specfied using the -f flag using ':'. If the client's IP address(es) is not specified in the allowed IP addresses the connection will be closed. In the following command the server is started in standalone mode, which means that will continue to run after the session will finish. The transfer rate for every client sessions will be limited to 4 MBytes/s.

```
[remote computer]$ java -jar fdt.jar -f allowedIP1:allowedIP2 -limit 4M
Expand All @@ -68,7 +68,7 @@ OR
The command for the local client will be.

```
[local computer]$ java -jar fdt.jar -pull -r -c <remote_address>-d /home/localuser/localDir /home/remoteuser/remoteDir
[local computer]$ java -jar fdt.jar -pull -r -c <remote_address> -d /home/localuser/localDir /home/remoteuser/remoteDir
```

OR
Expand All @@ -79,7 +79,7 @@ OR

- SCP mode

In this mode only the order of the parameters will be changed, and -ris the only argument that must be added ( -pull is implicit ). Sameauthentication policies apply as in the first example
In this mode only the order of the parameters will be changed, and -ris the only argument that must be added ( -pull is implicit ). Same authentication policies apply as in the first example

```
[local computer]$ java -jar fdt.jar -r remoteuser@<remote_address>:/home/remoteuser/remoteDir /home/localuser/localDir
Expand Down
10 changes: 5 additions & 5 deletions doc-fdt-ddcopy.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To retrieve list of files on custom path there is a custom mode which can be use

The OPTIONS currently supported may be server or client specific, or may be used in both modes.

**Common options used for both server and client :**
**Common options used for both server and client :**

**-gsi** enables GSI authentication scheme in FDT. When started in server mode the FDT will open two TCP ports: one for GSI authentication and the other one for data channels

Expand All @@ -44,7 +44,7 @@ The OPTIONS currently supported may be server or client specific, or may be used

**-printStats** Various statistics about buffer pools, sessions, etc will be printed

**-v** Verbose. Multiple 'v'-s (up to three) may be used to increment the verbosity level.Maximum level is three (-vvv) which corresponds to Level.FINEST for the standard Java logging system used by FDT.
**-v** Verbose. Multiple 'v'-s (up to three) may be used to increment the verbosity level. Maximum level is three (-vvv) which corresponds to Level.FINEST for the standard Java logging system used by FDT.

**-u, -update** Update. If a newer version of fdt.jar is available on the update server it will update the local copy

Expand All @@ -60,7 +60,7 @@ The OPTIONS currently supported may be server or client specific, or may be used

**-c \<host>** connect to the specified host. If this parameter is missing the FDT will become server

**-gsissh** used in the Secure Copy Mode to specify GSI authentication instead of normal SSH authentication scheme. The remote sshd servere must support GSI authentication.
**-gsissh** used in the Secure Copy Mode to specify GSI authentication instead of normal SSH authentication scheme. The remote sshd server must support GSI authentication.

**-d \<dstDir>** The destination directory used to copy files.

Expand All @@ -76,11 +76,11 @@ The OPTIONS currently supported may be server or client specific, or may be used

**Common options used for FDT Agent mode :**

Agent can use booth Server and Client options too, because at any time Agent can be Server or Client
Agent can use both Server and Client options too, because at any time Agent can be Server or Client

**-p \<portNo>** specifies the TCP port to be used (for the server it is the port used to listen on; for the client the port to connect to). The default port is 54321.

**-tp \<transfer-ports>** specifies the TCP port lis to be used for transfer sessions. Ports are separated with comma.
**-tp \<transfer-ports>** specifies the TCP port list to be used for transfer sessions. Ports are separated with comma.

**-agent** Option for FDT to run as agent.

Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ It is written in Java, runs an all major platforms and it is easy to use.
FDT is based on an asynchronous, flexible multithreaded system and is using
the capabilities of the Java NIO libraries. Its main features are:

* Streams a dataset (list of files) continuously, using a managed poolof buffers through one or more TCP sockets.
* Streams a dataset (list of files) continuously, using a managed pool of buffers through one or more TCP sockets.
* Uses independent threads to read and write on each physical device
* Transfers data in parallel on multiple TCP streams, when necessary
* Uses appropriate-sized buffers for disk I/O and for the network
Expand Down