Code Monkey home page Code Monkey logo

putio-sync's People

Contributors

cenkalti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

putio-sync's Issues

Feature: User configurable download location

Hey, first thank you for the amazing tool.
I recently bought an HDD to sync my put.io library locally for faster access/less download.
I was looking into options to continuously sync them on windows and very happy to see you guys have an "official"(?) way to do it.
The problem is my $HOME(C:/) is on an M.2 SSD which is not big enough. So I was looking on how I can make it use D:/putio-sync (or any other static path) instead.
Noticed the executable in static/bin which I think has some kind of "Find the home dir append putio-sync, just that" kind of static logic(although could not pinpoint the exact line), was wondering if there are any plans to support this functionality or maybe you guys know of a way to fool it into using D:/ . (e.g. Changing the $HOME for the executables maybe? could not find how I can do it in windows though)

I can also lend a hand especially on the typescript side for adding this feature. :)

Again thank you for such a user-focused approach to you product, love it!

Cok tesekkurler ve iyi calismalar.

Something is broken

Hey guys,
I have Putio-sync running on a Mac; having quitted the Putio app on the Mac and now wanting to start the server.. I am stuck with the spinning wheel after the authorisation screen.
Please help.

config.toml setup

How do I setup the config.toml file to utilize the username and password, instead of passing it with the command each time?

I put it as:
PUTIO_Username="[username]"
PUTIO_Password="[password]"

And I receive the error "empty username". I also tried without the quotes, and received some character error. These make me believe I'm configuring it incorrectly.

1.0 Release Downloads Windows

Downloads are missing proper file extensions. Tried .EXE and .MSI and neither seemed to work on Win 7 SP1. Thanks

Can't set the destination directory outside of the current user's home dir?

The file tree browser for setting the destination directory starts in my home directory, and won't let me walk up the directory hierarchy. I sync my files to a folder under /mnt, and need to be able to browse over.

I tried working around this by creating a symlink, but my symlink'ed directory doesn't show up in the file tree browser.

Windows does not allow for a colon in the file name, and this will cause the sync to hault

Windows will not allow for a colon in a path or file name, among others. If that happens the sync errors out and grinds to a stop. Was unsure if this belonged in the putio-sync or putio-sync-desktop repo so I've posted it in both.

Two changes could be made to address this:

  1. Remove colons.

  2. When this error is encountered, log it, and continue to the next file

This is the full list of restricted characters that can not be in a path or file URL on Windows. In practice, all of them should be removed.

  • < (less than)
  • > (greater than)
  • : (colon)
  • " (double quote)
  • / (forward slash)
  • \ (backslash)
  • | (vertical bar or pipe)
  • ? (question mark)
  • * (asterisk)

Source: https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions

Sorting ignores failed states

[
{
"download_status" : "failed",
"file_length" : 367458304
},
{
"download_status" : "completed",
"file_length" : 366856192
},
{

     "file_length" : 733562880,
     "download_status" : "failed"
     },
  }

]

Cannot Load Local File Directory (Bug)

Steps To Repeat

  • Installed on Windows 10 via Git command.
  • Created Shortcut to C:\Projects\Go\bin\putio-sync.exe -server
  • Ran above shortcut with admin rights
  • Loaded: http://127.0.0.1:3000/
  • Clicked Destination Folder -> Change
  • The page hangs:
    screenshot-127 0 0 1 3000-2017-01-28-19-49-40

Error

  • Getting 500 error onopen /: Access is denied. on http://127.0.0.1:3000/api/tree

Experiment with O_SYNC

Issue #4 could be related with flushing all the data back into the fd. Try out O_SYNC and experiment with the resulsts.

Cannot get pass the authorisation

Hi guys,
For some reason I am unable to get pass the authorisation once after running the server.
This is the error from the console:
[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (config, line 0)
[Error] Unhandled promise rejection – null
(anonymous function) (index.min.js:2:12404)
D (index.min.js:2:11795)
(anonymous function) (index.min.js:2:12275)
exports (index.min.js:1:17139)
(anonymous function) (index.min.js:2:15545)
v (index.min.js:2:15403)
g (index.min.js:2:15428)

If I restart the browser and visit 127.0.0.1 I get the web ui but I cannot save the settings or start the sync, errors from console then:
[Error] Failed to load resource: the server responded with a status of 400 (HTTP/2.0 400) (list, line 0)
[Error] Unhandled promise rejection – Object
Object
(anonymous function) (index.min.js:2:12404)
D (index.min.js:2:11795)
(anonymous function) (index.min.js:2:12275)
exports (index.min.js:1:17139)
(anonymous function) (index.min.js:2:15545)
v (index.min.js:2:15403)
g (index.min.js:2:15428)
[Error] Unhandled promise rejection – Object
Object
(anonymous function) (index.min.js:2:12404)
D (index.min.js:2:11795)
(anonymous function) (index.min.js:2:12275)
exports (index.min.js:1:17139)
(anonymous function) (index.min.js:2:15545)
v (index.min.js:2:15403)
g (index.min.js:2:15428)
[Error] Failed to load resource: The network connection was lost. (list-downloads, line 0)
[Error] Unhandled promise rejection – Error: Request has been terminated
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.
Error: Request has been terminated
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.
(anonymous function) (index.min.js:2:12404)
D (index.min.js:2:11795)
(anonymous function) (index.min.js:2:12275)
exports (index.min.js:1:17139)
(anonymous function) (index.min.js:2:15545)
v (index.min.js:2:15403)
g (index.min.js:2:15428)

Thanks for your help.

Runs on QNAP?

New to this; wondering if i can install this on a QNAP?

Runs on Synology ?

Works like a charm on my mac, bravo !
Wondering if i can install this on a Synology with an Intel 64-bit?

Is anybody working on a package .spk ?

Is there any dependancies ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.