Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9251723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:46:23+00:00 2026-06-18T10:46:23+00:00

I am using a web service to get some images dynamically generated and sent

  • 0

I am using a web service to get some images dynamically generated and sent to my app. The problem is the file names tend to get super long based on all of the parameters I use to generate the images. Now I am running into situations where all of the parameters lead to names longer than 255 characters.

So I need a way to shorten them and also make sure they stay unique, similar to what bit.ly does but I need it accomplished on the device. As long as the final names are less than 255 characters I am good.

Not sure of how to accomplish this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:46:24+00:00Added an answer on June 18, 2026 at 10:46 am

    When you have a lot of data, and you want to fingerprint it, or get some unique value back = hash.

    You can sha1 or md5 your filename, and don’t worry about collisions unless you are building a nuclear powerplant, or going to crash a rover on mars.

    That or a lookup with a guid or incrementing number.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using web service method to run scripts it generated the some unwanted
I plan on using JSONP to call an external web service to get around
NET Web application which calls a remote web service to get some information. When
I am using AFNetwork in my application to get some data from my web
I'm using an ASP.NET application with a web service, and for some reason one
I have a web app which fetches some images from web and stores it
My application would be frequently connecting to the web service to get some data
I'm working on a really simple web service and hoping to get some help.
I have a method that I call to make web service requests using GET.
I get a byte stream from some web service. This byte stream contains the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.