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

  • SEARCH
  • Home
  • 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 8696449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:16:22+00:00 2026-06-13T01:16:22+00:00

I am migrating a shop over for a client. I have to pull all

  • 0

I am migrating a shop over for a client.

I have to pull all the old image files off her ‘shop’ which has no FTP access.

It allowed me to export a list of filenames/urls. My plan was to load them up in Firefox and use “Downloadthemall” to simply download all the files. (Around 2000). However about 1 1/3 have [ and ] in.

i.e.

cdn.crapshop.com/images/image[1].jpg

Downloadthemall freaks out and only reads it as

cdn.crapshop.com/images/image

And won’t download it because it isn’t a file.

Anyone got any ideas of an alternative way to pull a list like 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-13T01:16:24+00:00Added an answer on June 13, 2026 at 1:16 am

    See this solution that explains why the example URL you provided is invalid: Validation. After you look at that post you’ll see that, in the answer provided by @good, you have to encode characters that are not according to the specification using percent encoding, so the webserver will understand them.

    This calls for python… see this post: Percent encoding in python

    And then we can put it all together in a script, which you will use to read from stdin and output to stdout: python script.py < input > output.out.

    import urllib, sys
    
    while 1:
        try:
            line = sys.stdin.readline()
    
        except KeyboardInterrupt:
            break
    
        if not line:
            break
    
        print urllib.quote(line.strip(), safe=':').strip('\'')
    

    Then, hopefully, download them all will parse that list of files (the input to that script is supposed to be a list of url’s separated by a newline) that have been corrected by the script.

    You may be interested in this post as well: Downloading files with python. Which shows you how to download files (web pages in particular) using python.

    Good luck!

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

Sidebar

Related Questions

I'm migrating an old Sybase database to MySQL and I have to create foreign
I'm migrating a VB6 application, which has a subroutine that fires upon a QueryClose
after migrating a system/database we modified a central table which has been used for
For migrating my old database from MySQL to SQL Server, which edition is suitable,
I have been migrating from subversion to mercurial piecemeal and this has created a
We're migrating our dev shop away from XCode to MonoTouch. In Objective-C, the [super]
I'm migrating an old Sybase database to a new MySQL db. Since the moment
I'm currently employed at a small ASP.NET/MS-SQL shop. My team has noticed that a
Migrating from Subversion to Git using svn2git (which internally uses git-svn) I'd like to
After migrating from my old Macbook Pro to my new one, I find that

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.