copy all files from folder to server scp code example Example: scp all files in directory scp -r myfoldername [email protected]:/home/myfoldername