mpfserver Manual
 
 
 mpf:ftp | ftp upload
mpf:ftp

upload file(s) using FTP (file transfer protocol)

{mpf:ftp  }
=[host]
IP-Address or URL of ftp-server
||path=[myName]
select path on ftp-server
||file=[myName]
name/path of file to upload. Use this parameter for every file to upload
||username=[myName]
username for login
||password=[myPassword]
password for login
|| convert=[lowercase|uppercase|upperfirst]
convert file attribute(s)
|| encode=[url|html|html-chars|crypt]
encode file attribute(s) to another format
|| trim=[left|right|both]
remove whitespaces from file attribute(s)
|| convert_section=[lowercase|uppercase|upperfirst]
convert section data (for use with closing token only)
|| parse_section=[yes|no]
parse section data for mpf-tokens (for use with closing token only)
|| encode_section=[url|html|html-chars|crypt]
encode section data to another format (for use with closing token only)
|| trim_section=[left|right|both]
remove whitespaces from section data (for use with closing token only)
|| [opr][condition]
condition may be used to check file name/path
display upload errors
the follwing errors may occur:
connection could not connect to ftp-server 
path path on server not found 
upload upload not successful 
Errors can be accessed using the following token structure:
{mpf:ftp/error||!=}
{mpf:var/val||==connection}
... Connection to FTP-Server failed ...
{/mpf:var/val||==connection}
{mpf:var/val||==path}
... Path could not be found ...
{/mpf:var/val||==path}
{mpf:var/val||==upload}
... file(s) could not be uploaded ...
{/mpf:var/val||==upload}
{mpf:ftp/error||!=}
 
 
2004 by master-p-formance.All rights reserved.
 
This manual is generated on the fly using mpfserver and MPFT (mpf transformation).