Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.

Interfacing at PASV/PORT level

no avatar
User

gbw

Posts

36

Joined

Mon Oct 06, 2008 7:14 pm

Interfacing at PASV/PORT level

by gbw » Sat Apr 04, 2009 12:07 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Interfacing at PASV/PORT level

by support2 » Sat Apr 04, 2009 9:37 am

no avatar
User

gbw

Posts

36

Joined

Mon Oct 06, 2008 7:14 pm

by gbw » Mon Apr 06, 2009 9:44 pm

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Mon Apr 06, 2009 11:01 pm

no avatar
User

gbw

Posts

36

Joined

Mon Oct 06, 2008 7:14 pm

by gbw » Tue Apr 07, 2009 12:52 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Tue Apr 07, 2009 12:29 pm

send an email to support at enterprisedt dot com for a build that allows you to do this
no avatar
User

gbw

Posts

36

Joined

Mon Oct 06, 2008 7:14 pm

by gbw » Thu Apr 16, 2009 1:24 am

no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Thu Apr 16, 2009 9:41 am

no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Thu Apr 16, 2009 9:53 am

no avatar
User

gbw

Posts

36

Joined

Mon Oct 06, 2008 7:14 pm

by gbw » Thu Apr 16, 2009 5:49 pm

public interface DataChannelCallback {
public IPEndpoint onPASVResponse(IPEndpoint endpoint);
public IPEndpoint onPORTCommand(IPEndpoint endpoint);
}

The onPORTCommand(IPEndpoint endpoint) will only deliver the IP and port it will use for the data channel.
At this point, I thought that the ServerSocket has not been created yet, which is not correct. I just wanted to make sure that the ServerSocket has been created before the client delivers us the IP/Port.
So everything is fine. These two methods work fine.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Thu Apr 16, 2009 7:08 pm

Yes, the socket is already created - this just permits you to modify the IP address and port number that is sent to the server.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

by support2 » Fri Apr 17, 2009 3:50 pm

Now released.

Who is online

Users browsing this forum: No registered users and 18 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign