curl-users
Re: "FTPS with TLS for connection" vs "FTPS with TLS for connection/data"
Date: Thu, 1 Feb 2007 23:01:14 +0100 (CET)
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.htmlReceived on 2007-02-01