Document Delivery Version 101 XML Tags: FTP
About this task
- XML Tags: FTP.
- FTP specific guidelines.
- Examples: FTP.
XML Tags: FTP
There is now a mechanism for doing small FTP commands before and after the actual delivery.
For instance, you might be required to manually change the directory before the delivery takes place, and then change the directory back to the root when finished.
To accomplish this, the Pre and Post commands can be used.
XML Tag | Description | ||||
<Header> | The main wrapper tag for the XML style header. There are no attributes for this tag | ||||
<DestinationFilename> | Contains the remote destination filename. There are four attributes for all systems for this tag:Filename : The remote destin
|
||||
PreCommands
|
Wrapper for all Pre commands that are to be attempted before the delivery occurs. There are no attributes for this tag. | ||||
PreCommand
|
Holds one FTP command to take place before the delivery occurs. The raw FTP command is written verbatim in the command attribute. There is one attribute for this tag. command : The command to be sent. |
||||
PostCommands
|
Wrapper for all the Post commands that are to be attempted after the delivery is completed. There are no attributes for this tag. | ||||
PostCommand
|
Holds one FTP command to take place after the delivery is successfully completed. The raw FTP command is written verbatim in the command attribute. There is one attribute for this tag. command : The command to be sent. |
- Multiple PreCommand and PostCommand tags may be used.
- The total size of the header including the version, null characters and Carriage Return Line Feed cannot exceed 4096 bytes.
- Failures in the delivery process are treated as follows.
If the following fails: | Result |
Pre commands | Delivery and the post commands are not processed. Delivery is considered to be failed. |
Delivery | Post commands are not processed. Delivery is considered to be failed. |
Post commands | Delivery is considered to be failed. |
- If Pre and Post commands are used for Network or HTTP deliveries, the header will be considered invalid, and the output document will be flushed.
FTP Example: using Pre and Post commands