当前位置:网站首页>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边栏推荐
- Research Report on the overall scale, major manufacturers, major regions, products and application segmentation of power management units in the global market in 2022
- Accounting regulations and professional ethics [16]
- Research Report on the overall scale, major manufacturers, major regions, products and applications of capacitive voltage transformers in the global market in 2022
- BitSet complement
- Sweet talk generator, regular greeting email machine... Open source programmers pay too much for this Valentine's day
- When Valentine's Day falls on Monday
- Write the content into the picture with type or echo and view it with WinHex
- Huawei Hongmeng watch achieves fireworks display effect on New Year's Eve
- Construction and maintenance of business website [5]
- 在券商账户上买基金安全吗?哪里可以买基金
猜你喜欢
5 environment construction spark on yarn
Friends who firmly believe that human memory is stored in macromolecular substances, please take a look
[dynamic planning] p1220: interval DP: turn off the street lights
One week dynamics of dragon lizard community | 2.07-2.13
Spend more time with your computer on this special holiday, HHH
Go language learning summary (5) -- Summary of go learning notes
In depth research and investment feasibility report of global and Chinese isolator industry, 2022-2028
kernel tty_ struct
How does esrally perform simple custom performance tests?
[question brushing diary] classic questions of dynamic planning
随机推荐
Research Report on the overall scale, major manufacturers, major regions, products and application segmentation of precoated metallic coatings in the global market in 2022
Welfare | Pu Aries | liv heart co branded Plush surrounding new products are on the market!
AES encryption CBC mode pkcs7padding filling Base64 encoding key 32byte iv16byte
Web3js method to obtain account information and balance
Research Report on plastic antioxidant industry - market status analysis and development prospect forecast
JDBC | Chapter 4: transaction commit and rollback
26 FPS video super-resolution model DAP! Output 720p Video Online
Go web programming practice (2) -- process control statement
Internal/validators js:124 throw new ERR_ INVALID_ ARG_ Type (name, 'string', value) -- solution
Roommate, a king of time, I took care of the C language structure memory alignment
Research Report on market supply and demand and strategy of Chinese garden equipment industry
Accounting regulations and professional ethics [17]
Interested parties add me for private chat
What is the difference between programming in real work and that in school?
Hot backup routing protocol (HSRP)
Makefile: usage of control functions (error, warning, info)
Cloud computing technology [1]
Unexpectedly, there are such sand sculpture code comments! I laughed
Plastic granule Industry Research Report - market status analysis and development prospect forecast
[kubernetes series] comparison of space and memory usage before and after kubedm reset initialization