cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: "FTPS with TLS for connection" vs "FTPS with TLS for connection/data"

From: Sachin Sisodia <sachin.sisodia_at_gmail.com>
Date: Fri, 2 Feb 2007 10:21:23 +0800

Hi Daniel,
Thanks for your valuable response. You have saved me again :)

Regards
Sachin

On 2/2/07, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Thu, 1 Feb 2007, Sachin Sisodia wrote:
>
> > I have some queries on FTPS :
> >
> > 1. Is there any way where we can encrypt data session through Curl.
>
> Yes, with FTPS!
>
> > 2. Is curl support control session encryption by default?
>
> Yes.
>
> > 3. As our client is interacting through FTPS so control session is
> always
> > encrypted (Please correct me if I am wrong). How can we test the same
> > through curl command.
>
> --ftp-ssl
>
> > 4. But some of clients are sending either encrypted file or un-encrypted
> > files. So for those clients who are not sending encrypted data to our
> > environment, we have to encrypt data session. How to do this?
>
> --ftp-ssl
>
> > 5. Can we use data session encryption for every client irrespective of
> > whether they are sending encrypted or un-encrypted files?
>
> Yes
>
> > is there any cons for the same.
>
> Well, you encrypt stuff an extra time when in fact it isn't needed. You
> waste
> CPU time/resources. But on the other hand, it is probably much more
> complicated to not do it for those cases.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2007-02-02