Solved

How to download files in a folder via ftp?

  • 11 October 2021
  • 7 replies
  • 101 views

Badge +1

Hi all,

I'm trying to download files (in this case zip files), which are in a parent folder on an ftp. The folder name changes once a week, when new updates are uploaded.

 

I would like to automaticly download the updated files once a week, but it seems that the ftp caller has some limitations in that department - (asterix and subfolders). I have searched the forum for answers, but haven't really found a solution yet.

 

I've seen suggestions using python caller and ftp caller combined, but I dont really do python :-)

 

Any suggestions?

 

Thanks

icon

Best answer by danilo_fme 11 October 2021, 19:17

View original

7 replies

Userlevel 4
Badge +30

Hi @larsec​ 

 

Could you share the link?

 

Thanks in Advance,

Danilo

Badge +1

Hi @danilo_fme​ 

 

The URL to the ftp is this: ftp://OAHRMMTWBW:Haltepola7%21@ftp3.datafordeler.dk/GeoDanmark60_shp_ugentligt_20211008180000/

 

It is password protected, but publicly available data so no worries there. :-)

Userlevel 4
Badge +30

Hi @danilo_fme​ 

 

The URL to the ftp is this: ftp://OAHRMMTWBW:Haltepola7%21@ftp3.datafordeler.dk/GeoDanmark60_shp_ugentligt_20211008180000/

 

It is password protected, but publicly available data so no worries there. :-)

Thanks your answer.

 

I created a Workspace that read the files and get files dynamic:

Workspace_FTP 

Attached the Workspace.

 

Thanks in Advance,

Danilo

Badge +1

Thanks your answer.

 

I created a Workspace that read the files and get files dynamic:

Workspace_FTP 

Attached the Workspace.

 

Thanks in Advance,

Danilo

Hi Danilo,

Thank you so much for your help, it looks great :-) I have seen almost the exact same workspace suggested a couple of times, but couldn't quite get it to work.

 

How will it work when the folder name changes every week? I can see that you have used the URL to the specific folder name in the ftp caller.

 

Thanks :-)

Userlevel 4
Badge +30

Thanks your answer.

 

I created a Workspace that read the files and get files dynamic:

Workspace_FTP 

Attached the Workspace.

 

Thanks in Advance,

Danilo

Hi @larsec​ 

I included the Bookmark Get name of Folder to get the folder:

 

GetFolder 

Attached the Workspace.

 

Thanks in Advance,

Danilo

Badge +1

Hi @danilo_fme​ ,

Thank you so much for this, it works like a charm after I add my login information to the ftp callers :-)

Awesome!

Userlevel 4
Badge +30

Hi @danilo_fme​ ,

Thank you so much for this, it works like a charm after I add my login information to the ftp callers :-)

Awesome!

Thanks @larsec​ for your answer. I'm happy to help you!

Reply