The file manager is running. Save file

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

Creating a website is a rather complex and painstaking process. It doesn’t matter at all what your website is for, whether it’s an online store, a blog site, a social portal, in any case you need high-quality and reliable hosting. One of the most popular hosting companies over the past few years has become Beget.

In fact, the question of choosing a hosting is once faced by every webmaster, and since the competition here is simply wild, the choice is not so simple. I was always surprised by how similar all hosting providers are to each other (well, no individuality). And that’s when I came across Beget. If we get ahead a little, it is bright, not like everyone else, super convenient, very functional, relatively cheap, and most importantly, modern hosting that is quickly gaining popularity. So, first things first:

Website hosting

Hosting- This is a way to host a website on the Internet. Once you have hosted your site, anyone can access it by typing Domain name in the browser line.

Serverspowerful computers, which work absolutely around the clock, allowing your site to remain operational and visible on the Internet.

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

Beget Hosting

Beget considered the best paid hosting company. The main advantage of Beget is its affordable prices and user-friendly website management interface.

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

Also, hosting is becoming easier and more convenient every day, that is, there will be no problems at all with managing a site on hosting from this operator. Beget is a great option for any person who would like to open their own online business.

Register on Beget

Enter your melon details:

  • 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 website that will not have a highly branched structure, then you can choose the cheapest hosting package. If you want to place significantly more information on your portal than the standard package allows you, then order VIP hosting. You will receive priority support and 35 GB of storage space for your files. This is a very convenient service for those who want to create an online market. Naturally, ordering VIP hosting costs much more.

It is also important that thanks to Beget you can rent entire servers from all over the world. technical support and 24/7 monitoring. The hosting operator also provides incredibly cheap domains for the .РФ and .RU zones.

Payment for Beget hosting

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

What I really liked here was the point with an arbitrary amount. If you have any problems with money, then you can always top up your balance which will last for a couple more days, for example from your mobile phone.

It is possible to use Promised payment

Beget hosting control panel

In general, you can generally understand any interface. But after I came here using cPanel, ISP Manager and other control systems, I was pleasantly impressed that the begets did not follow the well-worn path but created their own control panel. And they completely succeeded. The panel is easy to understand, has a nice design, and a convenient layout of elements. I will not consider each element separately. Everything here is the same as everyone else’s: databases, ftp access, domain parking, etc.

Free month of testing on Beget

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

This is very advantageous 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 technical support

Judging by the reviews on the Internet, their support is very qualified and it is not limited to standard excuses like “reboot”, but actually helps to look for any problems. But my review will be the best. For a year of working with this hosting, I NEVER their help was not required, and this, in my opinion, is the best indicator of the excellent work of Beget.

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

If you just want to open your own Internet portal, then you can discuss all questions directly by phone or via 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.

Benefits of Beget

Beget differs from all its competitors in that it tries not to lag behind 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 post files on the site and edit them. This manager also has an incredibly convenient code editor. Sites 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 is so convenient that I completely forgot about using FileZilla and other similar programs. It also has its own individual, intuitive design. Convenient uploading of files directly from the manager, editing of any types of files.

The speed of copying files to local or remote servers is 1 Gb/s, which is incredibly convenient. It is necessary to mention 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 monitor the consumption of your Money. 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 takes care of its customers, so when 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 operation;
  • quality service;
  • profitable offer;
  • nice prices.

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

Brief conclusion

In conclusion, 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 website backup
  • Favorable prices coupled with discounts and promotions that allow you to save.
  • Kind administration that will answer any of your questions.
  • 24/7 maintenance of your websites and accounts for their stable performance.
  • Powerful servers that guarantee constant availability of the resource.
  • Simple design and control method.
  • Possibility of launching a test project thanks to the free hosting service.
  • Constant systems of discounts and advantageous offers.

I have not yet come across a more convenient hosting for work, and that is why I recommend it to everyone. I also hope that the beget team will not become arrogant and will continue to please its users great job. I really don’t want to look for a new one. In general, try it, test it and come back to our site to leave your comment about its work.

