I have a dbout regarding the 'Wait for file' activity stage in DS.Suppose I am getting a remote file through FTP. Now, think of a situation where the file hasn't come in full and 'Wait for file' detects the presence of a file and fires a subsequent job. So, does 'Wait for file' waits for the receipt of the file in full?
If not, then what could be the better solution in this case.
Wait for file stage
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 783
- Joined: Mon Jan 16, 2006 10:17 pm
- Location: Sydney, Australia
Re: Wait for file stage
No, it simply checks for existence.mydsworld wrote:So, does 'Wait for file' waits for the receipt of the file in full?
As noted, the typical solution is the use of a zero byte 'flag' or 'semaphore' file sent after the main file. When it is received, you know it is safe to go get the main file.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers