Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-region
      . . .
      zoom-window
   Variable Reference
      . . .
      scp-windows-sftp-command
      scp-write-file-no-user-template
      scp-write-file-template
      screen-cols
      screen-lines
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
scp-write-file-no-user-template  Variable Reference   screen-cols


Epsilon User's Manual and Reference > Variable Reference >

scp-write-file-template: preference variable

Default value: "scp -q %l %u@%h:%f"

Normally Epsilon copies files using an sftp program, but you can set it to use a separate program instead, if you must use an old ssh system that lacks sftp support. Epsilon uses this template to build a command that copies a local file to a remote host using scp, in cases where it can't use an sftp program to do this. (See the scp-client-style variable.)

Epsilon substitutes the host name for %h, the user name for %u, the destination file name part for %f, and the name of the local file for %l. The local file will be a relative pathname to a file in the current directory of the scp command. The resulting command line should transfer the file quietly, without progress messages.

If the scp URL doesn't include a user name, Epsilon uses the scp-write-file-no-user-template variable instead. Epsilon checks for host-specific variables before checking this variable.



Previous   Up    Next
scp-write-file-no-user-template  Variable Reference   screen-cols


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.