lundi 12 août 2019

Manipulate remote files via ssh

I need to improve a c++ software.

This software simply connects to remote shares and move (archive) files based on some rules.

It works on windows and read files on windows shares.

Now I need to add linux support: the software will remain on a Windows server, but it will need to read files on remote Linux hosts.

Linux hosts are Debian, Centos, RedHat and Ubuntu. It is not possible to have samba on these servers.

I need to:

  • Read directories
  • Read files
  • Read file attributes
  • Delete files

There is a "boost" way to achieve this result?

If not do I need to use libssh or is preferable libssh2? I will need to study one of these?

Aucun commentaire:

Enregistrer un commentaire