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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP session problem

Status
Not open for further replies.

Kirilla

Programmer
Jul 12, 2000
101
HU
Hi.

I'd like to create an FTP session application. I tried the sun.net.ftp
package, but it doesn't work, when the FTP server used 2009 port. I didn't
find, how can I set the passive mode. Does anybody know how could I do an
application, which use the 2009 port insted of 21 and use passive mode. I
found a description about wininet.dll but I couldn't wrapp it. I'd like to
make a session, which can connect to the similar ftp address:

ftp://UserName:password@55.55.55.55:2009/myFolder (passive mode)

thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top