Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

olcell
2008-06-27 14:42:32

Thanks a lot!!!

jeremie
2008-06-27 14:35:03

very astucious ;-)

Jérémie

jcoutin
2008-06-27 14:05:23

Hello,

You can do like this (see the image)

with this parameters :

tInfiniteLoop_1 : set "wait at each iteration" at 60 for example if you want to check the files every minute.

tFTPGet_1 : set Filemask at "end_of_transfert.csv"

set If link : ((Integer)globalMap.get("tFTPGet_1_NB_FILE")).equals(1)

tFTPGet_2 : set the files extension you need (*.csv or *.xml).

tDie_1 (to stop the infinite loop) :
Die message : "download all files OK"
Error code : 0
Priority : Info

JC

olcell
2008-06-27 11:45:21

Hi,

Everyday, I get some files on a ftp directory.
I never know the name or the number of those files (just the location and the files extension (*.csv or *.xml).
But sometimes, thoses files are late.... very late and all of the process runs with only one or two files instead of 10 or 15....
I will ask to receive with those files a file with the same name (for example : end_of_transfert.csv).
So I need to wait for its incoming before all of the process begins...
I can put a TWaitForFile

I can do that on a directory with a TWaitForFile.
But how can I do that with FTP???

Thanks for your help,

Board footer

Powered by FluxBB