diff --git a/utils/flees-manager.py b/utils/flees-manager.py index c360179..c78187e 100755 --- a/utils/flees-manager.py +++ b/utils/flees-manager.py @@ -207,6 +207,11 @@ def print_rest_api(shares, config, opts): share['name'], share['pass_hash'] )) + print("cat file_to_send.ext | curl -F file='@-;filename=the_file_name.ext' %s/upload/%s/%s"%( + config['public_url'], + share['name'], + share['pass_hash'] + )) elif opts.type == "download": print("Links to download files:") share_path = os.path.join(