Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • R rsm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LEFEBVREJP email
  • rsm
  • Issues
  • #2
Closed
Open
Issue created Apr 28, 2020 by LEFEBVREJP email@japOwner

SFTP classes

We need SFTP capabilities https://api.libssh.org/stable/libssh_tutor_sftp.html

This is what I'm thinking

SFTPSession  
   mkdir : bool  
   rmdir : bool  
   openFile(string, access_type) : SFTPFile  
   openDir(string) : SFTPDir
   error() : string  
   canonicalize (string) : string  
SFTPFile  
   write(string) : size_t  
   read(size_t) : string  
   close() : bool  
   seek() : size_t  
   tell() : size_t  
SFTPDir  
   hasNext() : bool <-- sftp_dir_eof(dir)  
   next() : struct imitating sftp_attributes_struct with c++ types.  
Assignee
Assign to
Time tracking