Jason Cheek
Posts: 0
Joined: Sun Jan 12, 2014 8:00 am

How do I get the FileName after uploading?

After uploading an image file, how do I get the FileName so I can display it on another page? For example, a profile image.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How do I get the FileName after uploading?

Hello Jason,

Could you please clarify do you upload an image to the Appery.io db or to the Media Manager?

Jason Cheek
Posts: 0
Joined: Sun Jan 12, 2014 8:00 am

How do I get the FileName after uploading?

I'm sorry for the delay in my response. I was uploading it to the database. I do not know about the media manager.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How do I get the FileName after uploading?

Hi Jason,

After you upload file with upload service this service will return your "filename" and "fileurl" response parameters.

Thus your response settings for upload service should be as following:
Details: http://prntscr.com/75csoj/direct

So on "success" action of this service you can add event handler or use mapping where you can store these response parameters ("filename" and "fileurl") to some storage.

Ten you can use stored in storage values in way you need.

Regards.

Amr Osman
Posts: 0
Joined: Sat Nov 14, 2015 11:58 am

How do I get the FileName after uploading?

My File Upload doesn't return file name Yurii. ???
Please Help.

Image

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

How do I get the FileName after uploading?

You can create such parameters for your service.

Amr Osman
Posts: 0
Joined: Sat Nov 14, 2015 11:58 am

How do I get the FileName after uploading?

@Illya Stepanov
Yes I did So. Thanks for reply and Sorry for the late update

Return to “Issues”