Skip to main content
Question

How to FTP a file after using a filecopy writer


Forum|alt.badge.img

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

hkingsbury
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • May 1, 2023

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


Forum|alt.badge.img
  • Author
  • May 2, 2023
hkingsbury wrote:

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.


hkingsbury
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • May 4, 2023
sctechguy wrote:

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


Forum|alt.badge.img
  • Author
  • May 4, 2023
sctechguy wrote:

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


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