Version 9 of sftp

Updated 2012-02-08 16:05:18 by BF

SFTP stands for ssh file transfer protocol; curiously, the pertinent Wikipedia article [L1 ] refers to the operative IETF draft [L2 ] only rather obliquely. When encountering the term sftp, one may in fact see references to two different things:

  1. the secure file transfer program client, which is a command line program that comes with OpenSSH and which is an interactive interface similar to the normal ftp clients one may find on their platform.
  2. the true ssh file transfer protocol. http://en.wikipedia.org/wiki/SSH_file_transfer_protocol refers to this as being almost a remote file system protocol. Full support of the protocol is more than just running ftp over SSH-2 or with an SSL layer.

A vfs module for the ssh file transfer protocol would be extremely cool.


While there's a widespread belief that Expect is essentially necessary for effective automation of sftp (first sense), this is not true. Several distinct approaches exist [L3 ] [L4 ] [L5 ] ... [explain] OTOH, most of these seem to be alternative SFTP clients with built-in automation support, so for use from within Tcl the most portable solution may well be to use Expect (or sftp in batch mode, if that is sufficient).


BF - 2012-02-08 16:04:00

This guy claims to have a solution to the FTP on TLS problem https://groups.google.com/group/comp.lang.tcl/browse_thread/thread/2040029cb6d9d626/4a418d988305b0e0?lnk=gst&q=ftp+ssl#4a418d988305b0e0


BF - 2012-02-08 16:05:18

This guy claims to have a solution to the FTP on TLS problem https://groups.google.com/group/comp.lang.tcl/browse_thread/thread/2040029cb6d9d626/4a418d988305b0e0?lnk=gst&q=ftp+ssl#4a418d988305b0e0