• Resolved RichardMisencik

    (@richardmisencik)


    Hello,
    I would like to ask if it is possible to download images that are located on ftp server, for example:

    <item_image>ftp://data.domain.com/products/1BA1000/b_0_27ae2.jpg</item_image>

    I’m interested in 2 things, does WP All Import support downloading images from FTP and second, since the ftp links are password protected, I thought about creating a FTP connection before import start in function editor. Here is the screenshot of code I tried to use:

    View post on imgur.com

    But this doesn’t work, here is the log:

    WARNING: File ftp://data.domain.com/products/1BA1000/b_0_27ae2.jpg can not be downloaded, response O:8:"WP_Error":2:{s:6:"errors";a:1:{s:19:"http_request_failed";a:1:{i:0;s:34:"Invalid URL specified.";}}s:10:"error_data";a:0:{}}

    Thank you very much for help.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Downloading images from FTP links? (Connecting to FTP server)’ is closed to new replies.