Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

The file field cannot accept long file names

  • saman2
  • saman2
  • OFFLINE
  • Posts: 408
  • Thanks: 7
  • Karma: -1
1 year 6 months ago #334065 by saman2
hi.
The file field cannot accept long file names and displays an incomprehensible error in response to a user who sends a file with a long name. I want to use cb conditional to validate the file name so that if the submitted file name is too long, I can display the appropriate error to the user.
1- What is the maximum file name?
2- From which variable or substitution should I get the file name?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
1 year 6 months ago #334066 by krileon
Replied by krileon on topic The file field cannot accept long file names

The file field cannot accept long file names and displays an incomprehensible error in response to a user who sends a file with a long name.

Define a long file name? Find it hard to believe people are actually uploading files that have a name so long it hits system filename limits. You might be trying to workaround an issue that effects 0.1% of your users if that.

1- What is the maximum file name?

There isn't one. You're hitting a server limit.

2- From which variable or substitution should I get the file name?

I cannot help you with paid products without an active subscription.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum