xPDOTransport.retrieve
Last updated not available | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn morexPDOTransport::retrieve¶
Downloads or copies a transport archive from a source location to a target location. The $state argument indicates whether the source is packed or unpacked.
Syntax¶
boolean retrieve (xPDO &$xpdo, string $source, string $target, [integer $state = xPDOTransport::STATE_PACKED])
Example¶
xPDOTransport::retrieve($xpdo, 'https://example.com/my_package.transport.zip', MODX_CORE_PATH . 'packages/');
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$194 per month—let's make that $500!
Learn more










