Giter VIP home page Giter VIP logo

Comments (5)

N4S4 avatar N4S4 commented on May 28, 2024

Hi,

Could you post the entire authentication code?

from synology-api.

nitko12 avatar nitko12 commented on May 28, 2024

Whole of it is in the picture

from synology_api import filestation, downloadstation
fl = filestation("192.168.5.100", "5000", "<user>", "<password>")

Second line produces the error somewhere in the module, if I'm not mistaking, here:

self._sid = session_request.json()['data']['sid']

from synology-api.

tjsry0466 avatar tjsry0466 commented on May 28, 2024

change dsm_version 2 -> '3'

from synology-api.

N4S4 avatar N4S4 commented on May 28, 2024

Since the last version you need to specify dsm version otherwise DSM 6 will be as default, in the readme file there are instructions,

fl = filestation.FileStation('Synology Ip', 'Synology Port', 'Username', 'Password', secure=True, cert_verify=True, dsm_version=7)

Try like this and let me know please

from synology-api.

N4S4 avatar N4S4 commented on May 28, 2024

Issue close due to inactivity

from synology-api.

Related Issues (20)

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.