Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Missing feature: Unable to work with binary files (upload/rename) #1113

Open
ILAsoft opened this issue Oct 10, 2017 · 11 comments
Open

Missing feature: Unable to work with binary files (upload/rename) #1113

ILAsoft opened this issue Oct 10, 2017 · 11 comments

Comments

@ILAsoft
Copy link

ILAsoft commented Oct 10, 2017

FastHub Version: 4.4.2
Android Version: 8.0.0 (SDK: 26)
Device Information:

  • Manufacturer: Google
  • Model: Pixel XL

Currently I can add text based files directly in FastHub, but uploading an existing file is not supported (neither via native buttons, nor by sending files from other apps). It is especially painful in cases where the file is binary, as copy-pasting is not an option here eirher. Additionally, rename is not supported for binary files (it does not appear to be supported by the GutHub web-based UI either, was only able to complete the required action via Git and GitDesktop).

@k0shk0sh
Copy link
Owner

well, in general GitHub doesn't have any upload API so I'm not so sure what is your request here even though you have confirmed that this isn't possible either via GitHub website.

@ILAsoft
Copy link
Author

ILAsoft commented Oct 10, 2017

I have not verified it, but was hoping that it would be possible via a method similar to https://developer.github.com/v3/repos/contents/#create-a-file (noted that it says content is base64 encoded, so may allow binary). Similarly on the rename and other file management tasks.
Again, this is more of a nice to have feature request and not a bug/issue.

@k0shk0sh
Copy link
Owner

alright thanks for the clarification.

I'm only worrying about OOM in this case and how huge the binary files would be, as I can't confirm how much each device could take of memory to be able to base64 encode it and send it within the request body, that's a really huge problem and needs to be thought about it carefully.

@usakhelo
Copy link

usakhelo commented Dec 7, 2017

It would be great to have uploading files feature. Instead of editing files in app I would just pick newer file from file browser.

@k0shk0sh
Copy link
Owner

k0shk0sh commented Dec 7, 2017

GitHub doesn't support file uploads the problem :'(

@usakhelo
Copy link

usakhelo commented Dec 7, 2017

And the app doesn't store the repo on disk somewhere so that I just replace the file and then push?

@k0shk0sh
Copy link
Owner

k0shk0sh commented Dec 7, 2017

You can download the repo but no git integration

@usakhelo
Copy link

usakhelo commented Dec 8, 2017

Sorry I couldn't find the app useful and filed the refund. Everything is working fine except there's no functionality I need.

@yakov116
Copy link
Collaborator

yakov116 commented Dec 8, 2017

@usakhelo IMHO I feel that is not fair.

Its not like any other app provides this AND there is no api

@k0shk0sh
Copy link
Owner

k0shk0sh commented Dec 8, 2017

@usakhelo you should have contacted me and I had refund you more faster ;).

@usakhelo
Copy link

usakhelo commented Dec 8, 2017

I should have read description more carefully, that's what I missed. Sorry guys. App is great really, it's just not for me right now.

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

No branches or pull requests

4 participants