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 3627940
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:57:09+00:00 2026-05-18T23:57:09+00:00

I got some question is using ASIHTTPRequest to tracking Upload/Download progress This is the

  • 0

I got some question is using ASIHTTPRequest to tracking Upload/Download progress

This is the sample from ASIHTTPRequest website

ASIHTTPRequest *request = [ASIHTTPRequest requestWithURL:url];
[request setDownloadProgressDelegate:myProgressIndicator];
[request startSynchronous];
NSLog(@"Max: %f, Value: %f", [myProgressIndicator maxValue],[myProgressIndicator doubleValue]

It says :myProgressIndicator is an NSProgressIndicator.

But it looks like Apple deprecated NSProgressIndicator

Check Here

So … how can I know the Upload/Download progress ???

Also another question is …if the Upload/Download was terminated before the task finish

How can I let the Upload/Download task continues start from the stop point(break point?) ?

Many thanks ~

  • 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-05-18T23:57:09+00:00Added an answer on May 18, 2026 at 11:57 pm

    As the documentation says, the delegate can also be an UIProgressView in case of iphone/ipad:

    Each ASIHTTPRequest has two delegates
    that can be used for tracking progress
    – downloadProgressDelegate (for downloads) and uploadProgressDelegate
    (for uploads).

    Progress delegates can be
    NSProgressIndicators (Mac OS X) or
    UIProgressViews (iPhone).
    ASIHTTPRequest will automatically
    cater for the differences in the
    behaviour of these two classes. If you
    want, you can also use a custom class
    as a progress delegate, as long as it
    responds to setProgress:.

    • If you are performing a single
      request, you set an upload and/or
      download progress delegate on that
      request
    • If you are performing multiple
      requests in a queue, and you want to
      track overall progress for all
      requests in the queue, use a
      ASINetworkQueue and set the progress
      delegate of the queue
    • If you want to
      do both of these at the same time,
      this is possible too (as of v0.97)

    source: http://allseeing-i.com/ASIHTTPRequest/How-to-use#tracking_progress

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

Sidebar

Related Questions

I originally posted this question looking for an answer with using python, got some
(I asked this question in another way , and got some interesting responses but
My previous question about this subject was answered and I got some tests working
I got some legacy code that has this: <?PHP if(isset($_GET['pagina'])==homepage) { ?> HtmlCode1 <?php
I've got some XML, for example purposes it looks like this: <root> <field1>test</field1> <f2>t2</f2>
I've already got some code to read a text file using fscanf() , and
I asked a question about interfaces previously and got some excellent responses. I'm really
I have asked a similar question here and got some answers, so first of
This question is related to one I asked the other day which I got
I got some question regarding the shared and static libraries.So let me tell you

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.