Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Klaus-L  
#1 Posted : Tuesday, February 9, 2021 12:04:07 PM(UTC)
Klaus-L

Rank: Newbie

Groups: Registered
Joined: 2/4/2021(UTC)
Posts: 4
Germany
Location: NRW

Hello,

is there a way, to let the user upload files to the Server?
Something like "send attachment"?

Greetings
Klaus
bbv  
#2 Posted : Tuesday, February 9, 2021 2:49:48 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 438

Was thanked: 75 time(s) in 75 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
Klaus-L  
#3 Posted : Tuesday, February 9, 2021 3:31:35 PM(UTC)
Klaus-L

Rank: Newbie

Groups: Registered
Joined: 2/4/2021(UTC)
Posts: 4
Germany
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.
bbv  
#4 Posted : Tuesday, February 9, 2021 3:56:20 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 438

Was thanked: 75 time(s) in 75 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
Users browsing this topic
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.