Psftp usage, psftp
Start PSFTP
Enter
Set PATH = C: \ PSFTP.exe PATH; % PATH %
Then, use psftp to log on to the server.
Ps ftp username@server.example.com
You can also run psftp.exe directly and the following message appears in the command prompt:
Psftp: no hostname specified; use "openhost. name" to connect
Psftp>
Use the open command to log on to the server.
Open username@server.example.com
2 PSFTP
2.1 use double quotation marks when the file name contains spaces
For example, "space name.txt"
2.2 use wildcards
* Replace any string
? Replace one letter
[Abc] replace a letter in the range of a B c
[A-z] replace a letter in the range a to z
[^ Abc] replace a letter, excluding a bcmatches a single character that is not a, B, or c.
[-A] indicates the connection number (-)
[A ^] represents the delimiters (^)
\ Put it before all the wildcards above to cancel its (wildcard) Meaning
(Folder names do not support wildcards)
2.3 open, quit, close, help command
You can know their functions by name. Quit is used to close PSFTP (bey and exit are the same as quit), and close is used to cut off the connection but does not close PSFTP.
2.4 cd, pwd, LCD, lpwd command
You already know what cd and pwd do. They work on remote servers. LCD and lpwd are added with Local before cd and pwd, that is, the path change and display path of the Local machine. You can also use it! Cd ,! Pwd to implement LCD and lpwd.
2.5 get and put commands
Get and put, pictogram command :), indicates download and upload.
Get something.txt
Get something.txt another.txt
The first line of the authorization code downloads something.txt, and the second line downloads something.txt, and renames it another.txt. Upload and so on
Put something.txt
Put something.txt another.txt
If you are downloading the upload folder and adding the recursive symbol-r
Get-r mydir newname
Put-r mydir newname
You can directly enter the absolute path of the file or folder to download and upload, so you don't need to play cd or LCD commands.
2.6 mget, mput, reget, reput command
It can be understood as Multiple get and Multiple put, which are used to download or upload Multiple files and folders at a time. Except for files or folders that cannot be renamed, other parameters are the same as get and put.
Re is short for resume, so they are the resume command.
2.7 dir, del, mkdir rmdir command
Dir is ls; del is rm, but folders cannot be deleted; mkdir is the original meaning (creating folders); rmdir is to delete folders (some servers cannot delete non-empty folders, delete the files ).
2.8 chmod command
Its u, g, o, a, +,-, r, w, and x parameters have the following meanings:
U (the owning user) Document owner
Members of g (members of the owning group)
O (everybody else-'others ') other people
A ('all', everyone) all
+ Add (Authorize)
-Minus (deprivation)
R (permission to read the file) read
W (permission to write to the file) write
X (permission to execute the file) Run
Chmod go-rwx, u + w privatefile
The meaning of the above Code is to deprive the group members and anyone else of the read and write permissions, and grant the file owner the write permission (that is, the private document)
Chmod a + r public *
The meaning of the code above grants everyone the read permission (that is, to make public)
You can use the permission numeric code directly.
Chmod 640 groupfile1 groupfile2
2.9 mv command
If you use mv to change the name of a file or folder, you can also use the ren and rename commands.
2.10! Command
Add an exclamation point before the preceding command !, Operate on the local machine.
How to use binary commands to upload files through psftp,
Psftp PSFTP is a PuTTY SFTP client used to securely transfer files between local and server (using SSH connection ).
1. Start PSFTP
Enter
Set PATH = C: \ PSFTP.exe PATH; % PATH %
Then, use psftp to log on to the server.
Ps ftp username@server.example.com
You can also run psftp.exe directly and the following message appears in the command prompt:
Psftp: no hostname specified; use "open host. name" to connect
Psftp>
Use the open command to log on to the server.
Open username@server.example.com
2. PSFTP
2.1 use double quotation marks when the file name contains spaces
For example, "space name.txt"
2.2 use wildcards
* Replace any string
? Replace one letter
[Abc] replace a letter in the range of a B c
[A-z] replace a letter in the range a to z
[^ Abc] replace a letter, excluding a B cmatches a single character that is not a, B, or c.
[-A] indicates the connection number (-)
[A ^] represents the delimiters (^)
\ Put it before all the wildcards above to cancel its (wildcard) Meaning
(Folder names do not support wildcards)
2.3 open, quit, close, help command
You can know their functions by name. Quit is used to close PSFTP (bey and exit are the same as quit), and close is used to cut off the connection but does not close PSFTP.
2.4 cd, pwd, LCD, lpwd command
You already know what cd and pwd do. They work on remote servers. LCD and lpwd are added with Local before cd and pwd, that is, the path change and display path of the Local machine. You can also use it! Cd ,! Pwd to implement LCD and lpwd.
2.5 get and put commands
Get and put, pictogram command :), indicates download and upload.
Get something.txt
Get something.txt another.txt
The first line of the authorization code downloads something.txt, and the second line downloads something.txt, and renames it another.txt. Upload and so on
Put something.txt
Put something.txt another.txt
If you are downloading the upload folder and adding the recursive symbol-r
Get-r mydir newname
Put-r mydir newname
You can directly enter the absolute path of the file or folder to download and upload, so you don't need to play cd or LCD commands.
2.6 mget, mput, reget, reput command
It can be understood as Multiple get and Multiple put, which are used to download or upload Multiple files and folders at a time. Except for files or folders that cannot be renamed, other parameters are the same as get and put.
Re is short for resume, so they are the resume command.
2.7 dir, del, mkdir rmdir command
Dir is ls; del is rm, but folders cannot be deleted; mkdir is the original meaning (creating folders); rmdir is to delete folders (some servers cannot delete non-empty folders, delete the files ).
2.8 chmod command
Its Parameter u, g, o, a, +,... the remaining full text>
Ps3 ftp usage
Use FLASHFXP.
Method: Use a network cable to connect the PS3 to the computer. In the PS3 menu ------ settings ------ host settings ------ check whether there is any IP in the system information. If there is any IP address, write it down (normally there will be one ). After obtaining the IP address, go back to the computer and open the local connection of the network neighbor. Right-click the attribute. The first three IP addresses obtained from the internet Protocol on the PS3 are entered here. The last digit is 1. It must be different from PS3. Open the PS3 FTP Server. Go back to your computer. Open FLASHFXP and press the lightning icon in the upper-right corner to enter the IP address on the PS3 into the port. The default port is 21 and then click Connect. No user name or password is required. After the connection, the hard drive folder of the PS3 host is displayed on the right and your computer is displayed on the left. Copy in and out as you like.