C# uploading files to IIS server with FTP
- by Blottt
I'm trying to upload an website to an online server programmaticly via C# and using FTP.
example
C:\website\wwwroot
to
"ftp://ftp.host.com/website/wwwroot"
When I do this, the wesbite says "You do not have permission to view this directory or page."
And if I just replaced the webconfig via FileZilla manually , the site starts working.
I'm using the edtftp library for .NET
Any ideas of whats going on ?