ezyang/git-ftp

Sending a file to another program before sending via FTP

boryn opened this issue · 1 comments

I was wondering which place of code should I "hack" so that right before sending a file through FTP I could pass it to another program and after that send it to FTP.

We sometimes need to protect our PHP code before sending it to the client's server and would like to use a command line program like Zend Guard or ionCube PHP Encoder. Probably files are sent to the server one by one so protecting/compiling them with these tools one by one would not be very efficient - but it is better to have it this way than none.

If you could give some advice where to see around the code

Thanks
Michal