replaced listdir() with one line code  in test_upload_dirall()
fixed some typos
fixed delimiter
added upload_file_ssk() to allow upload by server-side key
review by shenjie1