Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proper FTP Termination

Status
Not open for further replies.

reedswenson

Programmer
Joined
Apr 29, 2004
Messages
3
Location
US
I am writing a program that depends on ftp to transfer files to and from the application server. I have noticed that when I call InternetCloseHandle, the ftp (port 21) connection closes, however the data ports (20 if in active mode) do not close.

I have examined the communications between the client and server, and have noticed that a “bye” command is never issued.

Now here's the question. How do you issue a “bye” command to an FTP server thru an hInternet handle??

Any help would be great!!

Reed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top