Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
azpan47  
#1 Posted : Tuesday, November 3, 2009 7:00:32 AM(UTC)
azpan47

Rank: Newbie

Groups: Member
Joined: 10/20/2009(UTC)
Posts: 7

Hi,

Is it possible to get the full path of the file on the client side ? I see you can get the filename and guid as follows:

Code:
var guid = new String(imageUploader1.getUploadFileGuid(index));
var fileName = new String(imageUploader1.getUploadFileName(index));

But how do I get the file path ?

Thanks,

Pavan.

Edited by user Tuesday, November 3, 2009 12:22:12 PM(UTC)  | Reason: Not specified

Fedor  
#2 Posted : Tuesday, November 3, 2009 12:37:26 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Pavan,

Quote:
But how do I get the file path ?

Unfortunately, it is not possible for the security reasons.

Most of modern file browsers doesn't provide access to a file path of selected file in <input type="file"> field. So, we just try to keep the same security level as most popular web browsers.

Best regards,

Fedor Skvortsov

azpan47  
#3 Posted : Wednesday, November 4, 2009 12:31:58 AM(UTC)
azpan47

Rank: Newbie

Groups: Member
Joined: 10/20/2009(UTC)
Posts: 7

Fedor,

I am using image uploader to allow users to upload files other than images: pdf, doc, etc. I want to be able preview the file before upload so the users know which file they are uploading, eliminating the need for them to have to open a file explorer and decide which file to upload and then drag that file. This the the aurigma control would be all they need to be able to upload the file they want.

I am currently employing the multiple descriptions approach to provide a preview button next to the thumbnail.

Please let me know if there is a better way to do this.

Thanks,

Pavan.

Dmitry  
#4 Posted : Sunday, November 8, 2009 5:13:31 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello Pavan,

We can enable the feature to get full paths on client side in Image Uploader in the private-label version. If you are interested in, please, contact our sales team at sales@aurigma.com for licensing and pricing details.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
Forum Jump  
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.