Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Huge Uploads


zachthomas20

Recommended Posts

Hi -

 

I have a folder with about 1600 images (150MB) in it that i want uploaded to the images folder on my site. Does anyone know what the easiest way to do this is? Any help would be greatly appreciated. Thanks in advance.

Link to comment
Share on other sites

Hi -

 

I have a folder with about 1600 images (150MB) in it that i want uploaded to the images folder on my site.  Does anyone know what the easiest way to do this is?  Any help would be greatly appreciated.  Thanks in advance.

 

Hi Zack

 

I had a similar problem with around 800 images and the easiest way I found to handle this without spending hours doing so was to use an FTP client rather than through osCommerce admin. I have always used FTP Explorer and I shrunk the open window so that it stretched across the top half of my screen and then opened the folder where all the images were kept and stretched it across the bottom of my screen. This effectively split the screen into two halves if you can imagine what I am saying. I then clicked the first image in the bottom "window"and held down the shift button and highlighted around 50 or so images and then, holding the cursor down, I dragged them from the bottom open window up into the top window, just like I would do transferring between folders on my desktop. Repeat this until all the images are uploaded. It took me around 8 to 10 minutes to send the 800 or so images up to my server on a 1mbps/256kbps ADSL line.

 

If you have different folders for different product ranges then you will have to recreate the folders on your server (unless someone knows differently?) and load ranges individually but the above method works for that as well it is just a little slower.

 

Kerry

Link to comment
Share on other sites

If you have SSH (shell) access to your server, I would compress the images to one file (using tar/gz) .. after its uploaded, log into your server via SSH and untar them. This really speeds things up because you're only transferring one huge file rather than 1,600 separate files!

Link to comment
Share on other sites

Basically SSH is a command line (shell) access to the server just like Telnet except it is secure (telnet is a very dangerous type of command line access for a remote computer).

 

If you are on a relatively low cost shared host, you probably don't have shell access. The surest way to know would be to ask your host. If they will allow you to have shell access, then you can download any of several free SSH clients for your desktop computer.

 

Since you aren't already set up for such access, you may spend more time getting setup than it is worth for the image upload time savings it would provide.

 

On the FTP issue, you should ask your host. The FTP password may not be the same as your control password (indeed should not be). There are also configuration variables that could be affecting it. Or they may not allow FTP (in that case you should consider a different host).

 

hth

 

P.S.

 

Anybody?
Be patient. Bumping is not allowed on these forums.

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Link to comment
Share on other sites

P.S.

 

Be patient.  Bumping is not allowed on these forums.

 

If you dont know what your doing with shell access then its probably best not to go down that route.

 

FTP is your best option.

 

Didnt know bumping wasn't allowed, you see lots doing it.

Link to comment
Share on other sites

Didnt know bumping wasn't allowed, you see lots doing it.

 

Yeah. It's kind of like speeding on the freeway. A lot people do it, but it is a violaiton of the rules.

 

Forum Rules

 

Bumping

 

Bumping postings to the top of the forum channel listing, made to get more attention to the post, will not be tolerated.

 

When no one has replied to a posting you have made, it is recommended to reply in the same thread with more information that may help in resolving the issue.

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...