Define a Remote File Transfer mechanism

A Remote File Transfer contains information for transferring files to the remote location. Remote file transfers are used to transfer files from the development environment to a server.

You can specify a remote file transfer mechanism when one of the following servers is created using the New Server wizard:

To define a remote file transfer mechanism, complete the following:

  1. The Publishing Options page of the New Server wizard allows you to define a Remote File Transfer. Select a publishing method:

    • Local copy to copy resources directly from one machine to another in the file system.

    • FTP file transfer to copy resources from one machine to another using File Transfer Protocol (FTP).

  2. If local copy is selected, in the publishing directory filed, type or browse to the publishing directory where you want your applications and server configuration published. The publishing directory is the one seen by the local machine. For example, if you are adding a remote transfer file for WebSphere Application Server v5.x and it is installed on a different machine, then the publishing directory is the network drive that maps to the WebSphere deployment directory. If WebSphere Application Server is installed on the same machine as the development environment, then the publishing directory should be the same as the value that you specified earlier in the WebSphere deployment directory field. For example, C:/Program Files/WebSphere/AppServer.

  3. If FTP file transfer is selected, specify the following fields:

    1. In the publishing directory field, type the publishing directory where you want your application and server configuration published. This publishing directory points to the server's deployment directory as seen from the development environment using the FTP client program. For example, if the WebSphere deployment directory is C:/Program Files/WebSphere/AppServer and your FTP server directory is C:/, then your publishing directory is /Program Files/WebSphere/AppServer.
      Tip: To determine whether a beginning slash is required, log in to the FTP server using FTP client program, and then type the pwd command. If the default log in directory is shown with a beginning slash, then include the slash when you complete the publishing directory field.

    2. In the User login field and the User password field, type the FTP user ID and password that will be used to access the FTP server.

    3. In the Connection timeout field, type the time (in milliseconds) that the development environment will attempt to contact the FTP server before timing out.

    4. Select the Use PASV Mode (Passive Mode) to go through the firewall check box, if you want to pass through a firewall provided that one is installed between your FTP server and the development environment.

    5. To change the firewall options, select the Use firewall check box, and then click Firewall Settings to specify the settings.

  4. Click Next to continue with the New Server wizard. Once you have completed the New Server wizard, a remote file transfer is created.

 

Related tasks

Editing a remote file transfer
Setting up WebSphere Application Server for testing and publishing
Testing and publishing projects on a WebSphere server
Defining WebSphere Application Server for remote testing and publishing