File upload issue

  • ricmcdonald
  • Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 86
  • Thank you received: 0

ricmcdonald created the topic: File upload issue

Hi
How can I stop the file uploader from stripping out spacers in a file name,
I want to be able to upload documents with a file name protocol that is easy to display in date order.
I upload a document with the file name 2019_03_13_document_name.pdf
But when the file is uploaded the name gets stripped back to 20190313documentname.pdf which makes it hard to quickly read
#234785
  • Posts: 5688
  • Karma: 118
  • Thank you received: 526

MarioPuco replied the topic: File upload issue

Hi,

I'd suggest that you enforce filemasks to your upload element since striping underscores from file name is a BF security feature.
You can format your upoload name anyway you like to get a format of your liking :)

crosstec.org/en/support/online-documenta...fferent-folders.html

If you want to change the upload function you can change it here ( but I would not suggest it) :
administrator\components\com_breezingforms\libraries\crosstec\functions.helpers.php

Hope this helps.

Regards,
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#234787
Moderators: ForumSupporttomeperica
Time to create page: 0.039 seconds

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99€

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here