# %ftp-flags(5)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## NAME

%ftp-flags - "Configure the FTP console"
%http-flags - "Configure the HTTP console"

## SYNOPSIS

%ftp-flags "[`c`|`s`|`p`]" ; Default is undefined.
%http-flags "[`c`|`s`|`p`]" ; Default is undefined.

## DESCRIPTION

The %ftp-flags and %http-flags modify the behavior of the editor during FTP and HTTP file transfers, respectively. (see ftp(3) and find-file(2)).

By default, the flags are disabled, the facilities outlined below are enabled by setting the variable in the user configuration. The flag values for both flags are defined as follows:-

c

Create a console buffer (`*ftp-console*` for ftp, `*http-console*` for http) into which the FTP/HTTP command interactions with the remote server are logged.

s

Show the console whenever a FTP/HTTP operation is performed. The console is popped into the display pane and shows the current interaction status.

p

Show the download progress within the console window ('`#`' for every 2Kb downloaded)

Typically the following flags are enabled in the user.emf file:-

    set-variable %ftp-flags "csp"
    set-variable %http-flags "csp"

Once familiar with this facility the console pop-up becomes inconvenient and the flags are typically reduced to:-

    set-variable %ftp-flags "cp"
    set-variable %http-flags "cp"

This disables the pop-up feature of the console. Enabling the limited flag set allows some post mortem debugging to be performed if anything goes wrong. The console buffers are manually selected when these flags are set.

## NOTES

Note that ftp and http facilities are available on UNIX by default, but must be compiled in for Windows versions.

## SEE ALSO

%http-proxy-addr(5), find-file(2), ftp(3).

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>