sftpserver icon indicating copy to clipboard operation
sftpserver copied to clipboard

Add command line argument to support serving files from a specific directory

Open indera opened this issue 10 years ago • 1 comments

indera avatar Sep 24 '14 17:09 indera

hi, I tried...

parser.add_argument(
       '-r', '--root', dest='root', default=StubSFTPServer.ROOT,
       help='Directory to serve as root for the server'
   )

but it failed. Can someone help me to set a specific directory rather than the cwd directory. thanks and regards.

cmsethi avatar Jan 08 '24 06:01 cmsethi