Deploy in ftps mode
Hi,
I deploy my application on my Azure server using the FTPS deployment mode.
However, I realize that during the deployment, my old files are still in the destination directory.
My question is, how can I proceed so that before launching my deployment, my destination folder on my server be deleted?
Thanks
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 13 Jul, 2020 06:35 PM
Hello,
Current FTPS implementation in AppVeyor doesn't support old files removal.
You can use AppVeyor Deployment Agent which supports full sync.
If FTPS is the only option to deploy to that server then you can use WinSCP which can do full "sync" of local/remote folders and much more.
The general algorithm for using WinSCP in a build script:
where FTP_USER and FTP_PSW are secure environment variables defined on either project settings UI or in appveyor.yml.
Feodor Fitsner closed this discussion on 12 Sep, 2020 09:03 PM.