Hi,
Following shows how to use ftp on windows machines from nant.(May be
somebody could need that. )



        <echo message="your_login" file="ftpconfig" append="false" />
        <echo message="your_password" file="ftpconfig" append="true" />
        <echo message="bin" file="ftpconfig" append="true" />
        <echo message="cd remote/dir"  file="ftpconfig" append="true" /> 
        <echo message="put path\filename.zip"  file="ftpconfig"
append="true" />
        
        <echo message="quit" file="ftpconfig" append="true" />


                
                <exec program="ftp.exe"
        commandline='-s:ftpconfig ftp.host.com'
        />

                
                
                
        <echo message="your_login" file="ftpconfig" append="false" />
        <echo message="your_password" file="ftpconfig" append="true" />
        <echo message="bin" file="ftpconfig" append="true" />
                
        <echo message="get  remote/dir/file.zip" file="ftpconfig"
append="true" />
        <echo message="quit" file="ftpconfig" append="true" />
                <exec program="ftp.exe"
        commandline='-s:ftpconfig ftp.host.com'
        />


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to