I tested today (2014-10-30) the version created by "git clone" and the zip 0.012-version.
I created the ~/.megacmd.json via copy and paste from your examples. Replaced user and password by the correct values and tried a:
megacmd list mega:/mydirectory/
and got "Login failed, Please verify username or password"
I checked my credentials three times. I took a mail address and password consisting only of lower and upper case letters and numbers - so no special characters could "hurt". Password lenght only 12 characters - not too long I hope...
Next I tried the test method:
I set the MEGA_USER and MEGA_PASSWD variables and ran "make test":
./tests/run_tests.sh
Setting up test env
My platforms are (uname -all):
Linux myserver 3.2.0-4-kirkwood #1 Debian 3.2.51-1 armv5tel GNU/Linux
and
Linux myserver2 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2 i686 GNU/Linux
edit:
Maybe there is a change in the syntax of the entire mega-service??
I tested today (2014-10-30) the version created by "git clone" and the zip 0.012-version. I created the ~/.megacmd.json via copy and paste from your examples. Replaced user and password by the correct values and tried a: megacmd list mega:/mydirectory/ and got "Login failed, Please verify username or password" I checked my credentials three times. I took a mail address and password consisting only of lower and upper case letters and numbers - so no special characters could "hurt". Password lenght only 12 characters - not too long I hope...
Next I tried the test method: I set the MEGA_USER and MEGA_PASSWD variables and ran "make test": ./tests/run_tests.sh Setting up test env
EXECUTING TEST t_delete.sh
Executing run ../megacmd -conf=t.json -verbose=0 mkdir mega:/testing/dir1/dir2 ./t_delete.sh:7 FAIL: Executing failed Login failed, Please verify username or password make: *\ [test] Error 1
My platforms are (uname -all): Linux myserver 3.2.0-4-kirkwood #1 Debian 3.2.51-1 armv5tel GNU/Linux and Linux myserver2 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2 i686 GNU/Linux
edit: Maybe there is a change in the syntax of the entire mega-service??