cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: connecting to ftps with certificate?

From: Lukasz Szybalski <szybalski_at_gmail.com>
Date: Mon, 16 Jun 2008 11:23:48 -0500

On Mon, Jun 16, 2008 at 10:48 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Mon, 16 Jun 2008, Lukasz Szybalski wrote:
>
>>> I would like to execute this on ftp server "cd folder/#E2"
>>
>> Any idea on above? I really need to be able to execute "cd #E2" I tried
>> putting it into url but that doesn't work for that ftp server.
>
> What do you mean with "that doesn't work" ?

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"

CWD #E2
< 550 Invalid directory.
* Server denied you to change to the given directory

So is there a way for me to send "cd #E2" as some kind inline command
before upload starts?

Lucas
Received on 2008-06-16