sftp command extensions

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Does sftp provide for implementation specific verb extensions in a
manner similar to that used by ftp?

My understanding is that ftp provides a "site" command that can be
used for implementation specific commands.

I'm interested in doing something similar with an sftp (ssh2)
implementation.  For example, we might provide an implementation
specific command that sets a codepage mapping to be applied to
subsequent transfers.  Or we might provide something stateless like a
command to act on files in place on  the server (zip the file, encrypt
it) without transferring them first.

I'm sure much of this could be done with ssh (rlogin functionality)
but I'm specifically interested in knowing if sftp supports this

Thanks; Phil

Re: sftp command extensions

The SFTP specification allows for opcode extensions that both the client and
server have been coded to handle.   This is different than the FTP "site"
command, which the server only needs to coded to handle.

Quoted text here. Click to load it

Site Timeline