当前位置:网站首页>The web version of xshell supports FTP connection and SFTP connection [detailed tutorial] continued from the previous article
The web version of xshell supports FTP connection and SFTP connection [detailed tutorial] continued from the previous article
2022-07-02 21:28:00 【java. lang.utils】
Web version of Xshell
Project address :
Demo address Click to jump
Web version Xshell Open source address
Tutorial address
Project introduction
The platform is similar to the web version Xshell, be based on cookie and json The way to store login information without database is more convenient and compatible with the use of each user , Support SFTP and FTP Two ways to log in , Break the old way of displaying command line and file name in black end , With div Show the document diagram in the way of , Support command input , Error output At present, the code has been open source ,, The code specification supports the open close principle , You can add new connections such as SSH LOCAL etc. There are... In the current code ssh Code connection example , You can improve it on its original basis
- First we can see the home page

- Click on the configuration list , Configure login information

- Click Add

- Fill in login information

- In the list, we can click login

- After logging in

- Double click to enter the folder , Click to preview the file


- When we right-click on the file, we can display the menu item , Folder does not support right clicking , Only right clicking on files is supported , See the meaning of the name for menu operation

- We can click to view the command


- Create a folder to play with

- enter

- Delete ()


- Be careful :rmrf The command is a security command , He doesn't look like rm -rf, If there is a file under the current file , The deletion fails , As shown in the figure below , After an exception is reported , It will prompt the exception

- eliminate


- cd command

- You can do that

- however cd Command not supported …/ Go back to the previous level , So in order to make up for this defect , Add a button to add a command , Add the current path as a clickable button

- After returning , Next time we can directly click this button to jump to the current path , By default, it is displayed in the navigation bar of the home page , We can add btnPath -b This is displayed in the button layer

- Show button layer

- There is no change ?

- No ! We can click the button to manage , It will show up here

- Pictured , You can delete , Or go straight into

- Click the path tab to enter , This function is similar to cd But it requires you to enter the full path name

- After clicking , We can enter the path , Just press enter

- Back to the front page , We can see that we have two buttons , export json, And import json, It can export or import the current data

- We can see that there is a slider button in the head , This is actually the storage method , By default, the current login data and the data of your save button will be saved in your cookie in , Click to switch , Will read the path of your desktop and create a folder , Save the login data and button data in this folder , Just read it directly next time , Of course it's a little invasive , But in order to reduce cookie Designed for the pressure of , When this system was just designed, it did not consider using database to save user data , For privacy, security and convenience , Of course, some functions of the project have not been demonstrated yet , You can explore it slowly
an account of happenings after the event being told
Thank you for reading this article , Waste your precious time , This project aims to exchange and learn , If you think the current project is innovative and interesting, or you have any suggestions or opinions , You can comment directly in the comment area边栏推荐
- 在券商账户上买基金安全吗?哪里可以买基金
- kernel_ uaf
- Select function
- Research Report on the overall scale, major manufacturers, major regions, products and applications of metal oxide arresters in the global market in 2022
- Welfare, let me introduce you to someone
- Go web programming practice (1) -- basic syntax of go language
- Plastic floating dock Industry Research Report - market status analysis and development prospect forecast
- Codeworks global round 19 (CF 1637) a ~ e problem solution
- Construction and maintenance of business website [5]
- Research Report on minimally invasive medical robot industry - market status analysis and development prospect prediction
猜你喜欢

I did a craniotomy experiment: talk about macromolecule coding theory and Lao Wang's fallacy from corpus callosum and frontal leukotomy

kernel tty_ struct

Add two numbers of leetcode

26 FPS video super-resolution model DAP! Output 720p Video Online
![[fluent] dart technique (independent main function entry | nullable type determination | default value setting)](/img/cc/3e4ff5cb2237c0f2007c61db1c346d.jpg)
[fluent] dart technique (independent main function entry | nullable type determination | default value setting)

Customized Huawei hg8546m restores Huawei's original interface

Roommate, a king of time, I took care of the C language structure memory alignment

Redis sentinel cluster working principle and architecture deployment # yyds dry goods inventory #
![[CV] Wu Enda machine learning course notes | Chapter 12](/img/c8/9127683b6c101db963edf752ffda86.jpg)
[CV] Wu Enda machine learning course notes | Chapter 12

One week dynamics of dragon lizard community | 2.07-2.13
随机推荐
Analyze comp-206 advanced UNIX utils
[fluent] dart technique (independent main function entry | nullable type determination | default value setting)
Construction and maintenance of business website [5]
Want to ask, is there any discount for opening an account now? Is it safe to open an account online?
Accounting regulations and professional ethics [18]
When Valentine's Day falls on Monday
Activation function - relu vs sigmoid
Record the problems encountered by nodejs asynchronism
Interested parties add me for private chat
Market trend report, technical dynamic innovation and market forecast of China's low gloss instrument
3DES (deSede) encryption CBC mode pkcs7padding filling Base64 encoding key 24byte iv8byte
Investment strategy analysis of China's electronic information manufacturing industry and forecast report on the demand outlook of the 14th five year plan 2022-2028 Edition
rwctf2022_ QLaaS
26 FPS video super-resolution model DAP! Output 720p Video Online
China plastic box market trend report, technological innovation and market forecast
[shutter] shutter layout component (Introduction to layout component | row component | column component | sizedbox component | clipoval component)
Get weekday / day of week for datetime column of dataframe - get weekday / day of week for datetime column of dataframe
Research Report on market supply and demand and strategy of China's atomic spectrometer industry
Detailed upgrade process of AWS eks
Research Report on market supply and demand and strategy of China's Plastic Geogrid industry