Hi,

I did a first hack on the scripting support. The task now
excutes in the following order:
 
1 upload binary
2 upload ascii
3 download binary
4 download ascii
5 script

A short example:

<ftp server="my-ftp.de" remotepath="/pub/">
        <up-binary>
                <include name="test.zip" />
        </up-binary>
        <script><![CDATA[
        pwd
        cwd /pub
        pwd
        ]]></script>
</ftp>

I put it up on
<http://www.livingit.de/downloads/ftp-task.zip>.

Definitly untested are any calls for put or get in the
scripting section. Use the filesets to up-/download.

-sa

-- 
sa at programmers-world dot com http://www.livingit.de
Internet sites:
  http://www.not2long.net - Make long links short
  Boomarks online: http://www.mobile-bookmarks.info


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to