Jump to content
UBot Underground

Having Some Sort Of Ssl Issue When Trying To Download Images Help Please


Recommended Posts

Hi,

 

I have been using a script for a while to download images from urls and name then when they are downloaded.

script is attached, for some reason it just will not work with the clients new site:

 

I am getting:

Error: The request was aborted: could not create SSL/TLS secure channel.

Source "file name >loop>download file.

 

Is there anything I can do my end ?

 

Many thanks

Andrew

 

the csv silverim.csv just has a name be that 20 in first cell and url in next

 

 

clear table(&images)
create table from file("C:\\Users\\Andrew\\Desktop\\silverim.csv",&images)
set(#row,0,"Global")
create folder($special folder("Desktop"),"SilverstoneImages")
set(#path,"{$special folder("Desktop")}/SilverstoneImages/","Global")
loop($table total rows(&images)) {
    download file($table cell(&images,#row,1),"{#path}{$table cell(&images,#row,0)}.jpg")
    increment(#row)
}
shell("perl c:\\windows\\exiftool.pl -P -r \"-title<$\{filename;s/\\.[^\\.]+$//;s/[-]/ /g;s/_/ /\}\" -r -sep \" \" -ext jpg C:\\Users\\Andrew\\Desktop\\SilverstoneImages")
shell("perl c:\\windows\\exiftool.pl -artist=\"Silverstone Auctions\" -copyright=\"2019 Silverstone Auctions\" C:\\Users\\Andrew\\Desktop\\SilverstoneImages")
shell("perl c:\\windows\\exiftool.pl -subject=\"Silverstone Auctions RACE RETRO SALE 23rd February 2019\" C:\\Users\\Andrew\\Desktop\\SilverstoneImages")
shell("perl c:\\windows\\exiftool.pl -creator=\"Silverstone Auctions\" C:\\Users\\Andrew\\Desktop\\SilverstoneImages")
shell("perl c:\\windows\\exiftool.pl -P -r \"-description<$\{filename;s/\\.[^\\.]+$//;s/[-]/ /g;s/_/ /\}\" -r -sep \" \" -ext jpg C:\\Users\\Andrew\\Desktop\\SilverstoneImages")
shell("perl c:\\windows\\exiftool.pl -P -r \"-IFD0:XPSubject<$\{filename;s/\\.[^\\.]+$//;s/[-]/ /g;s/_/ /\}\" -r -sep \" \" -ext jpg C:\\Users\\Andrew\\Desktop\\SilverstoneImages")
shell("perl c:\\windows\\exiftool.pl -P -r \"-IFD0:XPComment<$\{filename;s/\\.[^\\.]+$//;s/[-]/ /g;s/_/ /\}\" -r -sep \" \" -ext jpg C:\\Users\\Andrew\\Desktop\\SilverstoneImages")
 

 

 

Link to post
Share on other sites

Try this:

set(#downloadFile,$plugin function("HeopasCustom.dll", "$Heopas HTTP Get Download", $table cell(&images,#row,1), "", "", "", "", "", "{#path}{$table cell(&images,#row,0)}.jpg"),"Global")
  • Like 1
Link to post
Share on other sites

Thank you, that is pulling them in now.

ahahhhhhhhh been trying to get it to work for hours and have a catalogue to build without any images, many thanks

 

What exactly is the issue have they not set their headers correctly.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...