getting error while establishing FTP connection

  • Hi All,

    I am trying to create a FTP connection. this is what I did.

    1) In Visual Studio 2005, I dragged FTP task contol item to design panel.

    2) right click on FTP task, click on Edit

    3) In "FTPConnection" property, I selected new connection, then a window is popped up.

    4) i put the server name, leave port number as it is (21), In credential part, I leftg username as "Anonymous" and leave password as blank. I clicked on "test connection" button to test connection. then i got error saying :

    "Connection can not be established. Server name, port number, or credentials may be invalid."

    Any Idea ????

    Thx

    Joseph

  • Most Anon FTP servers require something (usually an email address) for the password.

    Try:

    USername: Annonymous

    Password: me@you.com

    You could also attempt to do this all from the command line to make sure it's not just your machine or somethign along those lines...

    Even Certain Anti Virus Products block outgoing connections on certain ports these days. Or Your Network folks may be restricting FTP to certain machines etc...

    To help us help you read this[/url]For better help with performance problems please read this[/url]

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply