Your comments

Hello,

currently, setting FTP file permissions (chmod) is not possible in Textastic, but I plan to add this in a future update.

It would be a good idea to have some text manipulation commands to modify a text selection.
SFTP is supported. Go to the File Transfer section using the "globe" button, choose "+" on the right and select "(S)FTP connection). Then choose "SFTP (SSH Connection)" as Protocol.
I could reproduce the issue and found a workaround. It seems to be a problem with how Apache redirects requests for directories that don't end in a slash ("/").

In my Apache config, I found this comment:

# The following directives disable redirects on non-GET requests for
# a directory that does not include the trailing slash.  This fixes a
# problem with several clients that do not appropriately handle
# redirects for folders with DAV methods.
#
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully



As soon as I added the following line it worked with Textastic, too:

BrowserMatch "^Textastic" redirect-carefully

If you add this line to your Apache config, Textastic should be able to connect without problems.
In Textastic 2.2 you can tap on the status bar once to go to the start of the document – tap a second time on the status bar to go to the end of the file.
I'm currently working on a new syntax highlighter for Textastic 3.0 that will allow you to add custom syntax definitions.