8000
add log level
swap upload and download
fix windows compilation
fixed mysql config
use bufio
test file