A Sample ftp Session

The following diagram illustrates a typical ftp session performed via the Command line shell.

The diagram explains how to: start an ftp session; change the current working directory; list the contents of the local and remote directories; transfer a file to the Host system; and exit ftp.

To open a Command line window enter: cmd.

An example of an ftp session

1. cd..

Changes the current directory on the local PC up one level. E.g. from C:\Users to C:\

2. cd SekChek Files

Changes the current directory on the local PC from C:\ to C:\SekChek Files\

3. dir

Lists the contents of the current directory on the local PC, which shows file SEKUNEXT with a size of 74,737 bytes.

4. ftp 123.456.78.90

Starts an ftp session with host 123.456.78.90. You can also connect by using the host’s friendly name.

5. MyFtpUser

MyFtpUser is the account that will be used for the ftp session with host 123.456.78.90

6. The password for account MyFtpUser

The password is automatically blanked out.

7. lcd

Displays the name of the current directory on the local PC. E.g. C:\SekChek Files\

8. pwd

Displays the name of the current directory on the remote host. E.g. ‘/’ (the root directory).

9. cd storage

Changes the current directory on the remote host to /storage

10. ls

Lists the contents of the current directory on the remote host, which is empty.

11. pwd

Displays the name of the current directory on the remote host. E.g. /storage

12. binary

Changes the transfer mode for the ftp session to binary mode

13. put SEKUNEXT

Copies file SEKUNEXT from the current directory on the local PC to the current directory on the remote host. The example shows that 74,737 bytes were transferred.

14. ls

Lists the contents of the current directory on the remote host. The directory contains file SEKUNEXT.

15. quit

Closes the ftp session.

SekChek for..

Popular Downloads..

Popular Links..