NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Possible to control phpEd from an external app on Windows?


Joined: 01 Oct 2007
Posts: 6
Location: Zermatt, Switzerland
Reply with quote
Hi gurus,

Curious: I'm in the middle of writing a rather large-ish app in Java, Groovy & Ant to handle building and publishing our companies tools to various remote servers, and was wondering if might be possible to have phpEd react to a command from my Java app? The Ant ftp task is rather brittle and doesn't come anywhere near the quality of the phpEd SFTP or FTP...

I'd like to have my Java app ask phpEd to run a smart-upload on a project.

Possible? If yes, any hints on where to start???

Cheers,
-Chris
View user's profileFind all posts by ZermattChrisSend private message
Re: Possible to control phpEd from an external app on Window


Joined: 16 Jul 2005
Posts: 5
Reply with quote
ZermattChris wrote:
Hi gurus,

Curious: I'm in the middle of writing a rather large-ish app in Java, Groovy & Ant to handle building and publishing our companies tools to various remote servers, and was wondering if might be possible to have phpEd react to a command from my Java app? The Ant ftp task is rather brittle and doesn't come anywhere near the quality of the phpEd SFTP or FTP...

I'd like to have my Java app ask phpEd to run a smart-upload on a project.

Possible? If yes, any hints on where to start???

Cheers,
-Chris


Hmm.. I don't know about this, but why not use scp (scopy), rsync, or another command line sftp type program?
View user's profileFind all posts by phormanSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
but why not use scp (scopy), rsync, or another command line sftp type program?

because neither of them support smart-sync. The most closest one is rsync, but it's not too stable and not available under Windows.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 23 Aug 2005
Posts: 53
Reply with quote
dmitri wrote:
Quote:
but why not use scp (scopy), rsync, or another command line sftp type program?

because neither of them support smart-sync. The most closest one is rsync, but it's not too stable and not available under Windows.
rsync is available under windows. it's a binary part of the cygwin package. It works fine like the rsync under any *nix. us it every day to sync a document folder on a windows server with a webserver under linux.
View user's profileFind all posts by stappelSend private message


Joined: 25 Mar 2008
Posts: 2
Reply with quote
stappel wrote:
dmitri wrote:
Quote:
but why not use scp (scopy), rsync, or another command line sftp type program?

because neither of them support smart-sync. The most closest one is rsync, but it's not too stable and not available under Windows.
rsync is available under windows. it's a binary part of the cygwin package. It works fine like the rsync under any *nix. us it every day to sync a document folder on a windows server with a webserver under linux.


Second -- rsync is *very* stable on Cygwin/win32. I've deployed it as a backup solution in networks exceeding 100 PCs.
View user's profileFind all posts by koinoniaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Quote:
Second -- rsync is *very* stable on Cygwin/win32

Try to google for "rsync hangs" Smile
and it hangs for sure under Cygwin too. If you didn't experience this problem, it does not mean that the problem does not exist. Maybe whole your project or its changed part to upload are small enough.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Possible to control phpEd from an external app on Windows?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic