DieterRandolph
Programmer
Hello!
-I administer a collaboration app, and I have a user who's trying to use Ant to FTP a hierarchy of files and folders (a JavaDoc, to be percise) into my server. He is able to connect and send in the files and folders (thus proving that the FTP itself is not the problem), but the wrinkle is that all the files and folders are written to the base directory level, irrespective of its level in the JavaDoc hierarchy. In other words, everything gets sent over, but it's flattened out.
-Here is the user's Ant code:
<target name="deployjavadoc" depends="javadoc">
<ftp server="blahblah.com" remotedir="blahblah" userid="xxxx"
password="xxxx" depends="yes" >
<fileset dir="docs/"/>
</ftp>
</target>
-Once again, this allows him to connect and send the files and folders. Is there something that can be done in Ant to preserve the folder structure? Any guidance you can offer is most welcome.
Thanks in advance,
Dieter
-I administer a collaboration app, and I have a user who's trying to use Ant to FTP a hierarchy of files and folders (a JavaDoc, to be percise) into my server. He is able to connect and send in the files and folders (thus proving that the FTP itself is not the problem), but the wrinkle is that all the files and folders are written to the base directory level, irrespective of its level in the JavaDoc hierarchy. In other words, everything gets sent over, but it's flattened out.
-Here is the user's Ant code:
<target name="deployjavadoc" depends="javadoc">
<ftp server="blahblah.com" remotedir="blahblah" userid="xxxx"
password="xxxx" depends="yes" >
<fileset dir="docs/"/>
</ftp>
</target>
-Once again, this allows him to connect and send the files and folders. Is there something that can be done in Ant to preserve the folder structure? Any guidance you can offer is most welcome.
Thanks in advance,
Dieter