working but not for directories
send & recv file working