curl-and-php
RE: Problem with ftp upload in curl PHP with sub ftp account
Date: Sun, 5 Jul 2009 10:11:48 +0800
Hi Moeen,
Try replacing the @ in the username with %40 (urlencoded @), like this:
ftp://user123%40example.com:pa55word@ftp.example.com/upload/etcetcetc
With regards,
Liu Shan Shui
me_at_lx.sg
"Life would be much easier if I had the source code." - Anonymous
From: curl-and-php-bounces_at_cool.haxx.se
[mailto:curl-and-php-bounces_at_cool.haxx.se] On Behalf Of Muhammad Moeen uddin
Sent: Saturday, July 04, 2009 11:28 PM
To: curl-and-php_at_cool.haxx.se
Subject: Problem with ftp upload in curl PHP with sub ftp account
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'
<mailto:myname_at_mydomain:pw_at_ftp.mydomain.net/uplodadir/'.$_FILES%5b'upload'%5
d%5b'name'> ]);
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
Received on 2009-07-05