Problems fetching images from images.amazon.com



Hello,

I have problems getting images from images.amazon.com.
For example the following link:

  http://images.amazon.com/images/P/B00000GANN.01.MZZZZZZZ.jpg

If I do a gnome_vfs_xfer_uri() to copy this image, I most of the time
get an error that the file was not found. Also the command
"gnomevfs-info" most of the time fails with "Error: File not found". If
I look at the image in my webbrowser (epiphany) or wget, it always
fetches the image just fine. What could be the problem here?

Greetings,

Sander

Simplified code:

  text_dest = g_strdup_printf ("/tmp/test.jpg");
  text_uri =
g_strdup_printf("http://images.amazon.com/images/P/B00000GANN.01.MZZZZZZZ.jpg";);

  uri = gnome_vfs_uri_new (text_uri);
  dest = gnome_vfs_uri_new (text_dest);

  result = gnome_vfs_xfer_uri (uri,
     dest,
     GNOME_VFS_XFER_DEFAULT,
     GNOME_VFS_XFER_ERROR_MODE_ABORT,
     GNOME_VFS_XFER_OVERWRITE_MODE_REPLACE,
     NULL, NULL);

Host info on images.amazon.com:

images.amazon.com       CNAME   a1794.l.akamai.net
a1794.l.akamai.net      A       212.23.33.16
a1794.l.akamai.net      A       212.23.33.21
a1794.l.akamai.net      A       212.23.33.22
a1794.l.akamai.net      A       212.23.33.5
a1794.l.akamai.net      A       212.23.33.6
a1794.l.akamai.net      A       212.23.33.7
a1794.l.akamai.net      A       212.23.33.13




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]