moonscp function now transfers files both ways