If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Need to upload a huge number of products...

Need to upload a huge number of products...

Locked

Started by beadan on 4 Nov 2009, 10:58 AM · Views: 3,629

Results 21 to 29 of 29
This thread is locked. New replies are disabled.
17 Nov 2009, 2:12 AM
#21
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Post #21 by notageek

Beadan,

Sorry. I thought I had found a thread that my problem was compatible with. I guess extracting images is a bit off the topic from populating an Easy Populate template with a lot of diverse data.

It would be nice if the images portion of the thread could be split off.

In that line of thought, I was unsuccessful using wget, although I got my username and password added to the command line (by adding those at the end of the "wget -i c:\mytextfile.txt --ftp-username=myusername, --ftp-password=mypassword . I got into my website but received a "no directory or file found" message, which I understand is a common error which could be from the very long directory/subdirectory name, or maybe somehow related to the possibility that the file I was trying to get images from was a tar.gz file with a conflict in version, or some other unknown reason.

I believe I, too, at this point, will have to cull each image file by the drag and drop method to avoid many days of research on the wget troubleshooting when I need to bring my website to a point where it is okay to go live.

Please chalk up my mistake in adding to your thread to a beginner's ignorance thinking the topic was accomplishing mass migration of data, loosely, rather than expediting transfer of diverse textual data to Easy Populate.

Notageek

17 Nov 2009, 6:30 PM
#22
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #22 by schoolboy

notageek:

In that line of thought, I was unsuccessful using wget, although I got my username and password added to the command line (by adding those at the end of the "wget -i c:\mytextfile.txt --ftp-username=myusername, --ftp-password=mypassword . I got into my website but received a "no directory or file found" message, which I understand is a common error which could be from the very long directory/subdirectory name, or maybe somehow related to the possibility that the file I was trying to get images from was a tar.gz file with a conflict in version, or some other unknown reason.

Why are you using wget to get into your own server?

Just use FTP program.

Wget is a scraper tool to grab images off another server for which you have no FTP access.

20 years a Zencart User

17 Nov 2009, 9:43 PM
#23
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Post #23 by notageek

Schoolboy,

On why one would use wget to access files on a website one has password access to: wget allows one to ask for just a small amount of the files in proportion to what is actually in the images file, with the -i command you provided.

(I meant to look up the meaning of SCRAPE and now you have saved me the trouble.) Actually, I tried to use wget first without the password, and it said "login unsuccessful." It didn't work for other reasons, but I am wondering: Does it always say that for the anonymous login?

I did read an internet post that seemed to say someone was able to use wget on his/her Wamp server, https://www.localhost.com. Although I read somewhere it wasn't possible because of a loopback effect, I plan to try wget on my WAMP test site next.

Alternatively, I also read there is a PHP site which might point me to a function similar to wget for a local machine--It's a vague lead, but something else to investigate.

18 Nov 2009, 5:37 AM
#24
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Post #24 by notageek

My wget excursion of the day: Tried wget on WAMP server on local computer. It did not take "localhost" but it took http://127.0.0.1/zencart/images/myimages.

Instead of the .jpg files I requested from myimages, it returned a text file for each request, containing the whole product download information for each image name, seemingly in Easy Populate format.

The output was just the black dos screen which could be copied to the clipboard and pasted in something like notepad and then saved.

It was quite interesting to see the really fast result, but it was text only, so there were no image files to place into a folder of images to match my spreadsheet, just image file names.

https://www.php.net website functions list, seemed to offer some information almost on topic, but not quite.

Time for copy and paste, it seems, really.

I think my images management problem and Beadan's original data management problem have received some helpful input, if not having been fully solved.

The help and encouragement have been much appreciated.

18 Nov 2009, 12:16 PM
#25
notageek avatar

notageek

Zen Follower

Join Date:
Mar 2009
Posts:
418
Plugin Contributions:
0

Post #25 by notageek

Schoolboy (and Beadan, thanks for starting a thread I could relate to, despite my messing up your topic)

I woke up at 3am, wandered to the computer, and serendipitously tried a few things with wget, because it seemed to work on the WAMP but was probably not getting the correct input.

I checked my input file.

Sure enough, I had erroneously saved all the columns in my spreadsheet, which is why it returned all the data. Once I saved only the images column, it collected just the images I had requested from my WAMP server.

In my 1-column spreadsheet each image was named in this manner for image 41401.jpg: http://127.0.0.1/zencart/images/isimages/41401.jpg

My command line was: wget -i c:\myimagestestfile.txt

All of the files went into my c:/Program Files/Gnuwin32/bin> directory where wget was installed, and from which my command line was run.

This was a very big hurdle for me and without Schoolboy's input I would still be trying to get through it.

If I knew how to place a smiley face I would definitely succumb to doing so.

18 Nov 2009, 7:26 PM
#26
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #26 by schoolboy

Glad you got it sorted :smile:
I know what it's like to battle in the dark :(
And you just want to :censored:
With your computer doing this: :lamo:
And then you find the solution: :clap:
With a little help from :smartalec:
Life becomes worth living again :D

20 years a Zencart User

24 Jan 2010, 1:48 AM
#27
kernheimer avatar

kernheimer

Zen Follower

Join Date:
Jul 2009
Posts:
126
Plugin Contributions:
0

Post #27 by kernheimer

Beadan:

Ok... any luck on my question at all? Seeing as this has gone WAY off topic.
I didn't want to spam someone else's topic thus I created my own, as it was a quite unique question as far as I could find. But other people don't have the same curtsy it seems...

Seems i'm not the only one in the woods for this question.
Beadan, have you found an answer yet? EP is driving me up the wall. i have to import lots of info to, and beeing on a Mac and not so good in English is a bad thing when you have to use EP.
I would have liked to see you getting a sollution, so i could get one to :laugh:

24 Jan 2010, 1:50 AM
#28
kernheimer avatar

kernheimer

Zen Follower

Join Date:
Jul 2009
Posts:
126
Plugin Contributions:
0

Post #28 by kernheimer

countryboy, is is possible for your script to be a payed module? i don't have to use it that often, but it would perhaps be better for me than EP.
reg Kernheimer

24 Jan 2010, 12:56 PM
#29
countryboy avatar

countryboy

New Zenner

Join Date:
Nov 2009
Posts:
7
Plugin Contributions:
0

Post #29 by countryboy

kernheimer, Sorry I have been away so long, been super busy and trying not to get distracted.

In regards to making a paid module, it may be possible but there are some problems, matching up the columns to import is the big one, each supplier's spreadsheet is different. Custom scripts are easier to do.

Second, you would need a dedicated server since importing that many products takes way over the 30-60 seconds that most shared servers are set at.

I have a dedicated at 1&1 for $50/mon. Once the site grows then I will upgrade

The dedicated costs money but the time savings and the ability to do what you want is well worth it.

If your supplier is set up correctly I can set it up to where you just have to check it after it updates. 100% automated.

If you are interested let me know, I can take a look at it. PM me the details on exactly what you need, descriptions changed, pricing structure, keywords, every detail you can think of.