5/15/11

How to Use FTP to Transfer Directories in AIX

AIX is a Unix operating system created by IBM. The AIX File Transfer Protocol (FTP) program can transfer individual files and directories from a local system to a remote system running the FTP service. Sometimes, FTP servers have anonymous access to grant limited transfer access to anyone. The FTP service can also be configured with a password. If you attempt to access a password-protected FTP server using the AIX FTP program, you will be prompted to enter a user name and password before proceeding.
    • 1

      Open a terminal window and type "ftp hostname" to connect to the remote FTP server. Replace "hostname" with the name or address of the remote server.

    • 2

      Type "mkdir directoryname" to create a new directory on the FTP server. Replace "directoryname" with the name of the directory you want to create.

    • 3

      Type "cd directoryname" to change to the directory you created. Replace "directoryname" with the name of the directory you created.

    • 4

      Type "put /path/to/directory/*" to copy the entire contents of the directory to the remote directory you created. Replace "/path/to/directory/" with the local path to the directory you want to transfer. The asterisk at the end is used to copy all files contained in the directory.

    • 5

      Type "quit" to exit the FTP program.

  • No comments: