Linux local files are uploaded to the server
SCP/home/liujia/file. TXT [email protected]:1/user/liujia
Download the file from the server
[email protected]:/user/liujia/file1. TXT/home/liujia
The command
SCP [email protected]:/user/liujia// home/liujia
Cp not a regular file
The reason is that this is the equivalent of downloading folders, not files.
The solution is to add the parameter -r
SCP – r [email protected]:/user/liujia// home/liujia font>
That’s it
Read More:
- Linux remote copy command and not a regular file solution
- [Linux] solution: SCP different server copy file prompt permission denied, please try again
- Regular expressions filter special characters
- Regular error in UDF java.lang.stackoverflowerror
- Java uses regular expressions to intercept the contents between specified strings
- Regular view interface consumes more than 4 digits
- Java regular matching returns all matches
- TFTP: server says: file not found solution
- Error encountered during QT + opencv compilation: file not recognized: file format not recognized error resolution
- FTP prompt in Linux — 553 could not create file (absolutely useful)
- Pandas read the CSV file error filenotf oundError:File b ‘***.csv’ does not exist
- [Solved] FTP Error: 553 Could not create file
- Panda was unable to open the. Xlsx file, xlrd.biffh.XLRDError : Excel xlsx file; not supported
- Jstack command execution error: unable to open socket file: target process not responding or hotspot VM not loaded
- Arduino reports an error when writing a custom library file to solve the problem of not name of type, not declared in this scope
- File contains no section headers. File: File: / / etc/ yum.repos .d/
- Error in header file when calling OpenGL to open obj file in vs2013: unable to open include file: “GL / glut. H”: no such file or directories
- Error: path not specified when the docker 1.7 file is uploaded to the container in CentOS
- python reads csv file is an error _csv.Error: iterator should return strings, not bytes (did you open the file in text)