curl-users
Re: using SFTP and NAT
Date: Wed, 26 Jan 2005 12:39:45 -0500
> I think you're looking for the --ftp-port command:
>
> -P/--ftp-port <address> Use PORT with address instead of PASV (F)
>
> Specify your client-side public IP address in place of "<address>" and
> see what happens.
No matter what I use for option -P, the output is always the same.
When I try the -P 204.152.189.116 I will get
> PORT <private ip>,142,247
< 504 Invalid PORT address
Try again
> PORT <private ip>,142,249
< 504 Invalid PORT address
Try again
> PORT <private ip>,142,251
< 504 Invalid PORT address
When I try -P 1
> PORT <private ip>,142,253
< 504 Invalid PORT address
and again
> PORT <private ip>,142,255
< 504 Invalid PORT address
It seems that option has zero effect on the PORT command.
-Steve More
Received on 2005-01-26