Ticket #15 (closed enhancement: fixed)
FTP upload task
| Reported by: | maxx.gass@… | Owned by: | hans |
|---|---|---|---|
| Priority: | major | Milestone: | 2.3.1 |
| Component: | cruisecontrol-builder-plugin | Version: | 2.2.0RC1 |
| Keywords: | Cc: |
Description
Would be very nice for Continous Integration
Attachments
Change History
comment:3 in reply to: ↑ description Changed 3 years ago by anonymous
Replying to maxx.gass@gmail.com:
Would be very nice for Continous Integration
Is there a wget task as well, for fetching stuff from the net?
comment:4 Changed 3 years ago by hans
- Owner set to hans
- Component set to cruisecontrol-builder-plugin
- Milestone changed from 2.3.0 to 3.0
This would be useful; we're taking task submissions! ;) I'll move this to 3.0, but anyone can feel free to provide one earlier.
comment:5 Changed 3 years ago by jorrit@…
I have made something that might be what the submitter intended. It's not done, but it gives an idea of what it should do. I intend to use it for remote deployment. At this moment it is broken because of PEAR bug #7270.
Example XML:
<project name="deploytest" default="deploy" basedir=".">
<taskdef name="ftpdeploy" classname="phing.tasks.FtpDeploy"/>
<target name="build">
....
</target>
<target name="deploy" depends="build">
<ftpdeploy host="host" port="21" username="user" password="password" dir="public_html" mode="ascii" clearfirst="true">
<fileset dir=".">
<include name="**"/>
<exclude name="phing"/>
<exclude name="build.xml"/>
<exclude name="images/**.png"/>
<exclude name="images/**.gif"/>
<exclude name="images/**.jpg"/>
</fileset>
</ftpdeploy>
<ftpdeploy host="host" port="21" username="user" password="password" dir="public_html" mode="binary">
<fileset dir=".">
<include name="images/**.gif"/>
<include name="images/**.jpg"/>
</fileset>
</ftpdeploy>
</target>
</project>
What do you think of it? Perhaps it can be of use, otherwise I will just use it for myself.
comment:7 Changed 3 years ago by hans
- Status changed from new to assigned
I haven't had a chance to look at it yet, but I promise I will.
comment:8 Changed 3 years ago by Jorrit
I hate to bother you again, but I'd like to know what you think about it. The bug in Net_FTP that prevented this task from working properly has been fixed.
comment:9 Changed 3 years ago by hans
- Milestone changed from 3.0 to 2.3.1
Thanks for the submission. I'll add this.
comment:10 Changed 3 years ago by mrook
- Status changed from assigned to closed
- Resolution set to fixed
Patch committed in r340, thanks!
comment:11 Changed 2 years ago by dude
Yeah, thanks you
Exactly what I want to code, but it's great if I'd not ... ;-)
comment:12 Changed 2 years ago by john@…
is anyone working on an addition to ftpdeploy to "sync" rather than just override ALL files?
this does not make sense on a large system with 1000+ files, of which only say 14 change regularly (others are utils, libraries, etc. like YUI)


Good idea! I'm moving this to the 2.3.0 milestone.