05.01.2013 Views

eWON General Reference Guide - eWON wiki

eWON General Reference Guide - eWON wiki

eWON General Reference Guide - eWON wiki

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>General</strong> <strong>Reference</strong> <strong>Guide</strong> Export Block Descriptors<br />

There is also one special use of the $fn: when a user file ($dtUF$fn) is exported and you do not specify the source name ($uf); in that case, the<br />

$fn parameter is used as source and as destination file name.<br />

Using only $fn in a send mail string:<br />

SENDMAIL "MailReceiver@YourMail.com", "", "Mail Subject", "Mail text &[$dtUF$fnmyfile.txt]"<br />

Use the above syntax will attach a file with its name (and not with the EBD syntax as name).<br />

note: pay attention that all ‘/’ (slash) character into the $fn parameter will be replaced by a ‘_’ (underscore) character.<br />

When doing a PUTFTP, then $fn does not need to be specified, because the PUTFTP command manages the name of the destination file:<br />

PUTFTP "MyFileWithANewName.txt", "[$dtUF $uf/myfile.txt]"<br />

8.3.9.3.3 Special parameters and fields<br />

• $ftB "File Type" binary (default). Other types are unavailables (HTML, Text or Graph)<br />

• $ctG "Compression Type" GZ.<br />

• $flNOSSI "Disable SSI parsing in $dtUF".<br />

When the $dtUF export bloc descriptor is used to export a user file then <strong>eWON</strong> will parse the user file during export for any SSI tag (tags<br />

starting with

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!