I have created a FTP site in IIS where I configured a host header. I know that to connect to the FTP account I need to use "host|username" syntax, but that does not work in my case when I try to connect using FtpConnection methods in a software I developed.

Is there a way to just pass the user without the hostname?


Your issue has to do with how IIS handles incomming requests. You might want to take a look at: MSDN blog-post

simplest solution would be to run ftp on the 'default website' in IIS

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.