FTP connection error

This is a discussion on FTP connection error within the Windows Programming forums, part of the Platform Specific Boards category; Hi, This is what I'm tryign to do: Code: CInternetSession isession; CFtpConnection* pConnect; pConnect = isession.GetFtpConnection(_T("ftp.microsoft.com")); But I get an ...

  1. #1
    Registered User
    Join Date
    May 2005
    Location
    Toronto, Canada
    Posts
    257

    FTP connection error

    Hi,

    This is what I'm tryign to do:
    Code:
    	CInternetSession isession;
    
    	CFtpConnection* pConnect;
    
    	pConnect = isession.GetFtpConnection(_T("ftp.microsoft.com"));
    But I get an error that the Connection with the Server was Reset at run-time. I'm just using this to test the functionality of my code. Does anyone know whta the error means?

    Thanks in advance.
    Everything is relative...

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Make sure you pass in the correct port and login/password.

    Kuphryn

  3. #3
    Registered User
    Join Date
    May 2005
    Location
    Toronto, Canada
    Posts
    257
    there is no password required, this directly from an example. I used a different server to test the program, anyway. Thanks though.
    Everything is relative...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Testing some code, lots of errors...
    By Sparrowhawk in forum C Programming
    Replies: 48
    Last Post: 12-15-2008, 04:09 AM
  2. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 02:01 AM
  3. Getting other processes class names
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2008, 05:02 PM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  5. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-30-2005, 12:21 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21