Solved

Whats the best way of deploying PHP code from a Linux Server to a Remote Windows Server?

Posted on 2010-08-17
4
296 Views
Last Modified: 2013-12-06
Hi there,
Im building Symfony PHP projects for use on a Windows IIS/PHP server (I know, I cant change it). Anyway, usually I develop on Linux and use an Rsync method built into Symfony to deploy to another linux server. I cant do that with Windows 2008 server  though, any thoughts on tools or methods that would avoid uploading the full 50Mb code every time? Ive tried FreeSSHd on the server but cant get 64bit rsync.exe or cygwin dlls that will work with the rsync on Debian Lenny...

Any help appreciated!
0
Comment
Question by:Slimshaneey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 11

Expert Comment

by:Pieter Jordaan
ID: 33457507
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33458155
Hi!

You can use 'lftp'. It's great for mirroring files and you'd just need FTP on the Windows server.

Source code: http://webscripts.softpedia.com/script/Internet-Browsers-C-C/FTP/LFTP-28455.html
alt
http://lftp.yar.ru/

Or just fetch the program with apt-get.

Example to mirror to sites:

SOURCEPATH="/pub/source/"
DESTPATH="/pub/backupserver/source"
DESTSITE="ftp://srv:pass@ipaddress"
lftp -c "open -e \"mirror -Rev '$SOURCEPATH' '$DESTPATH'\" $DESTSITE"

Regards, Tobias
0
 
LVL 3

Accepted Solution

by:
captainmish earned 500 total points
ID: 33462648
Ive used deltacopy (http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp) for similar things, both to and from the windows machine and was very happy with it. Used version (about) 3.0.6 or so against it with no issues. The setup is a bit different, but once its running it needs very little maintenance.
0
 
LVL 11

Author Closing Comment

by:Slimshaneey
ID: 33473573
Never seen DeltaCopy before but its exactly what Im looking for!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question