putdotio / putio-sync

Command-line program to sync a folder between put.io and your computer.
https://put.io
MIT License
54 stars 9 forks source link

config.toml setup #49

Closed bineyard closed 4 months ago

bineyard commented 4 months ago

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.

berkanteber commented 4 months ago

PUTIO_ prefix is only for environment variables. Can you try without it (i.e. just Username and Password)?

bineyard commented 4 months ago

PUTIO_ prefix is only for environment variables. Can you try without it (i.e. just Username and Password)?

That worked!