You are here:  » Linkshare Help

Active Forum Topics


Linkshare Help

Submitted by babyuniverse on Mon, 2020-07-27 08:43 in

Hi David,

I have sent a support message to linkshare but you might be able to help.

I used to be able to connect to a data feed using ftp://username:password@example.com/feed.xml.gz to download the entire XML feed for each publisher. I have noticed that this is now not working,

Linkshare also have a subfolder for each publisher which has feeds for each category when I connect to {link saved} then I can download the feed.

Any reason why the top level wouldn't download but the subfolder would? This seems to be a new thing.

I can connect and download using FTP

Thanks
Richard

Submitted by support on Mon, 2020-07-27 08:53

Hi Richard,

I assume you are using the feed URL in the Automation Tool in which case it is almost certainly because there are characters, probably in the password, that need to be URL encoded.

There is a table of the characters most commonly found in passwords that need to be encoded and the encoding to replace them with in this comment - that should be all it is...

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by babyuniverse on Mon, 2020-07-27 12:17

Hi david,

Still not working unfortunately, I also tried switch to CURL and PASV mode.

The weird thing is that files in the subdirectory are fetching fine.

I cannot get 39613_3525076_mp.xml.gz from top level but can get 39613/39613_3525076_1_cmp.xml.gz

The password and username is the same for both files. Could it be permissions related?

Thanks
RIchard

Submitted by support on Mon, 2020-07-27 12:42

Hi Richard,

Something rang a bell and I recalled another thread also Linkshare FTP related - please could you try the mod from this comment which sets FTP PASV mode...

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by babyuniverse on Wed, 2020-07-29 08:57

Hi David,

I have tried using CURL and PASV move mentioned above without luck.

It thinks for quite a while and I can see a temp file be created in FTP. It then dissapears and says "ERROR - TRANSFER FAILED"

I have asked linkshare without much luck. They just talk about being part of a program, which I know I am.

The annoying thing is the sub directory works, with the same password and username. Its just that the sub directory has category files and not the full feed.

Thnaks
Richard

Submitted by support on Wed, 2020-07-29 09:37

Hi Richard,

Please could you post the 2 links again (feed and category file) without your username:password and I'll have another think...

Thanks,
David.
--
PriceTapestry.com

Submitted by babyuniverse on Wed, 2020-07-29 23:47

Hi David,

36862 = Merchant
3627115 = My Site ID

This is the top level file (not working)
{link saved}

The subdirectory (working)
{link saved}

In this instance, the 1 in the 2nd file means all categories, so effectively this is the full feed. In most instances there are up to 20 feeds for each category in the subdirectory

I have multiple site ids and 100's of merchants, it used to work.

Can it be hosting related?

Thanks
Richard

Submitted by babyuniverse on Wed, 2020-07-29 23:55

Hi David,

A good example is AHAVA (35968)

Main Feed File = {link saved} (111 products)
Category Skin Care = {link saved} (51 products)
Category Bath and Body = {link saved} (53 products)

I can retrieve and extract the 2 category files, seperately. But cannot get the main feed file.

I can download all 3 in FTP or via the browser.

Very weird.

Submitted by support on Thu, 2020-07-30 07:45

Hi Richard,

The first main link worked perfectly on my test server - please could you drop me an an email and I'll follow up with a test version of the automation library to include additional error information from CURL...

Thanks,
David.
--
PriceTapestry.com

Submitted by babyuniverse on Fri, 2020-07-31 08:34

Thanks David.

What information do you need via email? Just admin access details?

Submitted by support on Fri, 2020-07-31 09:48

Hi Richard,

I shouldn't need access at this stage, just want to reply with the modified library to try;

Cheers,
David.
--
PriceTapestry.com

Submitted by richard on Wed, 2020-09-30 13:37

Hi David,

Was there a solution to this as I too have the same issue with Linkshare

Best regards

Richard

Submitted by support on Thu, 2020-10-01 07:18

Hi Richard,

The user above was able to transfer the Linkshare feeds successfully using the PHP automation handler instead of cURL. To try this, edit config.advanced.php and change line 43 as follows;

  $config_automationHandler = "php";

If that does the trick, double check of course that other feeds from different networks and possibly protocols transfer successfully using PHP mode...

Cheers,
David.
--
PriceTapestry.com

Submitted by richard on Fri, 2020-10-02 16:55

Hi David,

Many thanks, yes it appears to work ok. The only reason for hesitation is that feeds from webgains are not working but I think that is unrelated!

Have a great weekend.

Rich

Submitted by support on Mon, 2020-10-05 07:42

Hello Rich,

If you are still having issues with feeds from other networks do let me know and I'll check it out further with you of course...

Cheers,
David.
--
PriceTapestry.com