Variable: ange-ftp-gateway-tmp-name-template
ange-ftp-gateway-tmp-name-template is a customizable variable defined
in ange-ftp.el.gz.
Value
"/tmp/ange-ftp"
Documentation
Template used to create temporary files when FTP-ing through a gateway.
Files starting with this prefix need to be accessible from BOTH the local machine and the gateway machine, and need to have the SAME name on both machines, that is, /tmp is probably NOT what you want, since that is rarely cross-mounted.
Source Code
;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
(defcustom ange-ftp-gateway-tmp-name-template "/tmp/ange-ftp"
"Template used to create temporary files when FTP-ing through a gateway.
Files starting with this prefix need to be accessible from BOTH the local
machine and the gateway machine, and need to have the SAME name on both
machines, that is, /tmp is probably NOT what you want, since that is rarely
cross-mounted."
:group 'ange-ftp
:type 'directory)