CodeFtpClient Is Finished

The name of this web application is a bit misleading, because it is not a full-featured FTP client – not yet, anyway. It can do only these things:

  1. Log in without cookies or storing anything in a database or elsewhere – the data is kept only in the session, so it has a much shorter lifetime
  2. Log out
  3. Load the contents of an FTP folder
  4. Browse the folder hierarchy up or down using links
  5. Display the contents of an FTP file with syntax highlighting

The following languages and extensions are supported for syntax highlighting:

  1. PHP – .php
  2. C++ – .cpp, .h
  3. CSS – .css
  4. C# – .cs
  5. Java – .java
  6. JavaScript – .js
  7. TypeScript – .ts
  8. Python – .py
  9. SQL – .sql
  10. XML – .xml
  11. HTML – .html, .htm
  12. ASP.NET Web Form – .aspx

If a file has none of the extensions listed above, the plain text highlighter is used. That means no highlighting, but with line numbers. The program cannot yet open a specific subfolder/path right after you open it. However, nothing stops you from clicking your way to that path the first time and then bookmarking it.

You can see the source code of the website on The link is deader than Flash Player., while the website itself is at The domain evaporated like prepaid credit with Oskar.. I wrote this program for the times when I might be forced to code on a Chromebook, so that I could easily take a look at FTP and check how I wrote some code earlier, and so on. The website does not even have any graphics, yet it still took me half a day to write it.

There are 2 factors to blame – it is my first finished website in PHP, and I developed it in Visual Studio with the “PHP for VS” plugin, which can only do the basics. I also tried Rapid PHP and PhpStorm, but I could not get debugging working there, and debugging is the most important thing for me. The syntax highlighting then looks something like this:

Categories

Leave a Reply