Skip to main content
Solved

How to download files in a folder via ftp?

  • October 11, 2021
  • 7 replies
  • 590 views

Forum|alt.badge.img+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

Best answer by danilo_fme

danilo_fme wrote:

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

View original
Did this help you find an answer to your question?

7 replies

danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • October 11, 2021

Hi @larsec​ 

 

Could you share the link?

 

Thanks in Advance,

Danilo


Forum|alt.badge.img+1
  • Author
  • October 11, 2021

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. :-)


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • October 11, 2021
larsec wrote:

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


Forum|alt.badge.img+1
  • Author
  • October 11, 2021
danilo_fme wrote:

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 :-)


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • Best Answer
  • October 11, 2021
danilo_fme wrote:

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


Forum|alt.badge.img+1
  • Author
  • October 12, 2021

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!


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • October 12, 2021
larsec wrote:

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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings