[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SFTP: signal or command transfer
[Thread Prev] | [Thread Next]
- Subject: Re: SFTP: signal or command transfer
- From: Jakub Jelen <jjelen@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 24 Mar 2025 12:03:01 +0100
- To: libssh@xxxxxxxxxx
Hi, It really depends on the way how the signalling is implemented. If it is in the unix philosophy creation of a file/path that is watched by the processing application, than it can be dome simply by creating that file through sftp. If you really need to run some commands, this needs to be done outside of SFTP session. But if the server accepts also SSH commands/exec channels (is not restricted to the sftp subsystem), it should be super-easy to write something with libssh that will run a command once you are done with uploading the files. Jakub On Sun, Mar 23, 2025 at 8:15 PM Ogogon !!! <ogogon@xxxxxxxxxx> wrote: > > Colleagues, please tell me, is there a mechanism in SFTP that allows you > to transfer not only files, but also a signal or command? > In other words, I transferred the files that form the required set, and > then gave a command and they were processed. > > Thank you for your answers, > Ogogon. >
SFTP: signal or command transfer | Ogogon !!! <ogogon@xxxxxxxxxx> |