Ftp Menu Help
Name:Ftp Menu
Version:1.3
Last update:2019-11-27 14:12:56





This help file describes ftp interaction, and the Ftp Menu.

Abstract

The FTP menu allows quick access to files on a remote ftp server, useful for those that work on many different systems. Files downloaded and opened in Alpha with the help of the FTP menu are automatically uploaded again when they are saved. The idea is that the user can have the appearance of editing files on a remote site. To set this up, all that is needed is the name of the site, and a valid username and password.
The FTP menu works together with the three ftp clients Interarchy, Fetch and NetFinder, and with Alpha can actually access ftp servers without the help of any external client by using the ftp package contained in the tcllib distribution.

Activating the FTP menu

The FTP menu is activated in the dialog Alpha ↣ Global Setup ↣ Menus (click here to display the Menus Preferences dialog). Check the checkbox Ftp Menu among the global menus.
If using Alpha, you must choose either Interarchy, Fetch, or NetFinder as your ftp helper application. You can select the menu item Alpha ↣ Global Setup ↣ Helper Applications to set/change your helper app as necessary. Click here to display the Helper Applications Preferences panel.
Alpha can act as ftp client itself. To do this, select Use Tcl Service For Ftp in the WWW pane of the dialog found by selecting Alpha ↣ Preferences ↣ Global Preferences ↣ WWW and no external helper application is necessary. Click here to display the WWW Preferences panel.

Basic usage

The first you need to do is to get a list of the files at a remote site. This can be done by using the menu item Browse Remote…. A dialog is now opened where you fill in the host, path (optional), user id, and password.
Your ftp client (Interarchy, Fetch, or NetFinder) will now get a listing of the files at the remote site. The list is displayed in a list dialog. A menu item with your remote machine is added to the FTP menu. Selecting this menu item will display the file list again. This allows you to quickly download another file from the same place.

Cache

Alpha saves the directory listing in a cache to be able to quickly display them again without having to download them every time. Whenever new files are added to the remote site the cache becomes out of date. You can clear the cache by selecting Flush Cache from the FTP menu. The cache is also flushed when you quit Alpha. This forces the directory listing to be downloaded again. If you don't want to use a cache at all, uncheck Use Cache in the Ftp Utilities submenu.

Mount points

The point where you start browsing a remote site is called a mount point. There are two types of mount points: temporary and permanent. You can always make a temporary mount point permanent by using the menu item Ftp Utilities ↣ Make Permanent….

Ftp filesets

An ftp fileset in a set of files in a remote directory, which will be put in a submenu in the Fileset menu. Selecting a file in the Fileset menu will download and open it for editing in Alpha.
You create a new ftp fileset by using Create Fileset in the FTP menu or by using New Fileset… in the Fileset menu and choosing the type ftp. Now the listing of the files in the fileset is downloaded and the fileset is inserted in the menu.

Passwords and Security

Here are a few considerations regarding security you should be aware of:

Ftp Menu Items

This section lists all menu items in the FTP menu giving a short description of their functionality.
Browse Remote…
Browse a remote site.
Browse Current… (with )
Browse the mount point of the frontmost window.
Browse Mounts…
Lets you pick a mount point to browse from a list of all your mount points both temporary and permanent.
Save As At…
Lets you Save as the frontmost window at any of your mount points.
Save A Copy At…
Lets you save a copy of the frontmost window at any of your mount points.

Ftp Menu Utilities

Add Mount Point…
Add a new permanent mount point. The password field is optional. After adding a mount point, you are given the option to add more if desired.
Edit Mount Point…
Edit any previously saved mount point. After editing a mount point, you are offered the list of all saved mount points again to select another to edit if desired.
Rename Mount Point…
Rename any previously saved mount point.
Remove Mount Point…
Remove a permanent mount point.
Make Permanent…
Make a temporary mount point permanent.
Create Ftp Fileset…
Create an ftp fileset. The password field is optional.
Set Defaults…
Lets you set default ftp mount point values, including host, directory, username, and password. Any or all of these values can be set, and will be used in the initial login dialog. (If you are adding several mount points at once, the login dialog will remember the values from last one added in this editing session.)
Use Cache
If checked, all directory listings are stored in a cache. Otherwise, the remote site is accessed whenever obtaining a listing for a mount point, or to reload a remote file which has since been closed.
Flush Cache
Deletes all files in the cache. The cache is also flushed whenever you quit Alpha. Note that if you have any currently open remote files, it will only be possible to save them after flushing the cache by using the Save As At menu item.
Forget Temp. Passwords
Flush the cache of all temporary passwords remembered this session, those that Alpha has specifically prompted you for in a separate dialog when attempting to open a remote site or file.
Ftp Menu Help
Opens this file.

Known problems

Please report any problem or bug you encounter in Alpha's Bug Tracker.
If Alpha launches Fetch from the FTP menu, Fetch occasionally get stuck after displaying its sign-on dialog. If this happens you have to switch to Fetch and dismiss this dialog before Fetch continues working. To avoid this problem completely uncheck "Show sign-on dialog at startup" in Fetch's Misc preference dialog.

License and Disclaimer

Copyright (c) 2001-2019, the Alpha Community.
All rights reserved.
The Ftp Menu package is free software and distributed under the terms of the new BSD license:
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ALPHA COMMUNITY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.