Question

How to FTP a file after using a filecopy writer

  • 28 April 2023
  • 4 replies
  • 13 views

Badge

Hello,

I have a workbench that uses a tester to copy files into a folder and zip them based on the create date. This works fine however after I have the files in the new zip file I can't seem to figure out a good way to then use a FTP caller to upload the files since you can't do anything after you have used the filewriter.

 

Looking for ideas of how to upload this zip file to an FTP in the same workbench?

 

FMEUpload 

 


4 replies

Userlevel 5
Badge +29

instead of the filecopy writer, use a FeatureWriter set to filecopy. Then you have an output port that can trigger your httpcaller

Badge

instead of the filecopy writer, use a FeatureWriter set to filecopy. Then you have an output port that can trigger your httpcaller

Thanks for pointing me in the correct direction.

When I run this it throws the warning "File Copy Writer: Skipped 4 features that were missing source datasets"

I think I might be missing a step somewhere I've tried changing some settings in the feature writer parameter's to no avail. Not sure how to include the source dataset.

Userlevel 5
Badge +29

Thanks for pointing me in the correct direction.

When I run this it throws the warning "File Copy Writer: Skipped 4 features that were missing source datasets"

I think I might be missing a step somewhere I've tried changing some settings in the feature writer parameter's to no avail. Not sure how to include the source dataset.

Its possible you might be missing some attributes on the features - see here under examples for some more details

 

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/filecopy/Feature_Representation.htm#top

Badge

Thanks for pointing me in the correct direction.

When I run this it throws the warning "File Copy Writer: Skipped 4 features that were missing source datasets"

I think I might be missing a step somewhere I've tried changing some settings in the feature writer parameter's to no avail. Not sure how to include the source dataset.

I apologize I'm still new to FME.

 

Is this what you are referencing? I thought I might need to use an attribute exposer based on another post I saw but I still get the same message about the missing source dataset.

 

FeatureWriterimage

Reply