I have password-protected a folder on my web server using CPanel (HTTP?). I am trying to upload a file via FTP in C#, but I keep getting this error:
The remote server returned an error: (553) File name not allowed.
When I use the same code to upload to a non-password protected folder I don't get any errors. There is nothing wrong with the file name as far as I can tell.
So what would the problem be? How do I supply credentials to the password-protected folder (not talking about the FTP credentials, because obviously those are authenticating properly if a 553 error code is being returned)?