Skip to main content
Question

Read esri Shapefile from FTP

  • June 23, 2021
  • 4 replies
  • 56 views

francis_m
Contributor
Forum|alt.badge.img+8

Hi FME users! I have to read some ShapeFile from FTP.

I use a FTPCaller to get all the files that I need, and then user a FeatureReader to read ShapeFile directly from FTP. I can get the geometry, but not the attributes...

Do you know why if I read from FTP, no attributes are read but only geometry ?

Thank you for your help!

Francis M.

4 replies

danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • June 23, 2021

Hi @francis_m​ 

 

Could you share us the Workspace?

 

Thanks in Advance,

Danilo

 


caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • June 24, 2021

Mostry your "error" if from the fact that ESRI Shape is a collection of files, not just the .shp

You need to fetch every component of that collection (.shp, .shx, .dbf, .prj, .cpg) that correspond to the shape filename.


francis_m
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • June 28, 2021

Hi @francis_m​ 

 

Could you share us the Workspace?

 

Thanks in Advance,

Danilo

 

Sorry, I can't share, but I've been able to accomplish the task by downloading first all the files of the shapefile. But I was hopping FME would read a shapefile, even on a FTP site, as I was using a Shapefile reader. Anyway... I did it by downloading first, then read it... thanks!


francis_m
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • June 28, 2021

Thanks, that's what I was thinking... and did. But, as I used a Shapefile reader, I was thinking that FME would have read all the file for the shapefile format. thanks!