Rank: Newbie
Groups: Registered
Joined: 2/4/2021(UTC) Posts: 6 Location: NRW
|
Hello,
is there a way, to let the user upload files to the Server? Something like "send attachment"?
Greetings Klaus
|
|
|
|
Rank: Administration
Groups: Registered, Administrators Joined: 7/21/2014(UTC) Posts: 498
Was thanked: 88 time(s) in 88 post(s)
|
Sure. Just use the action Load/Save Binary File and set the FilePath to Client device with Let user select file on device option
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 2/4/2021(UTC) Posts: 6 Location: NRW
|
ok, that means, I have to make to actions:
1. load binary file to node 2. save node to binary file. But here I have to provide a filename, or?
But how do I get the filename from "load"? So that the user can upload several files?
I simply want to give the user the possibility to upload several files.
|
|
|
|
Rank: Administration
Groups: Registered, Administrators Joined: 7/21/2014(UTC) Posts: 498
Was thanked: 88 time(s) in 88 post(s)
|
mt-last-file-path() will give you the last file name.
It depends on what you want to do with the loaded file. You could save it in your database. Or you can save it on server - yes, in this case you have to choose under which name to save
|
|
|
|
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.