option batch abort option confirm off option transfer binary open ftp://myusername:mypassword@domain/site/wwwroot cd /site/wwwroot ls synchronize remote -delete "E:\buildfolder" /site/wwwroot close exit
However I'm getting the following errors:
Error transferring file web.config. Copying files to remote side failed. Access is denied.
I have tried running my script from the build server command line and from the build itself and it fails for both. I can upload the files manually via Filezilla though. I would preder to make this a build task rather than a manual one. Any ideas?