-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
gateway: file upload functionality? #1819
Comments
Yes, this used to be in and was removed to refactor. (Refactor didn't happen-- bad @cryptix). We should add it back in. Should be a config option |
yeah, we used to have it. But it was quite complicated... now that we have patch code, we can rewrite it using that to reenable the functionality |
sorry... 😞 |
Seems to be implemented in #1543 |
There is one #1845 but it depends on the add refactor to be merged. |
I can take a look again this weekend. Does #1845 allow one to upload a directory? |
@ebuchman yes it does, see rht@545c07a#diff-19ceb36d78bde310c54cc44a95bec44cR269. Sorry for reinventing your PR. |
Currently the added node is pinned by default (will add option for this). |
@jbenet will this enable https://botbot.me/freenode/ipfs/msg/50741140/ ? |
Would it make sense to enable adding a file to node via HTTP POST/PUT request to gateway? This would enable IPFS to be used in lots of web applications that just need GET/PUT functionality. This option should not probably be default and could be enabled via a command line switch (similarly how unrestricted-api is enabled).
The text was updated successfully, but these errors were encountered: