FTP - transfer checksum
It will be great if the deployment will do checksum against previous transfer (same file) before begin the FTP file transfer. If same, then it will skip the transfer. With this, it can speed up the deployment, and save your server bandwidth (network+IO+processing power).
Of course this can be option that user can enable to "speed-up" the deployment or disable it for always replace.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on Aug 02, 2015 @ 06:04 PM
Maybe you can use WinSCP instead of built-in FTP deployment. Looks like it can be installed with Chocolatey: https://chocolatey.org/packages/winscp
2 Posted by kinliang on Aug 03, 2015 @ 12:17 AM
Thanks for the response, currently
I using your platform to CD, how do I install the Winscp to your platform?
3 Posted by kinliang on Aug 03, 2015 @ 01:46 AM
I have attached my setup on deployment, please advise how do I enable that?
Support Staff 4 Posted by Feodor Fitsner on Aug 03, 2015 @ 01:58 AM
It can be installed with the following command added to "Install" section:
5 Posted by kinliang on Aug 03, 2015 @ 03:08 AM
Thanks for the swift response,
I just added it settings/environment -> Install script section.
Do I need to do anything else?
Support Staff 6 Posted by Feodor Fitsner on Aug 03, 2015 @ 03:12 AM
The idea is to use your own deployment script instead of built-in AppVeyor provider. You should replace built-in FTP deployment method with your own command calling winscp command line. Sorry, I don't have a ready example, but I think it could be easily googled.
Btw, why wouldn't just replace FTP with WebDeploy (if you control target server of course)? Web Deploy is way more effective in managing partial updates.
7 Posted by kinliang on Aug 03, 2015 @ 03:14 AM
The problem is the hosting that I using don't support WebDeploy :(, it only support FTP And for my case it will take more than one hour to complete transfer.
8 Posted by kinliang on Aug 05, 2015 @ 01:20 PM
I going to try, so I choose script over the provider?
Support Staff 9 Posted by Feodor Fitsner on Aug 05, 2015 @ 03:05 PM
Yes
- Feodor
10 Posted by kinliang on Aug 06, 2015 @ 03:38 AM
Always thanks for the swift response, where can I get the list of "variable" and how do I know where the "artifcat" path saved and located? before I use command to extract it, upload it.
http://www.appveyor.com/docs/environment-variables
Support Staff 11 Posted by Feodor Fitsner on Aug 06, 2015 @ 04:20 AM
There is
$artifacts
hashtable in PowerShell context: http://www.appveyor.com/docs/packaging-artifacts#getting-informatio...You can take the first artifact's path as the following:
Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 01:58 AM.