# Error transferring file Copying files to remote side failed

DomBurf
Joined:
Posts:
3
Location:
UK

## Error transferring file Copying files to remote side failed

I'm automating an upload of our web site from our local build server to our Azure remote hosting. I'm using the following commands to do this.
option batch abort
option confirm off
option transfer binary
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?

martin
Joined:
Posts:
35,402
Location:
Prague, Czechia

## Re: Error transferring file Copying files to remote side failed

A log file from FileZilla for a comparison would be helpful too.

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

DomBurf
I've just tried this again and it's now working. Let me test again on Monday just to be sure that there's actually a problem and update accordingly.

You can post new topics in this forum