Portable Program that will send files to FTP server whenever I save

Portable Program that will send files to FTP server whenever I save

I'm doing a PHP web project and do a lot of saving to check that the code I'm writing hosts properly on our target environment.

I do a lot of saving and thus, when I save I wish it would just automatically FTP the files up to the server so I could just hit refresh on the page I want.

Is there a configuration of Filezilla or a Portable App version of a program that can do this (I don't have admin. rights on the computer I'm working on to install stuff.)?

答案1

Local PHP - on a stick

Install a portable PHP + MySQL environment on a USB stick you plug in to your development computer. E.g Portable WampServer. You can then test each update locally. You only need to FTP to your server when you have finished testing all the changed files in your project.

答案2

How about writing a batchfile wrapper around putty's pscp tool? It's command-line driven and should be pretty straight forward. (Same could be done with WinSCP I imagine).

If you need to send files that are changed, you could use powershell to find them and the call pscp

相关内容