Fix download add x_sendfile, action parameter
Fix upload bug
Fix upload