The start process begins the transfer session. Use the same process for both the
root and transfer sessions.
In these examples, the following statements are true:
- You have two servers:
- You logged in to the local server with the
example.com,and you want to transfer it from the remote server to the local server.
- You want to transfer the
package1package from the remote server to the local server.
rootpassword for the remote server is
Start the transfer session
After you add all of the transfer items to the transfer session, start the transfer session with the
start_transfer_session function, as in the following examples:
The function returns the process ID that handles the transfer session: