Many people know that I have been working with BEGET.RU hosting for a long time and I recommend it to everyone. Today I saw that a drawing was being held on my favorite hosting, the main condition of which was to recommend the hosting service by writing an article in the blog. Therefore, I decided to talk about the file manager developed by the Beget company.

First, a little help. Beget LLC is a Russian hosting company. The servers are with us. Previously, it was only St. Petersburg, now, as far as I know, the geography is expanded. Hosting MODX works great and the prices will please many. Moreover, the first month of using any tariff is absolutely free.

Those who are already interested in my recommendation can follow the referral link and register: https://beget.ru/?id=12867 (yes, yes, the referral system works - up to 40% of each payment for referrals is transferred to the inviter during the entire period of cooperation).

In the meantime, I'll tell you about the file manager.

Initially, the file manager was available only to hosting clients, but now it is a separate service and anyone can install it on their server.

The file manager is pretty nice. It has two panels, and Drug & Drop also works - you can drag files from one panel to another

Those familiar with MC or FAR, or Total Commander will figure it out at a glance. File management is intuitive. The context menu works by clicking the right mouse button.

The manager allows you to unpack and pack archives, so installing, for example, MODX is quite convenient - uploaded the archive and unpacked.

In addition, you can change file permissions and even edit them. By the way, guess which editor SPRUT.io provides?

This is our favorite ACE with autocompletion and customizable code highlighting! =))

These are not all the advantages of the SPRUT.io file manager. There is also an image viewer, the ability to connect an external FTP server, search by folders and files, multiple file uploads, etc.

All the chips are listed on the official website, there is also instructions for installing on your server.

SPRUT.io is an Open Source project, source code

Today we'll talk about hosting and why Beget this is the best choice.

Website development is a rather complicated and painstaking process. It absolutely does not matter what your site is for, be it an online store, a blog site, a social portal, in any case you need a high-quality and reliable hosting. One of the most popular hosting companies in the past few years has become Beget.

In fact, the question of choosing a hosting once arises before every webmaster, and since the competition here is simply wild, the choice is not so simple. I was always amazed at how similar all hosting providers are (well, no individuality). And just then I came across Beget. If you run a little ahead, then it is bright, not like everyone else, super convenient, very functional, relatively cheap, and most importantly, modern and rapidly gaining popularity hosting. So, about everything in order:

Website hosting

Hosting is a way of placing a website on the Internet. Once you have placed your site on the hosting, anyone can access it by typing Domain name in the browser bar.

Servers- powerful computers that work absolutely round the clock, which allows your site to remain working and visible on the Internet.

Naturally, for such a service, site owners have to pay rent. Hosting companies are organizations that provide hosting to users. Their users are people who need to post their own content.

Hosting Beget

Beget is considered the best paid hosting company. Affordable prices and user-friendly website management interface are the main advantages of Beget.

You can choose a package for any type of Internet resource. If you cannot decide which package you need, you just need to contact the administration, where they will answer all your questions.

Also, hosting is becoming easier and more convenient every day, that is, problems with managing a site on hosting from this operator there won't be any at all. Beget is a great option for anyone looking to start their own internet business.

Registration on Beget

We enter our melons:

  • phone number
  • email

We press the button to register an account and that's it. Next, you need to pay for the newly created account.

If you need a site that will not have a highly branched structure, then you can choose the cheapest hosting package. If you want to post much more information on your portal than the standard package allows you, then order VIP hosting. You will get priority support and 35 GB for your files. This is a very convenient service for those who want to create an internet market. Naturally, ordering VIP hosting costs much more.

It is also important that thanks to Beget you will be able to rent completely servers with all technical support and round-the-clock monitoring. Also, the hosting operator provides incredibly cheap domains for .РФ and .RU zones.

Payment for hosting Beget

There are also no problems with payment (although no one has any problems with this now). We choose any method convenient for us and pay.

What I really liked here was the random-sum fad. If you have any problems with money, then you can always top up your balance, which will last for a couple of days, for example, from your mobile phone.

There is a possibility of using The promised payment

Control Panel Run Hosting

In general, in general, you can figure it out in any interface. But after I came here using cPanel, ISP Manager and other PUs, I was pleasantly impressed that the runners did not follow the hackneyed path, but created their own control panel. And they succeeded quite well. The panel is easy to understand, has a nice design, convenient layout of elements. I will not consider each element separately. everything is like everyone else: databases, ftp access, domain parking, etc.

Free month of testing on Beget

Would you like to see how your site will perform on a real host, but don't want to pay to try? Then the service " free hosting"- what you need. You just need to register and you can start working.

This is very profitable service for test internet portals. Many webmasters use this option to launch their projects. Of course, such hosting is not serviced in the same way as its paid counterpart.

Hosting support

Judging by the reviews on the Internet, their support is very qualified and it is not limited to standard excuses like "reboot", but really helps to look for some problems. But my review will be the best. For a year of work with this hosting, I NEVER they didn’t need their help, and this is in my opinion the best indicator of the excellent performance of Beget.

If you have any questions about the operation of domains and servers, you can easily contact the consultants or the administration in absolutely any way convenient for you. All contact information is available on the official Beget website.

If you just want to open your own Internet portal, then you can discuss all questions directly by phone or by Email, ICQ, Skype. On the company's website, you can not only contact consultants, but also immediately order hosting. Everything is very fast and simple.

Beget advantages

Beget differs from all its competitors in that it tries to keep up with the times for a second and is modernizing and becoming more convenient every day.

One of the main advantages of this hosting company is convenient file manager, which will allow you to easily place files on the site and edit them. Also, this manager has an incredibly convenient code editor. Websites hosted by Beget are equipped with very fast and high quality automatic backups.

File manager on this hosting - this is the stumbling block because of which I fell in love with beget. It's so convenient that I completely forgot about using FileZilla and other similar programs. It also has its own individual intuitive design. Convenient file uploading directly from the manager, editing any file types.

The speed of copying files to local or remote servers is 1 Gb / s, which is incredibly convenient. It is imperative to say about the control panel, which is made as ergonomically as possible so that there are no difficulties in organizing the site.

The control panel is equipped with a service calculator that will allow you to keep track of how your money is spent. You can learn more about all other services provided by the hosting operator in the "Services" and "About the site" sections.

Promotions and great offers

Beget always cares about its customers, so by visiting the main resource of this hoster, you can always count on a variety of discounts, gift packages, additional domains, etc.

Anyone who has dealt with Beget at least once will never look for a new hosting operator again. The company guarantees:

  • reliable work;
  • quality service;
  • profitable offer;
  • pleasant prices.

Feel free to contact Beget consultants and ask about promotions, they will be happy to answer all your questions.

Brief conclusion

In the output, I want to highlight all the advantages of this hosting:

  • Very simple and reliable hosting.
  • convenient file manager
  • a large number of payment methods
  • modern interface
  • free ssl certificate for domains
  • good backup sites
  • Favorable prices coupled with discounts and promotions that allow you to save.
  • Kind administration who will answer any of your questions.
  • Round-the-clock maintenance of your sites and accounts for their stable performance.
  • Powerful servers that guarantee the constant availability of the resource.
  • Simple design and control method.
  • The ability to launch a test project thanks to the free hosting service.
  • Permanent systems of discounts and profitable offers.

I have not yet come across a more convenient hosting for work, and that is why I recommend it to everyone. And I also hope that the beget team will not be arrogant and will continue to delight its users with excellent work. I really don't want to look for a new one. In general, try, test and come back to our site to leave your comment about how it works.

You will never be left out of the freshest breaking news from Beget. Any update, any promotion or new service will be immediately posted on the official website of the company in the "News" section. So, working with Beget is:

If you have a desire or need for your own website, then, without a doubt, you should contact the Beget wizards who will help you choose a hosting profile and find the maximum domain productivity at a bargain price. You will be satisfied, and all your content is safely protected from damage and viruses.


  • Determining the encoding

    A task:

    Problems:

    Decision:

    # To determine the encoding, we use Mozilla's uchardet port - python chardet # https://github.com/chardet/chardet # # We use the dev version, everything is the freshest there. # This code is constantly being improved thanks to feedback with users # the more - the more accurately the encoding is determined, but slower. 50000 - selected empirically self.charset_detect_buffer = 50000 # Take part of the file part_content = content + content [-self.charset_detect_buffer:] chardet_result = chardet.detect (part_content) detected = chardet_result ["encoding"] confidence = "chardet_result [" encoding "] confidence =" chardet_result # a crutch for those who use crooked editors in windows # because of this we have cp-1251 in utf-8 files, which is why the library behaves unpredictably when detected re_utf8 = re.compile (". * charset \ s * = \ s * utf \ -8. * ", re.UNICODE | re.IGNORECASE | re.MULTILINE) html_ext = [" htm "," html "," phtml "," php "," inc "," tpl "," xml "] # All probabilities are selected empirically, based on a set of files for testing if confidence> 0.75 and detected! =" windows-1251 "and detected! = FM.DEFAULT_ENCODING: if detected ==" ISO-8859-7 ": detected = "windows-1251" if detected == "ISO-8859-2": detected = "utf-8" if detected == "ascii": detected = "utf-8" if detected == "MacCyrillic": detected = "windows-1251" # if all the same errors were a crutch on the charset specified in the file if detected! = FM.DEFAULT_ENCODING and file_ext in html_ext: result_of_search = re_utf8.search (part_content) self.logger.debug (result_of_search) if result_of_search is not None: self.logger.debug utf-8 charset ") detected = FM.DEFAULT_ENCODING else: self.logger.debug (" not matched utf-8 charset ") elif confidence>

  • A task:
    * .com "" $ * = 42; "etc.

    Problems:

    Decision:

    An example of a worker implementation


  • A task:

    Problems:

    Decision:

    • Add SSH / SFTP support
    • Add WebDav support
    • Add terminal

    .

  • Blog of the company Beget.com
  • Add tags

    Hello friends! I sat down to write about how to find a site file easily and simply, but I can not resist - I boast, although I have already received congratulations from many: on January 23, 2016, the blog was registered in the "Search Engine Optimization" section of the Directory of Trust Sites. And now I have a button in my footer that you can click on and even leave a comment.

    Now to the point. Anyone who maintains blogs or websites has to make some changes to the code, for example, to edit the design. My task now is different: get rid of errors in HTML validity. A web resource affects its authority no less than useful optimized content and other components. At first, the validator produced only 5 errors, and I contacted a specialist with the nickname Old on the sbup.com forum, who provides free consultations and also works on a commercial basis. He discovered a global error, due to which the others are not detected. After eliminating the global one, I got about forty errors and warnings.

    It was not difficult to fix some of them, for example, to insert the missing spaces in the links. And in order to eliminate others, it was necessary to find a place that needed to be edited. When looking for files, Beget's clients can do without programs such as Notepad ++. You can search by text or file name directly in the file manager. If possible, the search area should be narrowed down, but if we don't even know where the searched for object may be, we search in public_html (the root of the site).

    In practice, it looks like this: I need to delete a certain fragment, select search by text and insert an expression into the line. It remains to run the search and get the result.

    Fortunately for me, the result is one file, and there can be many of them. In the search box, which is collapsed by default, the path to the file is indicated. To see it in its entirety, the window needs to be maximized.

    So, the file is found in the hosting file manager. The next step is to open it and find the required piece of code to fix it.

    But don't be in a hurry! It's time to download the file to your computer in order to replace the one that has been tortured if something happens. With this approach, you do not need to backup the entire site - an essential detail if the folders with the backup are laid out on the account, and there is not a lot of extra space.

    That's all. I told you how to find a site file on the Beget hosting, but I think other modern hosting services also have a search function.

    Which we developed for our users and which is used in our control panel. We invite everyone to join its development. How it was developed and why we were not satisfied with the existing analogues, what crutches of technology we used and to whom it might be useful, we will tell in this article.

    Why reinvent your file manager

    In 2010, we used NetFTP, which solved the problems of opening / loading / correcting several files fairly well.
    However, users sometimes wanted to learn how to transfer sites between hosting or between our accounts, but the site was large, and the Internet was not the best for users. In the end, either we did it ourselves (which was obviously faster), or explained what SSH, MC, SCP and other terrible things are.

    Then we had the idea to make a WEB two-panel file manager that works on the server side and can copy between different sources at the speed of the server, as well as, in which there will be: search in files and directories, analysis of occupied space (analogue of ncdu), simple file upload, well, and a lot of interesting things. In general, everything that would make life easier for our users and us.

    In May 2013, we uploaded it to production on our hosting. In some points, it turned out even better than we originally wanted - for downloading files and accessing the local file system wrote a Java applet that allows you to select files and copy everything at once to the hosting or vice versa from the hosting (where to copy is not so important, he knew how to work both with remote FTP and with the user's home directory, but, unfortunately, soon browsers will not support it).

  • Determining the encoding

    A task:
    Open the file for editing with the definition of the encoding, write it taking into account the source encoding.

    Problems:
    If the user's encoding was incorrectly recognized, then when making changes to the file with subsequent writing, we can receive a UnicodeDecodeError and the changes will not be recorded.

    All the "crutches" that were eventually introduced are the result of work on tickets with files received from users, we also use all "problem" files for testing after making changes to the code.

    Decision:
    Explore the internet looking for this decision found the chardet library. This library, in turn, is a port of the Mozilla library. For example, it is used in the well-known editor https://notepad-plus-plus.org

    Having tested it with real examples, we realized that in reality it can be wrong. Instead of CP-1251, for example, “MacCyrillic” or “ISO-8859-7” can be displayed, and instead of UTF-8 it can be “ISO-8859-2” or a special case of “ascii”.

    In addition, some files on the hosting were utf-8, but contained strange characters, either from editors who do not know how to work correctly with UTF, or from somewhere else, especially for such cases, I also had to add "crutches".

    An example of recognizing encoding and reading files, with comments

    # To determine the encoding, we use Mozilla's uchardet port - python chardet # https://github.com/chardet/chardet # # We use the dev version, everything is the freshest there. # This code is constantly being improved due to user feedback # the more - the more accurate the encoding is determined, but slower. 50000 - selected empirically self.charset_detect_buffer = 50000 # Take part of the file part_content = content + content [-self.charset_detect_buffer:] chardet_result = chardet.detect (part_content) detected = chardet_result ["encoding"] confidence = "chardet_result [" encoding "] confidence =" chardet_result # a crutch for those who use crooked editors in windows # because of this we have cp-1251 in utf-8 files, which is why the library behaves unpredictably when detected re_utf8 = re.compile (". * charset \ s * = \ s * utf \ -8. * ", re.UNICODE | re.IGNORECASE | re.MULTILINE) html_ext = [" htm "," html "," phtml "," php "," inc "," tpl "," xml "] # All probabilities are selected empirically, based on a set of files for testing if confidence> 0.75 and detected! =" windows-1251 "and detected! = FM.DEFAULT_ENCODING: if detected ==" ISO-8859-7 ": detected = "windows-1251" if detected == "ISO-8859-2": detected = "utf-8" if detected == "ascii": detected = "utf-8" if detected == "MacCyrillic": detected = "windows-1251" # if all the same errors were a crutch on the charset specified in the file if detected! = FM.DEFAULT_ENCODING and file_ext in html_ext: result_of_search = re_utf8.search (part_content) self.logger.debug (result_of_search) if result_of_search is not None: self.logger.debug utf-8 charset ") detected = FM.DEFAULT_ENCODING else: self.logger.debug (" not matched utf-8 charset ") elif confidence> 0.60 and detected! =" windows-1251 "and detected! = FM.DEFAULT_ENCODING: # Here is a separate logic # The code is removed for brevity from the example elif detected == "windows-1251" or detected == FM.DEFAULT_ENCODING: pass # If it was not determined very well, then, most likely, this is an error and we take UTF-8)) else: detected = FM.DEFAULT_ENCODING encoding = detected if (detected or "") .lower () in FM.encodings else FM.DEFAULT_ENCODING answer = ("item": self._make_file_info (abs_path), "content": content, " encoding ": encoding)

  • Parallel search of text in files, taking into account the file encoding

    A task:
    Organize a search for text in files with the ability to use "shell-style wildcards" in the name, that is, for example, "* .com" "$ * = 42;" etc.

    Problems:
    The user enters the word "Contacts" - the search shows that there are no files with this text, but in reality they are, but on the hosting we have many encodings, even within the framework of one project. Therefore, the search must take this into account as well.

    Several times we encountered the fact that users could enter any strings by mistake and perform several search operations on a large number of folders, which subsequently led to an increase in the load on the servers.

    Decision:
    Multitasking was organized in a fairly standard way, using the multiprocessing module and two queues (a list of all files, a list of found files with the desired entries). One worker builds a list of files, and the rest, working in parallel, parse it and directly search.

    The search string can be represented as a regular expression using the fnmatch package. Link to the final search implementation.

    To solve the problem with encodings, an example code with comments is provided, it uses the chardet package already familiar to us.

    An example of a worker implementation

    # Shown example of a worker self.re_text = re.compile (". *" + Fnmatch.translate (self.text) [: - 7] + ". *", Re.UNICODE | re.IGNORECASE) # remove \ Z (? ms) from end of result expression def worker (re_text, file_queue, result_queue, logger, timeout): while int (time.time ())
    In the final implementation, the ability to set the execution time in seconds (timeout) has been added - by default, 1 hour is selected. In the worker processes themselves, the execution priority is lowered to reduce the load on the disk and on the processor.

  • Unpacking and creating file archives

    A task:
    Allow users to create archives (zip, tar.gz, bz2, tar are available) and unpack them (gz, tar.gz, tar, rar, zip, 7z)

    Problems:
    We encountered a lot of problems with "real" archives, these are cp866 (DOS) file names and backslashes in file names (windows). Some libraries (standard ZipFile python3, python-libarchive) did not work with Russian names inside the archive. Some library implementations, in particular SevenZip, RarFile, cannot unpack empty folders and files (they are constantly found in archives with CMS). Also, users always want to see the progress of the operation, but how to do this if the library does not allow (for example, simply call extractall ())?

    Decision:
    Libraries ZipFile, as well as libarchive-python had to be fixed and included as separate packages to the project. For libarchive-python, I had to fork the library and adapt it for python 3.

    The creation of files and folders with zero size (a bug was noticed in the SevenZip and RarFile libraries) had to be done in a separate loop at the very beginning along the file headers in the archive. For all the bugs, the developers were unsubscribed, as soon as we find the time, we will send a pull request to them, apparently, they are not going to fix it themselves.

    Separately done gzip processing compressed files(for sql dumps, etc.), there were no crutches here using the standard library.

    The progress of the operation is tracked using the watch on the IN_CREATE system call using the pyinotify library. It works, of course, not very accurately (the watch does not always work when there is a large nesting of files, therefore a magic factor of 1.5 has been added), but it does the task of displaying at least something similar for users. Not a bad solution, considering that there is no way to track this down without rewriting all the libraries for the archives.

    Help us make Sprut.IO better

    There are many obvious possibilities for further improving the file manager.

    As the most useful for users, we see:

    • Add SSH / SFTP support
    • Add WebDav support
    • Add terminal
    • Add the ability to work with Git
    • Add the ability to share files
    • Add theme switching and the creation of different themes
    • Make a universal interface for working with modules

    If you have any add-ons that might be useful to users, tell us about them in the comments or on the mailing list.

    We will begin to implement them, but I'm not afraid to say this: on our own, it will take years, if not decades. Therefore, if you want to learn how to program, know Python and ExtJS and want to gain experience in development in an open source project, we invite you to join the development of Sprut.IO. Moreover, we will pay a reward for each implemented feature, since we will not have to implement it ourselves.

  • Add tags

    As an engine, it's time to choose a hosting - a server on which your site will be located. In this article, we will look at its main features.

    In fact, hosting is not just a server. Hosting is also a control panel that allows you to customize the operation of your site, manage files and databases, domains and subdomains, as well as restore your site from backup in case of any unforeseen circumstances.

    Let's talk about everything in order.

    Backing up your sites

    Automatic creation of backup copies of your sites (files and databases) is the key to their stable operation. You will not lose several months of work just because you were too lazy to go to the hosting control panel and create a "backup".

    If in the future your site becomes cramped on a free plan, you can switch to any other. Prices don't bite.

    30 days of free hosting

    If a free tariff It is clearly not enough for you, you can choose any suitable one from the paid ones. At the same time, the whole 30 days from the moment of registration you will be able to fully use hostingBeGetabsolutely free.

    There are almost no such test periods on other hosting.

    In addition, if for some reason you do not want to use BeGet services after this period, you can simply refuse their services without paying a penny.

    Conclusion

    Why did we decide to tell you specifically about, and not about any other? Or haven't you even reviewed it?

    It's simple - because we use this hosting ourselves... We like the convenient and colorful control panel, the incomparable file manager, automatic backups, automatic installation WordPress and responsive support.

    In addition, in further articles on the Blogger School we will publish detailed instructions on certain aspects of working with hosting- exactly on the example of BeGet. And we would like to make it easy for you to master and implement the acquired skills.

    This, perhaps, is all. I invite you to ask questions on the topic in the comments.

    In the next article I will tell you how to install WordPress on hosting... Subscribe to updates in the column on the right 😉

    To get access, click on the "Get Demo Account" button, access will be sent by email.

    How is he better than the rest?

    Two-pane graphical interface

    The file manager interface is made in the form familiar to the user: two areas for convenient work with files.
    In each of them you can open files on a server, remote FTP or on your computer.

    When displaying files in a table, you can easily sort files and directories by type, size, creation date, etc. by clicking on the header of any of the columns.

    Drag & Drop function

    You can work with files and folders using the mouse, dragging files and folders to the server or remote FTP and vice versa, for this select required files and folders, grab them and drag them to the desired location.

    Remote FTP

    Click on the " Remote FTP"in order to connect to a remote server from the file manager. You can save the connections and edit them if necessary in the future.


    You can open external FTP in both the left and right panels and even do it at the same time to work through a file manager with two absolutely third-party FTPs. In order to open the FTP of your hosting account, just click the " Home FTP".

    Tabbed interface

    The tabbed interface will allow you to open many files at once and manipulate them in the file manager area, just as you do in the operating system.
    This interface will make it convenient for you to work with several files at once, make it easy to copy the code from one file to another, etc.

    You can collapse or expand open files. You can also resize the open window as you like. The files you open are displayed at the bottom of the file manager in the tab bar.

    You can manipulate the windows as you like, changing their size and placing them on the screen in the desired order.

    Basic functions for working with files

    The file manager will allow you to perform all the basic functions for working with files and directories, such as: copying, moving, renaming, changing attributes, etc. Moreover, you can perform all these actions in a large number of ways.

    1. Copy
    In order to copy a group of files, you can select them with the mouse, while holding down the button Ctrl... Then just drag and drop them to the desired location. As soon as you release the mouse button over the selected location, the file manager will display a dialog box specifying whether you want to copy the files or not, if files with such names exist, you will be prompted to overwrite the files.

    You can also copy files or folders by selecting them, right-clicking to bring up the context menu. Then you need to press the "Copy" button.

    A few more ways to copy is to use the button in the menu " File"or the button at the bottom of the File Manager.

    There is also a hotkey combination for quick access to the copy function - Ctrl + 5.

    2. Moving
    To move you can use all the same methods as for copying, except for " drag and drop". Hot key combination to move Shift + 5.

    3. Renaming
    To rename a file or directory, you can also use context menu, a menu item in the drop-down menu " File"or a combination of hot keys - Ctrl + 6.
    Unlike copying and moving, this function is not a group function and can be applied to only one element.

    After clicking on the " Rename"You will see a dialog box to enter a change to the item name. Enter a new name and click" OK".

    4. Changing attributes

    To change the attributes of a file or directory, you can use the context menu or the menu item in the drop-down menu " File".

    You can set permissions for files either in numerical format or by setting permissions using the appropriate checkboxes for the user, the group he belongs to, and for everyone.

    In short, the rights can be set separately for user- directly the owner of the file, for the group ( group), for all ( All).

    You can get a digital designation of rights by adding, where:

    1 - execution rights;
    2 - recording rights;
    4 - read rights.

    For example, we want to set read and write permissions: 6 = 4 (read) + 2 (write).

    There are 8 options in total:

    7 = read, write & execute (read, write, execute);
    6 = read & write (read and write);
    5 = read & execute;
    4 = read (read);
    3 = write & execute;
    2 = write (write);
    1 = execute (execute);
    0 = no rights.

    On our servers, files are executed from under the user, so the last two digits in the rights must be equal to 0.
    For example, if you need to set the rights to everything for the file, you must set the value: 700.

    5. Removal
    You can delete files using the context menu, the button in the drop-down menu " File", using the hotkey combination - Ctrl + 8 or by button "Del".
    Before deleting files File manager will display a dialog box asking if you really want to delete the selected files.

    Working with archives

    File manager allows you to work with archives. You can to create or unpack archive, as well as immediately download the necessary files / directories as an archive.

    1. Create an archive
    In order to create an archive from the selected files or folders, select the required files and / or folders and press the " Create archive"on the quick access bar. In the dialog box that appears, you can change the archive name and archive type.

    2. Unpacking the archive
    To unpack the archive, click the " Unpack the archive"on the quick access bar. In the modal window that appears, select the path where you want to unpack the archive, and click" Unpack the archive".

    3. Download as an archive

    You can download files and folders in an archive with one click by clicking the " Download archive"on the quick access bar. You can also use the drop-down menu: the" File", Further " Download"and select the type of archive in which you want to download the selected files / folders.

    Multiple loading

    The most convenient way to work and upload files from your computer to the server is to open your local file system in one of the areas, as described above. However, if for some reason you are unable to use Java, then you can upload files by clicking on the " download files".

    You will see a window for uploading files to the server. Select files from your computer and click the "Upload" button. The maximum size of a single file should not exceed 1.5 GB. The file manager will start sequentially downloading the selected files, the process of uploading each of the files to the server will be displayed in the browser as a percentage.

    Text editor

    File manager contains a convenient text editor to work with the code of your sites.

    By pressing the button " Settings"in the upper right corner of the editor, you can customize appearance a text editor to your liking, change the font size and other parameters.

    The text editor has a syntax highlighting function and is able to recognize which file you have opened, be it php script, bash script or another programming language. You can also choose to highlight the code yourself using the drop-down menu in the text editor.

    A text editor will allow you to change the file encoding and resave the file in a different encoding.

    Viewing graphic files

    For viewing graphic files, the file manager contains a built-in image viewer. You can flip the image, change its scale and move to the next image.

    Search by files and folders

    If you need to find a file or folder, you can use the search in the file manager. Advanced mode allows you to search for files only or folders only, as well as search by file or folder size.

    Access control

    Using the file manager, you can set a password for the folder and block access to the folder from the specified IP addresses. In order to set a password for a folder, select it, in the top drop-down menu select the " Instruments"and then press" Set password to current directory". In the dialog box that appears, enter the password for the directory and click the" Set password".

    Similarly, you can block access to a folder from individual IPs. In the drop-down menu, select the " Instruments", and then " Set block by IP address". In the dialog box that appears, enter the list of IPs in the format: xxx.xxx.xxx.xxx, from which you want to open access and from which you want to deny.

    Functions for working with Home FTP

    The file manager has a number of functions that are only available for Home FTP.

    1. List of sites
    You can easily navigate between the sites of your hosting account using the button on the quick access panel or select a site in the drop-down menu on the " Transition". By double-clicking the left mouse button on the selected site, you will be redirected to the root directory of the site.

    2. Folder size
    With Home FTP, you can easily get the size of your directories by clicking on the " Size Analysis"on the Quick Access Toolbar.

    Also, you can always see the total size of the used disk space on the server at the bottom of the file manager.

    Working with backups

    Also, right in the file manager, you can view the list of available backups created for your account automatically by our backup system (by date). By clicking on a suitable backup, you can view its contents and, if necessary, copy the necessary files from it.

    Hotkeys

    Like most desktop FTP clients our File manager contains a number of hotkeys, which speeds up the work with the most common actions.

    Below is a list of hotkeys:

    Ctrl + 3- Viewing;
    Ctrl + 4- Editing;
    Ctrl + 5- Copying;
    Shift + 5- Moving;
    Ctrl + 6- Renaming;
    Ctrl + 7- Creating a new folder;
    Ctrl + 8 or Del- Removal.

    If you have any questions about work File manager You can always contact our service.

    This review file manager Sprut.io is intended primarily for webmasters who are faced with the difficult task of transferring site files to another hosting.

    File manager Sprut.io is a project of a popular hosting provider Beget.com and was originally intended to work in its own site control panel.

    However, in the future, "at the numerous requests of webmasters", the Octopus was modernized and is now distributed in a cross-platform version. Free GNU GPL license, so this extremely useful server-side explorer is available to all site owners for free.

    Why did you need the Sprut.io file manager

    Indeed, there are several quite decent OpenSource solutions on the market for managing files on remote servers of FTP clients:

    • Legendary Filezilla
    • Total commander
    • Winscp.net
    • CoffeeCup Free FTP

    The problem is that the listed FTP clients work on the "thin client" side, that is, on the platform of a personal computer, and when transferring many gigabytes of files published on a remote server of a web resource, various unpleasant and difficult to solve problems arise:

    • Slow and unstable "home" Internet.
    • Inability to edit documents, scripts, files on hosting from the admin panel.
    • Organizational and technical difficulties arising when transferring sites from hosting to hosting or to other user accounts with one provider.


    These are all the listed problems and was designed to stop the innovative development of a team of programmers.
    And, I must say, they succeeded quite well.

    Main features of the Sprut file manager from Beget

    This Sprut.io file manager overview is intended for website owners rather than professional web developers. Therefore, without delving into technical and special details, we will simply list the new features that allow you to bring the administration of virtual hosting to a new, higher quality level:

    • Inter-server data exchange at ultra-high speeds, available only to professional data centers.
    • Direct editing of files, documents, program scripts, databases on a remote server.
    • Fast and safe transfer sites entirely on alternative hosting.
    • Performing the above tasks in safe mode without Root access to the target server's file system.
    • Convenient, intuitive two-panel interface that supports the technology of copying and transferring files using the Drag-and-drop method.
    • Access to sites from anywhere. On the server, on personal computer, via FTP and the web interface of the admin panel.
    • Direct editing, image resizing, scaling on remote hosting.
    • File search function by various parameters.
    • Multifunctional code editor with custom highlighting and automatic recognition of the programming language.
    • Ability to work using external or internal FTP.
    • Tab support allows you to work with multiple site files in parallel.
    • Built-in archiver.
    • Manage the levels of allowed access to folders and files. Blocking unwanted IP addresses.
    • Support for hotkey combinations for comfortable and productive work.

    In general, if you decide, then the Sprut file manager is very useful to you!

    Specification and installation

    The official Sprut.io website provides detailed documentation and step-by-step instruction to install the file manager Sprut.

    • Requires a virtual environment with installed program Docker (instructions for installing Docker provided).
    • More than 1.5 GB of free disk space.

    Installation takes no more than ten to fifteen minutes.

    Conclusion

    If you are engaged in web projects and have not yet used Octopus underneath, it makes sense to purchase this useful software for yourself. This will allow you to significantly simplify and speed up routine tasks with site administration, improve the quality and safety of work.

    Please share if you liked:

    You may be interested in learning more:


    To transfer a site running on a CMS to another hosting or local server, it is not enough just to copy its files from one place to another; for the site to work, you also need to transfer all the data from the database.

    Before starting the site transfer, be sure to create a text file and write down all the data there - the address, login and password for logging into the hosting account, database name, username, database password, and other necessary data

    Regardless of which CMS you are using, the migration process will consist of the following steps:

    Actions on local server (or old hosting)

    1. Archiving site files to archive in format .zip

    2. We export data from the database or, in other words, create a backup copy of the database... Simplified - this is all the data of our database, which are written in a text file with the extension .sql

    Actions on a remote server (local server on another computer or hosting)

    1. Copy the archive with the site files to the remote server and expand it keeping the folder structure

    2. Checking access rights to folders and files and, if necessary, change them.

    3. Create a new database. Remember (write down) the name of the database, username, password to the database

    4. We import a backup copy of the database into the created database... (from a file with the extension .sql)

    5. In the config file site change the old database name, username and password to the database for new

    6. In the site configuration section change the paths to files and temporary folders of the site to new ones(if necessary)

    Backing up the MODX site to a local server

    We will create an archive RAR archiver if it is not installed on your computer, download it from here and install it.

    Creating an archive of site files

    Open the folder with the files of our site Z: /home/okarina.loc/www, select all files and folders and click right click on any file. In the menu that opens, select the item Add to archive...

    Creating an archive with site files

    In the opened window of the archiver, select the Archive format - ZIP and press the button OK

    Selecting an archive type

    The archive will start to be created and upon completion we will see the file with the archive in the root folder of our site www.zip

    Site archive

    The archive can be moved to another folder so that it does not "hang out" on our local site. For example, make a Site transfer folder somewhere on the disk and transfer it to it.

    Creating a database backup

    In the browser, go to the site admin panel, Tools -> Backup , click the checkbox in front of the item Table name to select all tables in the database and click the button create and load a backup of the selected tables

    Backing up the site database

    In the opened file window that appears, check that is selected Save file and press OK

    Save the database to a file

    To find the saved file, click on the icon in the browser panel, as shown in the picture below (for Firefox browser)

    Open the folder with the saved copy of the database

    Or in explorer open Downloads folder

    Downloads folder with database copy

    The file you are looking for must have the extension .sql and its name must contain The current date

    Move this file to a folder Website transfer

    The site is ready for migration

    This completes the preparatory part on the local computer. In folder Website transfer is the archive of our site and the database.

    From this link you can download the contents of my site Transfer folder

    Registering an account on the hosting BEGET.RU

    We can register a full-fledged account on beget hosting and within 30 days it will work in test mode is free.

    We go to the site at beget.ru and select one of the tariffs, for example, Start... This tariff includes the possibility register a free domain in the RU zone

    Choosing a tariff

    Carefully fill in the fields indicated telephone a confirmation code will be sent by e-mail- account login data.

    Hosting registration in BEGET

    After registration, your phone will receive SMS with confirmation code which will need to be entered in the window as shown below

    Enter the confirmation code to register an account with BEGET

    After confirmation, the system will show you an animation of the process of creating your hosting

    Create a BEGET account

    Be sure to save the data highlighted in red in the picture below to a text file! A letter with these data will also be sent to the mail specified during registration.

    Hosting BEGET. Completing the new account registration process

    To enter the beget.ru hosting control panel for the first time, you can click on the link Go to Control Panel

    Hosting account control panel BEGET

    This concludes the registration. Congratulations, you have your hosting!

    Transferring site files to BEGET hosting and setting access rights

    Log into your hosting control panel and click on the icon File manager

    File Hosting Manager BEGET

    On the first visit, you will see a folder, the name of which will correspond to the site address, in other words, this is your test domain.

    Test domain on hosting BEGET

    To upload the archive of our site to hosting, go to the folder [your account] .bget / public_html and delete everything from this directory. For this select all files and folders, click right click and select the item Delete... Then press the button (blue up arrow) download files as shown in the picture below

    In the window that appears, click Choose... and select the archive of our site www.zip which is in the folder Website transfer

    Uploading the site archive to the BEGET hosting

    Right-click on archive file, in the drop-down menu, select Unpack the archive

    Unpacking the archive with the site files on the BEGET hosting

    After unpacking the archive, you can delete the archive file so that it does not take up space on the hosting, right-click on it and select Delete

    Deleting an archive file from BEGET hosting

    Go up in the directory tree, right-click on the folder public_html and choose Change Attributes

    Changing the attributes of files and folders on the BEGET hosting

    In the window that appears, enter in the field Code value - 755, click the checkbox Apply recursively and choose only to folders... With this operation, we will set the necessary access rights for all folders on our site.

    We set the rights for the site folders on the hosting BEGET

    Right-click on the folder again public_html, choose Change Attributes, we introduce code value 644, apply recursively, to files only

    We set the rights to the site files on the BEGET hosting

    As a result, all folders on our site must have the rights 755 and the files 644

    Rights to files and folders on BEGET hosting

    Database creation on BEGET hosting and data import

    In the control panel, click on the icon MySQL

    Database management on hosting BEGET

    Enter the name of the database and generate a password

    Be sure to write down the database name and password in a text file!

    Creation of a new database on BEGET hosting

    After creating the database, click on the inscription phpMyAdmin

    Login to the database via phpMyAdmin on BEGET hosting

    Push the button Import

    Importing data into a database hosted by BEGET

    Push the button Overview..., from the folder Website transfer select the file with the database (extension sql), then press the button Forward

    Importing data from a backup to a database hosted by BEGET

    As a result, a message about successful import will be displayed and the database tables will appear on the left in the column

    Sometimes the browser does not display the message, or you may not see the table in the left column. It's okay, just wait 20-30 seconds and reload the page... If tables appear in the left column, then everything is in order.

    Imported site data into a database hosted by BEGET

    Excellent! We deployed the files of our site on the hosting, set up access rights to them, created a database and imported our site data into it. Left just a little bit.

    MODX config file and last settings

    In the file manager on the hosting, go to the folder public_html / manager / includes, right-click on the file config.inc.php and in the drop-down menu select edit

    MODX configuration file on BEGET hosting

    Change database username, password and database name to those that are used on our hosting. You should have written them to a text file.

    On the BEGET hosting, the name and the user of the database have the same names

    Editing the site configuration file on MODX on BEGET hosting

    After saving the configuration file, to enhance the site's security, you need to disable the ability to edit the configuration file, for this, click on the file config.inc.php right-click and in the drop-down menu select Attributes... In the window that appears in the field Code value introduce 600 and press the button Edit

    Closing access to the MODX configuration file on the BEGET hosting

    In the browser we go to the admin panel of our site on remote hosting, in the address bar we type [account name] .bget.ru / manager, enter the login and password for access to the admin panel (login: admin, password: 1 ), choose Tools -> Configuration, go to the tab File manager and in the field File manager path push the button Reset

    Resetting the path for the file manager in the MODX admin panel

    Go to the tab File Browser and in the field File path also press the button Reset, then keep configuration changes

    Resetting the path for the file browser in the MODX admin panel

    Go to the tab Website, to clear old data from the site cache, click Clear cache and open our website on hosting by clicking the menu item View

    Clearing the cache in MODX

    Our site is on MODX hosted by BEGET