ownCloudcmd with netrc on Windows doesn't work

Unfortunately I have to confirm the reported behavior. This made me somewhat curious, so I did some investigations on Win7. Finally I found a solution that works for me:

  1. As I expected, the file is named .netrc - without an decoration!
  2. The file .netrc is located at %HOME%.
  3. The file .netrc contains Linux line endings. This cannot be done with notepad, IFAIK.

After that, I was able to perform a sync without entering my credentials.

I hope this works for you as well.

BTW, regarding the file naming topic: I have many of those “extension-only” files on my machine:

Verzeichnis von C:\Users\me

03.08.2017  11:34    <DIR>          .
03.08.2017  11:34    <DIR>          ..
15.08.2016  10:04               167 .astylerc
06.01.2017  11:27    <DIR>          .atom
03.08.2017  14:02             8'038 .bash_history
12.11.2012  12:43                77 .cvsignore
03.08.2017  11:34               224 .gitconfig
06.05.2016  14:24               161 .gitignore
14.11.2014  17:12                84 .lesshst
29.11.2016  17:45                48 .minttyrc
12.04.2013  10:31                25 .profile
07.11.2014  12:31    <DIR>          .ssh
27.07.2017  12:17            16'581 .viminfo
1 Like