Skip to main content

How to access a zip file from an FTP site that has their zip files embedded in a grid?

 

Before I used to access it by hitting the URL Link like this (hover over the link and copy the url):

 

http://www.abacusdatagraphics.com/abadata/<file_name.zip>

 

But now, they have changed their site and have the zip files in a modern grid like shown on the screenshot below: If I hover over the zip file I want, it does not display the URL link anymore. I either click on the check box and click a download button or click directly on the file and it starts downloading.

 

So How can I tell FME to obtain this file now without having the URL link ?

 

link_grid 

When I tried accessing the zip file, I used the following format which is correct, but I end up getting an error message.

 

ftp://<user>:<password>@$<ftp server name>/<directory path>/<file name>

 

error:

Shape Reader: Failed to open dataset 'ftp://<user>:<password>@$<ftp server name>/<directory path>/<file name>' which is neither an existing file nor directory

 

 

In the download section of the browser you should be able to copy the download url. If its not a login FTP server, it may be using Basic encryption or another token based authentication (OAuth)


Press CTRL+SHIFT+J in your browser, go to the Network tab and see what is loaded when you load the page.

There should be a list of the files loaded. Parse the response and extract the information needed to create the new download links.

Also, see what is called when you click download on one of the files.

 


In the download section of the browser you should be able to copy the download url. If its not a login FTP server, it may be using Basic encryption or another token based authentication (OAuth)

Thanks for your reply.

 

This is the site I'm trying to login (it requires a username and password) and access the zip file: https://abacussdatagraphics.exavault.com/

I was told it's an ftp site. But don't ftp sites usually begin with ftp:// instead of https:// ?

 

The transformer I'm using is an FTPCaller. So now I'm a bit confused if I should be using FTPCaller or HTTPCaller

 

Thank you again for your time.

 

 


Press CTRL+SHIFT+J in your browser, go to the Network tab and see what is loaded when you load the page.

There should be a list of the files loaded. Parse the response and extract the information needed to create the new download links.

Also, see what is called when you click download on one of the files.

 

Thanks for your reply.

 

This is the site I'm trying to login (it requires a username and password) and access the zip file: https://abacussdatagraphics.exavault.com/

I was told it's an ftp site. But don't ftp sites usually begin with ftp:// instead of https:// ?

 

The transformer I'm using is an FTPCaller. So now I'm a bit confused if I should be using FTPCaller or HTTPCaller

 

Thank you again for your time.


Thanks for your reply.

 

This is the site I'm trying to login (it requires a username and password) and access the zip file: https://abacussdatagraphics.exavault.com/

I was told it's an ftp site. But don't ftp sites usually begin with ftp:// instead of https:// ?

 

The transformer I'm using is an FTPCaller. So now I'm a bit confused if I should be using FTPCaller or HTTPCaller

 

Thank you again for your time.

 

 

depends, the HTTP site could well be hosting ftp links. To confirm this you're to either need to grab the URL of the download or look at the Network requests of the browser as @caracadrian​ suggested - I note CTRL+SHIFT+J only works in Chrome, if you're using another browsers try F12


Reply