When you queue the transfer item, you add a package or account (transfer item) to the transfer list.
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
Queue the transfer item
The function's structure depends on the transfer module into which that handles the transfer item. Use the
enqueue_transfer_item function to add a transfer item to the transfer session, as in the following examples:
This function only returns the following metadata:
root transfers only, add the transfer of the
package1 package to the queue with the following function call: