curl-users
Re: connecting to ftps with certificate?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 16 Jun 2008 19:37:25 +0200 (CEST)
Date: Mon, 16 Jun 2008 19:37:25 +0200 (CEST)
On Mon, 16 Jun 2008, Lukasz Szybalski wrote:
> curl -E certkey.pem -k -v -u user:pass
> "ftp://usa.ftptls.edisrvcs.com/XXXX.YYYY/#E2/" --ftp-ssl -T
> testfile.txt
>
> Because they are somehow doing translation from ftp commands to edi
> commands.
>
> Curl currently sends cwd #E2, and I think the servers needs "cd #E2"
I think you perhaps want it to do "CWD /#E2", with the slash and you can make
it with:
That is a double slash after the hostname. "cd" is not an FTP command.
-- / daniel.haxx.seReceived on 2008-06-16