Closed Logic-gate closed 6 years ago
Nice concept. It won’t be long before bash snippets become Mr Robot’s toolbox. Il look into this after my exams (7th December )
I might be able to make a concept soon though
Would make sense to integrate this into the transfer component as it already does file sharing. An option like -o
for one time would make sense. The idea being transfer fileToTransfer
would use transfer.sh while transfer -o fileToTransfer
would use ki.tc
Heads up...an update
## [0.3.4] - 2017-12-01
###/file , [+]/otf
[+] Increased upload limit to 100mb
[+] Sha256 checksum
[+] Web app at ki.tc/otf
[+] Malformed url in api response and web app - used for sharing via services that request header info as you share
[+] Increased path to length=7
[+] Implemented chunk based file upload method for larger files; testing showed a slight advantage of previous technique
An update...final one.
curl -F 'file=@Screenshot_20160729_014.png' http://ki.tc/file/u/
{
"file": {
"_id": "loosening.seismograph.selected",
"file": [
"File Name: Screenshot_20160729_014.png",
"Content Type: image/png"
],
"link": "http://ki.tc/file/loosening.seismograph.selected",
"malformed": "http ://ki.tc/file/loosening.seismograph.selected",
"sha256": "98ad20a92f29c8b0e815f266c661975cfc11375e7d92a3b55bf13f78057736cc",
"time": "Sat, 09 Dec 2017 10:46:28 GMT"
}
}
Opted for random readable end paths; rationale: easier to read > easier to memorize > easier to verbally share.
How it works:
Generate random longitude and latitude, pass it to what3words api > get the 3 words.
Sorry this is taking longer than I wanted, I will have this done over the next 3 days or so
Sure...
Check the documentation here http://ki.tc/otf/documentation the path is not set, also...it would be prudent to add local encryption prior to transmission. I can vouch for my service--records are terminated once accessed, but since it lacks ssl, I cant vouch for adequate transmission.
I am first going just get the one time file sharing working afterwards I will add encryption before upload and decryption upon download
First version in this commit d1b4c46491e61974a9582c7aec9af0b392524c23
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has been inactive for 30 days.
Issue Label:
Description: "One time" file sharing
Link will yield downloadable content. After it has been accessed, the record will be deleted forever.
^deleted
Note, if accessed from a browser, the file name will be represented correctly.