© Copyright Robert Vasvari, 1993-2018.
What happened to the SSH protocol I have been using
before? What does SFTP(ns) means?
Well, it is still there but has been merged with SFTP into and
intelligent SSH-SFTP protocol. RBrowser will use both of them, and will
figure out which one to use for each particular file operation. If
either one is not available, RBrowser falls back onto using the other
exclusively. The SFTP(ns) in the viewer title means that a remote shell
(basis of the SSH protocol) is not available, so only SFTP is being
used. Since the SSH shell adds a loy of functionality, it is highly
desirable to have shell access. See Using
RBrowser with Secure Shell (SSH) for details.
RBrowser display a very erratic behaviour in SFTP mode, sometimes works, sometimes throws error messages when I connect. Why?
As explained above and in Using
RBrowser with Secure Shell (SSH), RBrowser tries to establish a bourne shell on the server host upon connection if that host allows it. If unable to do so, BRBrowser reverts to use the SFTP server, in this case RBrowser becomes just another SFTP client providing the same functionality as all the other SFTP clients. Upon login, RBrowser tests the server and tries to find a usable shell. Sometimes RBrowser does find the shell but it is buggy or has other setup problems which cannot be tested for. Many VPS hosts have this problem. While we have no cure for buggy shells and bad server setups, in these cases it is best to try to limit RBrowser to use only the SFTP server, which, if limited in functionality, at least is relatively consistent across various platforms. You can do this like this: When this connection is not open, or if this connection is new, just bring up the Login Panel (Go/New Site menu). If this is an existing site, find it under the Site List popup button. That should populate all fields, including the Protocol button on the top. If this is a new site then set the protocol to SFTP, fill out all fields, before logging in, set the ssh mode buttion (above the Login button) to SFTP only. That should limit this connection to use SFTP only, hopefully that should solve these kinds of problems.
I want to make RBrowser use my ls, not the one in
/bin. My ls is in /my/home/bin. How do I do this?
In some rare cases like on older linux systems, ls's output
does not conform to the bsd standard, so RBrowser chokes on it. If you
install a good version of ls in an alternate location, you can tell RB
by adding it to the top of the search path. This very rare, so there is
no GUI for it, but with a little hand editing it is totally possible.
First make sure you have a Site Pref file, by
clicking on "Site Preferences" on the login panel. Open the file (it is
in YOURHOME/Library/Application Support/RBrowser4) and find the key
called RBRemoteShellSearchPath. The value will look like this:
/bin:/usr/bin:/usr/5bin:/usr/ucb:/sbin:/usr/sbin:/usr/local/bin
Carefully edit it to include your bin dir:
/your/home/bin:/bin:/usr/bin:/usr/5bin:/usr/ucb:/sbin:/usr/sbin:/usr/local/bin,
save and connect!
I use BBEdit Lite to edit my cgi scripts. When I upload
them to my website, the web server cannot execute them. Why?
Most likely, the line endings in your file are mac (\r) and
not UNIX (\n) which is used on most webservers. The best thing to do is
to make sure your editor (BBEdit or TextEdit) uses unix line endings,
and use the binary mode (OPTION-COMMAND-B) in RBrowser to upload them.
I have a folders named xx.site or xx.com. In RBrowser they appear as files. Why?
Most apps use "file
packages" as their documents. These
are directories with an arbitrary file structure. They use a filename
extension to associate with an app. Regrettably, some apps claim very
generic names as their documents. In these cases both in the
Finder and in RBrowser they appear as files, not folders. RBrowser does not maintain app-document
file associations, it gets them from the Finder.
The "File/Show
Package Contents" menu can always be used to browse into a file
package (just like the
Finder). In later versions RBrowser will have a way to be told to
ignore certain filename extensions. Also, in the Finder can be
configured to ignore certain filename extensions and not treat it like
a
document of some app. Please see Apple's documentation for this.
I want to have a local copy of the file I'm editing, but
RBrowser hides it somewhere. Why is it not kept in the "Download
Folder" specified in the Preferences?
The [YOURHOME]/.rbtp/* location is used when you
remote-edit. This is only temp storage while editing. RBrowser will
clean up this path automatically when you are done, so do not put
anything in there! Remote Editing is not a download. If you want a
local
copy of your file, either just drag&drop or select the remote file
and click the File/Download menu and RBrowser will download the file to
your designated download folder.
RBrowser is not loading the contents of my
directories in FTP.. help!
Most likely you turned on your firewall, so the FTP data connection is
blocked from the server. Before login, set Passive FTP, to "Auto Passive"
on the Login Panel. This will allow RBrowser to test your setup and the
remite site to determine if Passive FTP is allowed and necassary. There
are times where it will simply not work because neither setting is
allowed. For instance ftp.microsoft.com does not allow passive ftp, and
your personal firewall will disallow non-passive ftp. In this case you
will have to make sure your personal firewall is off, then to
connecting to ftp.microsoft.com is possible in non-passive mode.
I get error messages like Connection Failed when I connect to my FTP
server, even though some folders did load. Why?
There are some (especially Public FTP) servers that are very
restrictive. RBrowser normally uses several simultaneous connections to
the same site to speed up the initial load of a site. Some servers only
allow a single connection. In these cases do the following:
1. Try a clean connection: before logging in, blow away the
existing Site Preference file for the host-username in
[YOURHOME]/Library/Appication Support/RBrowser4. When you connect the next time, RBrowser will reinitialize
the site again.
2. Start RB. On the login panel, fill the fields, select FTP, then hit
Site Preferences. On the limits
tab put 1 for both "Max Connections" and "Max Persistent Connections",
save then connect.
If things work, you can experiment with higher counts, but it is not
really necessary. This will slow
the initial connection down somewhat as you load one folder at a time,
but it should work!
I'm syncing my mac to another
UNIX box and the sync fails, I get many failure messages.. why?
Depending on the files you sync and the protocol you use there
are a large variety of errors you can get during the sync, especially
the first time. Different UNIX systems have various levels of tolerance
of certain filenames, character encodings, etc.. OSX is very permissive
in filenames, for instance it allows very long file names with strange
characters in them. Also, it is case preserving but NOT case sensitive.
The other host you are syncing to may be much more limited. If you get
errors, you should repeat the sync several times. If you keep getting
failures always at a certain place, well, you may have to leave that
folder out of the sync or try to change the source, or, if all fails
and you cannot see what the incompatibility is, contact support with
the error message, transcript, etc...
Remote-to-Local sync using FTP is not detecting file changes every time. Why?
FTP is a very poor protocol, and does not allow an error free
comparison of files, due to the fact that FTP servers trash mod dates during upload, and allow no checksums. Due to these limitations, RtL sync
in this case may not work correctly in some cases. With most FTP servers,
mod date and size changes can be detected. One must test these servers before
productions use, to make sure sync ops work as expected.