Clear FTP folder before deploy
Hi,
The FTP deploy works, but I want to clear the remote FTP folder
before the deploy, in order to not have unwanted old file in my
website.
Is it possible through AppVeyor settings or should I use powershell
to do that?
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 29 Oct, 2015 11:49 PM
Hi Jeremie,
Current FTP deployment provider doesn't have built-in functionality for cleaning the folder before deployment.
2 Posted by Jérémie Bertran... on 01 Nov, 2015 08:12 AM
Thanks for the answer.
For those who needs a similar functionality I've made a powershell script: https://gist.github.com/laedit/cce3b663c7423367ca22
Support Staff 3 Posted by Feodor Fitsner on 01 Nov, 2015 03:46 PM
Nice solution - thanks for sharing it!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 AM.