DEV Community

Discussion on: Automatic Deployment via good ol' FTP

Collapse
 
jpkeisala profile image
Jukka-Pekka Keisala

I tried to use FTP deploy but it did not fit for my needs. I think it is OK for few files but when you need to move thousands of small files it is way too slow. FTP's weakness is that it transfers each file individually. Perhaps if you could have process that zips the directory then FTP transfers to the Zip and then some other process on the server unzip's it... But then why not just hooking directly to Githooks or something alike?

Collapse
 
devmount profile image
Andreas

Oh I know exactly, what you mean! If only FTP had some kind of built in transport compression/bundleing, it would be so much faster.

The good thing about Git-ftp is, that you only have to upload all your files once. Every following upload will only contain the files that changed since the last upload (which I assume to be not that much files). You can even git ftp catchup, if your files are already existing on your server. But I agree, that there are some limitations at some point. So it depends on the project, I guess.