FTP Upload - do not upload unchanged files/folders from previous build
Hi there, I started using TeamCity today, because I started running out of memory on my free buddy plan :) It's pretty nice, however I would really like to solve one issue. I have a php backend with composer and a vue frontend with yarn. After each part is built, I upload them via FTP to my server. Vue deployment is fine, I just have to upload the dist folder, but with composer, I have to upload the vendor folder. It takes about 20 minutes to upload, there are many small files. In buddy, I was used to waiting 20 minutes for my first build, but then it always just uploaded new packages, if there were any, so the build was really fast. I can't find any option like this in the FTP Upload runner. Thanks in advance for responses.
Please sign in to leave a comment.
Unfortunately, while there is a feature request to allow just newer files upload instead of the whole batch (https://youtrack.jetbrains.com/issue/TW-31909), currently it is not supported. As a workaround, you could use a custom script which would select the files for replacement and upload for you.