http followed by ftp

I am trying to make an http POST request followed by an ftp GET request 
to the same host.  However, the second request always returns an ERROR 
(-1) status, regardless of what order I request them in.  It seems to 
have something to do with the DNS cache, but I've tried using 
HTDNS_delete functions between calls, and nothing seems to help.  Does 
anyone have any ideas?
			Darren Schack