cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Problem with ftp upload in curl PHP with sub ftp account

From: Stephen Pynenburg <spynenburg_at_gmail.com>
Date: Sat, 4 Jul 2009 18:04:26 -0400

Presumably, this is a conflict between the @ delimiter in the email address
and that of the URL. To avoid this, I would suggest trying:
curl_setopt($ch, CURLOPT_URL, "ftp://ftp.mydomain.net/");
curl_setopt($ch, CURLOPT_USERPWD, "myname_at_mydomain.com:mypassword");

-Stephen

On Sat, Jul 4, 2009 at 11:28, Muhammad Moeen uddin <getmoeen_at_gmail.com>wrote:

> Hi all,
>
> I m using a sub ftp account which is working, via filezila. the username i
> have in that is like myname_at_mydomain.net So when i set option like
>
> {F T P }
> myname_at_mydomain:pw_at_ftp.mydomain.net/uplodadir/'.$_FILES['upload']['name'<myname_at_mydomain:pw_at_ftp.mydomain.net/uplodadir/%27.$_FILES%5B%27upload%27%5D%5B%27name%27>
> ]);
>
> It gives error. Please Guide me to some Error Log for the responces or help
> me in this regard.
>
> Execuse me, if i m mailing to irrelevant mainlinglist or topic, or if not
> following, your mailing ethics.
>
>
> Regards,
>
>
> M Moeen
>
>
>
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2009-07-05