Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
102k views
in .NET FTP by (1.7k points)
Hello,

Seems everytime, both ACTIVE and PASV, code generates a seemingly random port for which to do LS or GET/PUT.
As our firewall is locked down, using arbitrary ports in the mannor won't fly.
Looking @ the code, seems the port is determined by the remote server?

Can the code be forced to use a set of ports WITHOUT resorting to hardcoding? (BTW, tried to force code to use ports 20 and 21 for LS and it failed.)

Our shop is using Microsoft Proxy 2.0
My proxy group has a few questions regards protocol layers.

Layer 7: Application
Layer 6: Presentation
Layer 5: Session
Layer 4: Transport
Layer 3: Network
Layer 2: Data Link
Layer 1: Physical

I supplied the PROXY team with this line:
"Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);"
however they said they needed more information

Being new to this, not sure which are mine and which are used by the library. I suppose it goes without saying that layers 6 and 7 is my wrapper code.

If you can full in the gaps for the other layers, I'd be appreciative.
I'm using WINDOWS NT (4.00.1381)

Thanks!

23 Answers

0 votes
by (1.7k points)
Help.

Company is shutting the door on my new sofware library:(

I understand that FTP.EXE and EDTFTP are virtually the same regards ACTIVE transfers but there MUST be something different!

Could Framework 1.0 and 1.1 have any relevance?
0 votes
by (162k points)
Perhaps the machine you are connecting to is mulithomed and there is a DNS resolution problem or something like that.

Try using the IP address of one of the interfaces as the remote host rather than the hostname.

Help.

Company is shutting the door on my new sofware library:(

I understand that FTP.EXE and EDTFTP are virtually the same regards ACTIVE transfers but there MUST be something different!

Could Framework 1.0 and 1.1 have any relevance?
0 votes
by (162k points)
Ok, we *may* have a fix for this. I've emailed it to you at the address at E.M. you emailed us from. Please try it out.

Help.

Company is shutting the door on my new sofware library:(

I understand that FTP.EXE and EDTFTP are virtually the same regards ACTIVE transfers but there MUST be something different!

Could Framework 1.0 and 1.1 have any relevance?

Categories

...