You will never be left out of the latest Beget news. Any update, any promotion or new service will be immediately posted on the company’s official website 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 experts, who will help you choose a hosting profile and select the maximum domain productivity at a competitive price. You will be satisfied, and all your content is securely stored from damage and viruses.


  • Encoding definition

    Task:

    Problems:

    Solution:

    # To determine the encoding, we use the uchardet port from Mozilla - python chardet # https://github.com/chardet/chardet # # We use the dev version, everything is the latest there. # This code is constantly improving thanks to feedback with users # the more, the more accurately the encoding is determined, but slower. 50000 - chosen 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["confidence"] # 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 you still made a mistake, use 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("matched utf-8 charset") detected = FM.DEFAULT_ENCODING else: self.logger.debug("not matched utf-8 charset") elif confidence >

  • Task:
    *.com" "$* = 42;" etc.

    Problems:

    Solution:

    Example worker implementation


  • Task:

    Problems:

    Solution:

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

    .

  • Beget.com company blog
  • Add tags

    Greetings, friends! I sat down to write about how to find a site file easily and simply, but I can’t resist - I’ll brag, although I’ve already received congratulations from many: on January 23, 2016, the blog was registered in the “ Search Engine Optimization» Directory of trust sites. And now I have a button in my footer where you can click and even leave a comment.

    Now to the point. Everyone who runs blogs or websites has to make some changes to the code, for example, to edit the design. I now have a different task: to get rid of errors in HTML validity. of 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 Stary on the sbup.com forum, who gives 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 now have about forty errors and warnings.

    Fixing some of them was not difficult, for example, inserting missing spaces in links. And to eliminate others, it was necessary to find a place that needed to be edited. When searching for files, Beget 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, but if we don’t even imagine where the object we are looking for might be located, we look in public_html (the root of the site).

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

    Luckily for me, the result was one file, but there could be many. The search window, which is minimized by default, shows the path to the file. To see it in its entirety, the window needs to be expanded.

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

    But don't rush! It's time to download the file to your computer so that if something happens, you can replace the one that was tortured. With this approach, you will not need to make a backup copy of the entire site - an essential detail if the backup folders are uploaded to an account, and there is not a lot of extra space.

    That's all. I told you how to find a site file on Beget hosting, but I think other modern hosting services 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. About how it was developed and why we were not satisfied existing analogues We will tell you in this article what technology crutches we used and who might find it useful.

    Why invent your own file manager

    In 2010, we used NetFTP, which solved the problems of opening/downloading/editing several files quite well.
    However, users sometimes wanted to learn how to transfer sites between hosting sites or between our accounts, but the site was large, and the users’ Internet was not the best. As a result, we either did it ourselves (which was obviously faster), or explained what SSH, MC, SCP and other scary 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 server speed, and also, which will include: search for files and directories, analysis occupied space(analogous to ncdu), simple file uploading, and a lot of interesting things. In general, everything that would make life easier for our users and us.

    In May 2013, we put it into production on our hosting. In some cases, it turned out even better than we originally wanted - to upload files and access the local file system, we 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, it could work with remote FTP and with the user's home directory, but, unfortunately, browsers will not support it soon).

  • Encoding definition

    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 not recognized correctly, then when making changes to the file and then writing it, we may receive a UnicodeDecodeError and the changes will not be written.

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

    Solution:
    Searching the internet for this decision, found the library chardet. This library, in turn, is a port of a library from Mozilla. For example, it is used in the famous editor https://notepad-plus-plus.org

    Having tested it on real examples, we realized that in reality she could be wrong. Instead of CP-1251, for example, “MacCyrillic” or “ISO-8859-7” may be issued, and instead of UTF-8 there may 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, we also had to add “crutches”.

    An example of encoding recognition and file reading, with comments

    # To determine the encoding, we use the uchardet port from Mozilla - python chardet # https://github.com/chardet/chardet # # We use the dev version, everything is the latest there. # This code is constantly improving thanks to user feedback # the more, the more accurately the encoding is determined, but slower. 50000 - chosen 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["confidence"] # 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 you still made a mistake, use 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("matched 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: # There is separate logic # The code has been removed from the example for brevity elif detected == "windows-1251" or detected == FM.DEFAULT_ENCODING: pass # If the definition is not very correct, then, most likely, this is an error and 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 text search in files taking into account file encoding

    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 exist, but on our hosting we have many encodings, even within the same project. So the search should also take this into account.

    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 later led to an increase in the load on the servers.

    Solution:
    Multitasking was organized quite standardly, using the multiprocessing module and two queues (a list of all files, a list of found files with the required entries). One worker builds a list of files, and the rest, working in parallel, parse it and directly search.

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

    To solve the problem with encodings, a code example with comments is provided; it uses the already familiar chardet package.

    Example worker implementation

    # An example of a worker is given 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())
    The final implementation added the ability to set the execution time in seconds (timeout) - 1 hour is selected by default. In the worker processes themselves, the execution priority is lowered to reduce the load on the disk and processor.

  • Unpacking and creating file archives

    Task:
    Give users the ability to create archives (zip, tar.gz, bz2, tar are available) and unpack them (gz, tar.gz, tar, rar, zip, 7z)

    Problems:
    We encountered many problems with “real” archives, including cp866-encoded file names (DOS) 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 found all the time in archives with CMS). Also, users always want to see the progress of an operation, but how can they do this if the library does not allow it (for example, they simply call extractall())?

    Solution:
    The ZipFile libraries, as well as libarchive-python, had to be corrected and included as separate packages in the project. For libarchive-python, I had to fork the library and adapt it to python 3.

    The creation of files and folders with zero size (a bug noticed in the SevenZip and RarFile libraries) had to be done in a separate cycle at the very beginning using the file headers in the archive. They wrote back to the developers about all the bugs, and when we find the time, we’ll send them a pull request; apparently, they’re not going to fix it themselves.

    Separate processing of gzip compressed files (for sql dumps, etc.) has been done; there were no crutches using the standard library.

    The progress of the operation is monitored using a watcher for the IN_CREATE system call using the pyinotify library. Of course, it doesn’t work very accurately (the watcher doesn’t always work when there is a large nesting of files, so the magic coefficient of 1.5 has been added), but it fulfills the task of displaying at least something similar for users. Not a bad solution considering there's no way to track this without rewriting all the archive libraries.

    Help us make Sprut.IO better

    There are many obvious opportunities for further improvement of the file manager.

    We see the following as the most useful for users:

    • 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, design and creation of different themes
    • Create a universal interface for working with modules

    If you have additions that might be useful to users, please tell us about them in the comments or on the mailing list.

    We will begin to implement them, but I am 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 development experience 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 hosting - the server on which your site will be located. In this article we will look at its main capabilities.

    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, and also restore your site from backup copy 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 won’t lose several months of work just because you were too lazy to once again go into your hosting control panel and create a “backup”.

    If in the future your site becomes too small for the free plan, you can switch to any other one. The prices are incredible.

    30 days of free hosting

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

    Such test periods almost never happen on other hosting sites.

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

    Conclusion

    Why did we decide to tell you about this and not about any other? Or didn't even do a review?

    It's simple - because we use this hosting ourselves. We love the user-friendly and colorful control panel, the incredible file manager, automatic backup, automatic installation WordPress and responsive support.

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

    That's probably all. I invite you to ask any questions on this 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 😉

    This file manager review Sprut.io is intended primarily for webmasters who are faced with the difficult task of transferring website 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 website control panel.

    However, later, “at numerous requests from webmasters,” Octopus was modernized and is now distributed in a cross-platform version. The license is free GNU GPL, so this extremely useful server explorer is available to all site owners completely free of charge.

    Why was the file manager Sprut.io needed?

    Indeed, there are several quite worthy OpenSource solutions on the market for managing files on remote FTP client servers:

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

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


    It is all of these problems that the innovative development of the programming team was designed to overcome.
    And, I must say, they completely succeeded.

    Main features of the Sprut file manager from Beget

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

    • Interserver 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 secure transfer of entire websites to alternative hosting.
    • Perform the tasks described above in safe mode, without Root access to the file system of the destination server.
    • Convenient, intuitive two-panel interface that supports Drag-and-drop file copying and transfer technology.
    • Access 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 based on various parameters.
    • Multifunctional code editor with custom highlighting and automatic programming language recognition.
    • Ability to work using external or internal FTP.
    • Tabbed support allows you to work with multiple site files in parallel.
    • Built-in archiver.
    • Manage levels of permitted access to folders and files. Blocking unwanted IP addresses.
    • Supports hotkey combinations for comfortable and productive work.

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

    Specification and installation

    The official website Sprut.io provides detailed documentation and step-by-step instruction for installing the Octopus file manager.

    • Requires a virtual environment with installed program Docker (Docker installation instructions provided).
    • More than 1.5 GB free memory on disk.

    Installation takes no more than ten to fifteen minutes.

    Conclusion

    If you are working on web projects and have not used Octopus before, it makes sense to purchase this useful software for yourself. This will allow you to significantly simplify and speed up routine website administration tasks, and increase the level of quality and safety of work.

    Please share if you liked it:

    You might also be interested in knowing:


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

    How is he better than the rest?

    Two-pane GUI

    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 back, to do this, select necessary files and folders, grab them and drag them to the desired location.

    Working with remote FTP

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


    You can open external FTP in both the left and right panels, and you can even do this simultaneously to work through a file manager with two completely third-party FTPs. In order to open the FTP of your hosting account, just click the button " Home FTP".

    Tab interface

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

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

    You can manipulate windows as you wish, changing their size and arranging 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 simply drag 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 asking whether you want to copy the files or not; if files with the same names exist, you will be prompted to overwrite the files.

    You can also copy files or folders by selecting them and pressing the right button to bring up the context menu. Then you need to click the “Copy” button.

    A few more ways to copy are 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, with the exception of " drag and drop". Hotkey combination for moving Shift + 5.

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

    After clicking the " Rename" You will see a dialog box to enter a change to the item name. Enter the 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 file rights either in numerical format or by setting rights using the appropriate checkboxes for the user, the group to which he belongs, and for everyone.

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

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

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

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

    There are 8 possible options in total:

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

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

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

    Working with archives

    File manager allows you to work with archives. You can 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 selected files or folders, select the desired files and/or folders and press the " button Create archive" on the quick access panel. 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 archive" on the quick access panel. In the modal window that appears, select the path where you want to unpack the archive and click " Unpack archive".

    3. Download archive

    You can download files and folders as an archive with one click by clicking the " Download archive" on the Quick Access Toolbar. You can also use the drop-down menu: tab " 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, this is described above. However, if for some reason you are unable to use Java, then you can upload files by clicking on the icon " download files".

    A window will appear for you to upload files to the server. Select files from your computer and click the "Upload" button. The maximum size of one file should not exceed 1.5 GB. The file manager will begin to sequentially download the selected files, the process of downloading each file to the server will be displayed in the browser as a percentage.

    Text editor

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

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

    The text editor has a syntax highlighting function and can recognize which file you have opened, be it php script, bash script or other programming language. You can also choose your own code highlighting 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

    To view graphic files The file manager contains a built-in image viewer. You can flip the image, resize it, and move on 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 only files or only folders, and also search by file or folder size.

    Access Control

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

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

    Functions for working with Home FTP

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

    1. List of sites
    You can easily navigate between sites in your hosting account by using the button on the quick access panel or selecting a site from the drop-down menu on the " tab 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
    On Home FTP you can easily get the size of your directories by clicking on the " Size Analysis" on the Quick Access Toolbar.

    You can also always see the total size of the occupied 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 the appropriate backup, you can view its contents and, if necessary, copy the necessary files from it.

    Hotkeys

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

    Below is a list of hotkeys:

    Ctrl + 3- View;
    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.

    To transfer a website running on a CMS to another hosting or local server, it is not enough to simply 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 you start migrating your site, be sure to create text file and write down all the data there - address, login and password to log into your hosting account, database name, username, database password, other necessary data

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

    Actions on a local server (or old hosting)

    1. Archiving site files archived in the format .zip

    2. Export data from the database or, in other words, create a backup copy of the database. Simplified, this is all the data in our database, which is 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 deploy it maintaining the folder structure

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

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

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

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

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

    Backing up the MODX site to a local server

    We will create the archive using the 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 our site files 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 archiver window that opens, select Archive Format - ZIP and press the button OK

    Selecting an archive type

    The archive will begin to be created and upon completion we will see the archive file 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 folder somewhere on your disk called Site Transfer 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 press the button create and load a backup copy of selected tables

    Creating a backup copy of the site database

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

    Saving 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 open in Explorer Downloads folder

    Downloads folder with a copy of the database

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

    Move this file to the folder Site transfer

    The site is ready for migration

    This completes the preparatory part on the local computer. In folder Site transfer lies the archive of our website and database.

    Using this link you can download the contents of my folder Site Transfer

    Registering an account on BEGET.RU hosting

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

    We go to the website 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

    Choose a tariff

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

    Hosting registration in BEGET

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

    Enter the confirmation code to register an account in BEGET

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

    Creating a BEGET account

    Be sure to save data highlighted with a red frame in the picture below into a text file! A letter with this information will also be sent to the email address specified during registration.

    Hostnig BEGET. Completing the new account registration process

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

    BEGET hosting account control panel

    Registration is now complete. Congratulations, you have your own hosting!

    Transferring site files to BEGET hosting and setting access rights

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

    BEGET hosting file manager

    When you first log in, you will see a folder whose name will correspond to the site address, in other words, this is your test domain.

    Test domain hosted by 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 Site transfer

    Uploading the site archive to BEGET hosting

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

    Unpacking an archive with site files on 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

    We go higher in the directory tree, right-click on the folder public_html and select Change attributes

    Changing the attributes of files and folders on 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

    Setting permissions for site folders on BEGET hosting

    Right-click on the folder again public_html, select Change attributes, enter code value 644, apply recursively, only to files

    We set rights to site files on BEGET hosting

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

    Rights to files and folders on BEGET hosting

    Creating a database on BEGET hosting and importing data

    In the control panel, click on the icon MySQL

    Database management on BEGET hosting

    Enter the name of the database and generate a password

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

    Creating a new database on BEGET hosting

    After creating the database, click on the inscription phpMyAdmin

    Login to the database via phpMyAdmin on BEGET hosting

    Press the button Import

    Importing data into a database hosted by BEGET

    Press the button Review..., from folder Site transfer select the file with the database (extension sql), then press the button Forward

    Importing data from a backup into a database hosted by BEGET

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

    Sometimes the browser does not display a message, or you may not see tables in the left column. It's okay, it's 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 the database on BEGET hosting

    Great! We deployed our website files on the hosting, configured access rights to them, created a database and imported our website data into it. Left just a little bit.

    MODX Configuration File and Latest 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 select from the drop-down menu editing

    MODX configuration file on BEGET hosting

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

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

    Editing the site configuration file on MODX on BEGET hosting

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

    Closing access to the MODX configuration file on BEGET hosting

    In the browser, go to the admin panel of our website on remote hosting, and type in the address bar [account name].bget.ru/manager, enter the login and password for access to the admin panel (login: admin, password: 1 ), select Tools -> Configuration, go to the tab File manager and in the field Path for file manager press 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 Path to files also press the button Reset, then save configuration changes

    Resetting the path for the file browser in the MODX admin

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

    Clearing cache in MODX

    Our site on MODX hosted by BEGET

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

    First, a little information. Beget LLC is a Russian hosting company. The servers are located with us. Previously, it was only St. Petersburg, but now, as far as I know, the geography has been expanded. MODX on hosting 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 separated into a separate service and anyone can install it on their server.

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

    Those who are familiar with MC or FAR, or Total Commander will understand it at first glance. File management is intuitive. The context menu works when you right-click.

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

    In addition, you can change file permissions and even edit them. By the way, guess what 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 image viewing, the ability to connect an external FTP server, search by folders and files, multiple file uploads, etc.

    All the features are listed on the official website, and there are also instructions for installing it on your server.

    SPRUT.io is an Open Source project, source code

    Publications on the topic

    • How to open vsd extension How to open vsd extension

      Most programs on your computer are opened by double-clicking with your left mouse button on the utility icon, but this is rarely...

    • Firmware Samsung Galaxy A7 (2016) SM-A710F Firmware Samsung Galaxy A7 (2016) SM-A710F

      For those who have just become a beginner or are not an expert in the vast world of Android and are not particularly familiar with the concept of how to Root Android, as well as...