Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: kein onFileChange event nachupload einer Datei im ioBroker Dateibrowser #3014

Open
1 task done
BenAhrdt opened this issue Jan 27, 2025 · 0 comments
Open
1 task done
Labels

Comments

@BenAhrdt
Copy link

BenAhrdt commented Jan 27, 2025

No existing issues.

  • There is no existing issue for my problem.

Description

Hallo, ich habe wie auf der Seite beschrieben, alle entsprechenden Funktionen (lesen, schreiben, usw.)im Einsatz. Filestorage
Wird ein Datei geuploaded, so erfolgt jedoch kein onFileChange event.

Mein erstelltes object in der io-package.json:
{ "_id": "", "type": "meta", "common": { "name": "Downlink files", "type": "meta.user" }, "native": {} }

und in der main.js habe ich folgendes deklariert, aber es wird kein event aufgerufen, wenn eine Datei in den ordner adaptername.0...... geladen wird:
this.on('fileChange', this.onFileChange.bind(this)); } onFileChange(id, fileName, size) { // restart adapter after upload this.log.debug([onFileChange]: id: ${id}, fileName: ${fileName}, size: ${size}); }

Reproduction instruction

No response

JS-controller version

7.0.6

Node version

20.17.0

@BenAhrdt BenAhrdt changed the title [bug]: kein onfilechange event nachupload einer Datei im ioBroker Dateibrowser [bug]: kein onFileChange event nachupload einer Datei im ioBroker Dateibrowser Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant