Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
indera opened this issue Sep 24, 2014 · 1 comment · May be fixed by #16
Open

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

indera opened this issue Sep 24, 2014 · 1 comment · May be fixed by #16

Comments

@indera
Copy link

indera commented Sep 24, 2014

No description provided.

@cmsethi
Copy link

cmsethi commented Jan 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants