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-list-flags
      scp-read-file-no-user-template
      scp-read-file-template
      scp-run-helper-no-user-template
      scp-run-helper-template
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
scp-read-file-no-user-template  Variable Reference   scp-run-helper-no-user-template


Epsilon User's Manual and Reference > Variable Reference >

scp-read-file-template: preference variable

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

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. When Epsilon tries to access an scp URL, it uses this template to build a command that copies a file from a remote host to a local file, 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 file name part for %f, and the name of the local destination 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-read-file-no-user-template variable instead. Epsilon checks for host-specific variables before checking this variable.



Previous   Up    Next
scp-read-file-no-user-template  Variable Reference   scp-run-helper-no-user-template


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