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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:24:51+00:00 2026-05-16T01:24:51+00:00

I plan to use ASIHttpRequest for downloading files from back-end server. Before actions, post

  • 0

I plan to use ASIHttpRequest for downloading files from back-end server. Before actions, post questions here to know more about this feature.

As sample source codes given : ( demonstrate downloading remote JPG file )

    ASIHTTPRequest *request;
request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/images/small-image.jpg"]];
[request setDownloadDestinationPath:[[NSHomeDirectory() stringByAppendingPathComponent:@"Documents"] stringByAppendingPathComponent:@"1.png"]];
[request setDownloadProgressDelegate:imageProgressIndicator1];
[networkQueue addOperation:request];

My questions are:

  1. It can download any formats files, such as MP3, video file etc ? Any limitations, i,e, file size, time out ?

Seem like that just need set up the remote file path, “http://allseeing-i.com/ASIHTTPRequest/tests/images/small-image.jpg“, then it can download everything remotely with HTTP protocol.

  1. How about the resume function ?

It provides setting for “RESUME” via YES/NO, is that enough for normal resume feature ? For example, if the file is big, pause it , then hope to resume it from last time.

Thanks for any inputs or comments, I need investigate this before adopting this into my project. Thanks in advance !

  • 1 1 Answer
  • 1 View
  • 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-16T01:24:52+00:00Added an answer on May 16, 2026 at 1:24 am

    You posted this on the asi http request group at the same time, and got an answer there:

    http://groups.google.com/group/asihttprequest/browse_thread/thread/34eced6759cb7327/47aef091a77331fd?lnk=raot#47aef091a77331fd

    (If you’re going to post your question in multiple places at the same time, it’d at least be polite to record the fact that you’ve already got an answer!)

    Answers were (from BenC, the ASIHTTPRequest author):

    1: Yes, you can download any file, of any size. I think the only theoretical limit is the amount of free space you have on the device.

    By default, requests will time out if they have not received any data for 10 seconds. You can increase the timeout period by setting the timeoutSeconds property of the request, or change the default with [ASIHTTPRequest setDefaultTimeoutSeconds:x]. Note that this doesn’t mean a download must complete in under 10 seconds, only that it must not get stuck for more than 10 seconds.

    and:

    2: Yes, the resume feature is a good way to handle larger downloads, especially on WWAN connections where losing connectivity is much more common. The two things to remember about resuming downloads are:
    – You must configure requests to be resumed in advance – if you might want to resume a request at some future point, you must set it up to be resumed before you start the download (see the documentation for details)
    – Not all downloads can be resumed – the server must support resuming for the resource you are downloading. Generally, resuming is not supported if the content is dynamically generated.

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

Sidebar

Related Questions

I plan to use PyInstaller to create a stand-alone python executable. PythonInstaller comes with
I plan to use a distributed cache in my load-balanced webapp. So I'm going
If I plan to use data caching do I have to worry about conflicts
If you do not plan to use lazy loading, should deferred loading be explicity
I have a constant value that I only plan to use once in my
I'm looking to build a query that will use the non-clustered indexing plan on
When writing a T-SQL script that I plan on re-running, often times I use
I plan to be storing all my config settings in my application's app.config section
I plan to serialize a Django model to XML when it's saved or updated.
We plan to redesign, improve our (C#) application architecture. Anyone has some framework, hompage

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.