Petals-BC-FTP

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (14)

View Page History



|| Attribute || Description || Default value || Required ||
| server | IP or DNS name of the server | | Yes (except when uins FtpService) |
The IN message looks like :

{code:lang=xml}<ver:put xmlns:ver="http://petals.ow2.org/components/ftp/version-3.0">
{code:lang=xml}<?xml version="1.0" encoding="UTF-8"?>
<ver:put xmlns:ver="http://petals.ow2.org/components/ftp/version-3">
    <ver:body>xml body</ver:body>
    <ver:filename>file name on the FTP server</ver:filename>
The IN message looks like :

{code:lang=xml}<?xml version="1.0" encoding="UTF-8"?>
{code:lang=xml}<ver:mput xmlns:ver="http://petals.ow2.org/components/ftp/version-3">
<ver:attachments>
<ver:filename><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:test1.xml"/></ver:filename>
The IN message looks like :
\\
{code:lang=xml}<ver:get xmlns:ver="http://petals.ow2.org/components/ftp/version-3.0">
{code:lang=xml}<?xml version="1.0" encoding="UTF-8"?>
<ver:get xmlns:ver="http://petals.ow2.org/components/ftp/version-3">
<ver:filename>file name to retrieve</ver:filename>
<!--Optional:-->
Each file is set in the OUT message as an attachment. The IN message looks like :
\\
{code:lang=xml}<?xml version="1.0" encoding="UTF-8"?>
{code:lang=xml}<ver:mget xmlns:ver="http://petals.ow2.org/components/ftp/version-3">
<!--1 or more repetitions:-->
<ver:filename>*.xml</ver:filename>
server.
The IN message looks like :{code:lang=xml}
<ver:dir>
   <!--Optional:-->
<?xml version="1.0" encoding="UTF-8"?><ver:dir xmlns:ver="http://petals.ow2.org/components/ftp/version-3>
<!--Optional:-->
   <ver:connection>
     ...
The OUT message returned to the consumer is defined as follow :

{code:lang=xml}<tns:dirResponse xmlns:tns="http://petals.ow2.org/components/ftp/version-3.0">
         <!--Zero or more repetitions:-->
         <tns:filename>file1.txt</tns:filename>
The IN message looks like :
{code:lang=xml}
<ver:del>
<?xml version="1.0" encoding="UTF-8"?><ver:del xmlns:ver="http://petals.ow2.org/components/ftp/version-3>
<ver:filename>?</ver:filename>
<!--Optional:-->