Das vordefinierte File Objekt hat mehrere Methoden (Funktionen) die das Handeln mit Textdateien sehr erleichtern.
The predefined Files object has several utility methods for working with text files which are pretty easy to use.
Außerdem wird jedem Bild im file Attribut das File Objekt für das Bild zugewiesen; das benötigen wir später für den tatsächlichen Upload der Datei.
We also add a file attribute to each image specifying the File for the image; this will let us fetch the images for actually uploading later.
Das vordefinierte File Objekt (vordefiniert heißt dass man es nicht extra deklarieren braucht) beinhaltet mehrere Methoden um in Dateien zu schreiben und lesen.
The predefined File object (predefined means that you do not need to declare it yourself) includes several methods for writing and reading to files.
Die Objekt URL ist ein String, der das File Objekt identifiziert.
The object URL is a string identifying the File object.
Wenn man aus HTML mit einer URL auf ein File Objekt verweisen möchte, dann kann man dafür eine Objekt URL erzeugen
When you have a File object you'd like to reference by URL from HTML, you can create of these must be released.
Das FileList Objekt, das vom DOM geliefert wurde, enthält eine Liste aller Dateien, die vom Benutzer ausgewählt wurden. Jede der Dateien wird durch ein File Objekt repräsentiert.
The FileList object provided by the DOM lists all of the files selected by the user, each specified as a File object.
Der Upload wird durch eine Funktion in upload.jss bearbeitet, welche cFos PNet's file Objekt nutzt um das Hochladen von Dateien mit frei wählbarer Größe zu erlauben.
Upload is handled by a function in upload.jss, which uses cFos PNet's file object to allow upload of files with an arbitrary size.