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

[Feature Request] Allow specifying post_file via relative/absolute path #226

Open
tylerbrandt opened this issue Dec 12, 2018 · 2 comments
Open

Comments

@tylerbrandt
Copy link

tylerbrandt commented Dec 12, 2018

It's really cool that you can specify a file to use with post requests from the command line! However, currently, one can only specify the -p, --post_file param using a bare filename (no path) which must exist in the same directory in which you are running bees (due to the scp command which assumes that the destination of the file on the bee file system is ~/%(post_file)s). It would be more ergonomic to be able to specify a relative or absolute path to a file, and have that file read and sent to the bee swarm.

I think the line which needs to be changed is the one which tells ab where to find the file:

options += ' -p ~/%s' % params['post_file']

@radzhome
Copy link
Contributor

radzhome commented Apr 2, 2019

I started my own fork of this, don't think this is maintained anymore but I am maintaining this - https://github.com/radzhome/beeswithmachineguns2

@Phara0h
Copy link

Phara0h commented Aug 5, 2019

I started my own fork of this, don't think this is maintained anymore but I am maintaining this - https://github.com/radzhome/beeswithmachineguns2

If you like this kind of open source work we are looking for people #230

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

No branches or pull requests

3 participants