Answer the question
In order to leave comments, you need to log in
How to set up IntelliJ IDEA so that after the build the file is uploaded to FTP?
I work with Flash, to check the operation of the flash drive, you need to run it from the server (which is located on the virtual machine). You have to manually build the project and upload it using FileZilla. How can I automate the assembly so that the IDEA itself uploads the file to FTP?
- I have no experience with ANT, Maven, I did not figure it out.
- The possibility of a local launch is not considered.
Answer the question
In order to leave comments, you need to log in
With the help of ant:
In build.xml , write
<target name="put.ftp">
<ftp server="${ftp.server}" binary="true" verbose="true"
userid="${ftp.userid}" password="${ftp.password}" remotedir="/">
<fileset dir="target">
<include name="*.swf"/>
</fileset>
</ftp>
</target>
ftp.server=127.0.0.1
ftp.userid=root
ftp.password=root
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question