In response to such error, you need to switch your ftp client in passive mode (in our case ant:ftp). You can do it with additional attribute "passive" set to "yes" (passive="yes").
Exemplary target should be similar to that snippet:
<target name="ftpViewsCommon"> <ftp server="${ftp.server.url}" port="21" remotedir="/${app.dir}/${views}/scripts/common" userid="${ftp.account.username}" password="${ftp.account.password}" binary="no" passive="yes"> <fileset dir="${views}/scripts/common"> <include name="**/*.phtml"> </fileset> </ftp> </target>
Brak komentarzy:
Prześlij komentarz