Welcome Guest Search | Active Topics | Sign In | Register

controlling the filename length with the EO ajax uploader Options
tim
Posted: Tuesday, August 23, 2011 2:57:50 AM
Rank: Member
Groups: Member

Joined: 3/29/2009
Posts: 29
Hi, I am using the EO Ajax uploder and I have control over the file type (extension) & the size of the file, using user configurable parameters:
AJAXUploader1.MaxDataSize = (GetGlobalParameter("MaxUploadSoundFileSize") * 1024)
AJAXUploader1.AllowedExtension = GetGlobalParameter("AllowableAudioFileExtensions")
This works well, as the client side deals with incorrect files before they attempt to upload them

What I was after as well though was a way to control the length of the file name
Ie, blocking very long file names

Is this possible with the existing EO Ajax uploader

I am using the latest version compatable with VS 2010

Thanks

Code: Visual Basic.NET
eo_support
Posted: Tuesday, August 23, 2011 6:58:40 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

No. You cannot do that. If you do not wish to have long file names on your server, you can rename the file to a shorter name when you handle FileUploaded event.

Thanks!


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.