how to escape “@” in the username when logging in through FTPES with curl?

Posted by user62367 on Super User See other posts from Super User or by user62367
Published on 2011-01-11T09:54:20Z Indexed on 2011/01/11 10:56 UTC
Read the original article Hit count: 556

Filed under:
|

$ curl -T "index.html" -k --ftp-ssl -u "[email protected]" MYDOMAIN.COM Enter host password for user '[email protected]':

 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0 57173    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL /index.html.</p>
<hr>
<address>Apache/2.2.16 Server at MYDOMAIN.COM Port 80</address>
</body></html>
100 57480  100   307  100 57173    284  52902  0:00:01  0:00:01 --:--:-- 53633

can someone help me?

Also posted on Stack Overflow

© Super User or respective owner

Related posts about curl

Related posts about openwrt