Skip to content

xinwenir/pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

pi

1. Download files from server:

scp username@servername:/path/filename /var/www/local_dir (local directory)   

Example:

scp root@192.168.1.100:/var/www/text.txt /var/www/local_dir

2. Upload local files to server:

scp /path/filename username@servername:/path  

Example:

scp /var/www/text.php root@192.168.1.100:/var/www/server_dir (server directory)    

3. Download the entire directory from server:

scp -r lab321@172.21.243.181:/home/lab321/zxw/project/ (remote directory) /mnt/e/Users/xinwe/Desktop/Recent_file/GLFtest_V2_0 (local directory)

4. Upload the local entire director to server:

scp -r  /mnt/e/Users/xinwe/Desktop/Recent_file/GLFtest_V2_0 (local directory) lab321@172.21.243.181:/home/lab321/zxw/project/ (remote directory)

Send files to server:

test1:

scp -r  /mnt/e/Users/xinwe/Desktop/Recent_file/GLFtest_V2_0 lab321@172.21.243.181:/home/lab321/zxw/project/

test2:

scp -r  /mnt/d/Desktop/NCFOSMC_CTRL_V1 lab321@172.21.149.232:/home/lab321/zxw/project/

Request files from server:

test1:

scp -r lab321@172.21.243.181:/home/lab321/zxw/project/GLFtest_V2_0 /mnt/e/Users/xinwe/Desktop/Recent_file/

test2:

scp -r lab321@172.21.243.181:/home/lab321/zxw/project/SSM_Implement_test_V3_2_2_3 /mnt/e/Users/xinwe/Desktop/Recentfiles/Revised_Submitting_TCAS-I

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published