cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTPS command order

From: Sachin Sisodia <sachin.sisodia_at_gmail.com>
Date: Fri, 2 Feb 2007 17:08:22 +0800

 Hi Daniel,
Thanks for your response.

we are putting file through the below curl command:

----------------------------------------------------------------------------------------

curl -E RANG00001-CC.pem --key RANG00001-CC-KEY.pem -k -v --connect-timeout
300 -T file_3MB.txt -P 10.172.30.90 --ftp-ssl
ftp://10.171.44.97:8003/ns/DbDCTransportFTPS/putPlainFile/BMWEBILLSUNEDIFACTPAYMUL

----------------------------------------------------------------------------------------------------------

Here we are giving only digital certificate and key for FTPS posting and
there is no USER/PASS.

Still my question is that which one is the best FTPS command and why:
<ftp://10.171.44.97:8003/ns/DbDCTransportFTPS/putPlainFile/BMWEBILLSUNEDIFACTPAYMUL>

   1. AUTH TLS, USER, PASS, PBSZ,PROT
   2. AUTH TLS, PBSZ,PROT, USER, PASS
   3. USER ,AUTH TLS, PBSZ,PROT, PASS
   4. USER, AUTH TLS, PASS ,PBSZ,PROT
   5. AUTH TLS, USER ,PBSZ,PROT, PASS
   6. USER, PASS ,AUTH TLS, PBSZ,PROT

Thanks in advance.

Regards
Sachin

On 2/2/07, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Fri, 2 Feb 2007, Sachin Sisodia wrote:
>
> > Can anyone tell me the exact FTPS command for secure server logon:
>
> curl -v will
>
> > As we always expecting client certificate so I believe USER/PASS is not
> > required. Is option 1 and 2 is ok. Which one is better?
>
> You mean you actually use a server that won't require USER? I've never
> seen
> such a one and I don't think curl will work without giving the user name.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2007-02-02