curl-users
Re: Bind to a specific source port?
From: Doug McNutt <douglist_at_macnauchtan.com>
Date: Fri, 19 Aug 2005 09:02:05 -0600
Date: Fri, 19 Aug 2005 09:02:05 -0600
At 10:08 +0200 8/19/05, Daniel Stenberg wrote:
>On Thu, 18 Aug 2005, Khoa Nguyen wrote:
>>I would like cURL to bind to a specific source port. The command line doesn't seem to have an option for source port.
>
>Neither does the library. You can make it bind the local connection end to a specific IP address, but that's it.
Does that explain why I wasn't able to upload to a correspondent's ftp area with a command line like this?
curl ftp://name:password@ftp.user.domain:1234 -T myfile
I really thought at the time that the problem was on the other end and, after opening up ports that curl seemed to want that way for PASV, I handled the transfer via my own ftp site. Now I wonder. . .
-- --> From the U S of A, the only socialist country that refuses to admit it. <--Received on 2005-08-19