Tuesday, June 17, 2008

Watch out for that blank space

We have created a receive location with send port group as the subscriber and will send the message output using FILE adapter and FTP adapter.

Send Port Group

So yesterday, I got an email from the engineering site, they said that they were not able to process the file from the FTP drop. 

Then they sent this output to me :

$ cat FILEA.txt
cat: FILEA.txt: No such file or directory

 

But if they used this, the file is actually there :

$ more *
::::::::::::::
FILEA.txt
::::::::::::::
CONTENT FILE A

 

Another test :

$ more FILEA.txt*
CONTENT FILE A

 

So from the test results above, you probably know what’s the cause right? :P

See that in the target file name properties, there is a blank space behind the “txt”.

Target File Name

After removed the blank space, life is good again :D

1 comments:

vitamin b said...

Excellent Article. I had tried these commands in my own PC. I had learned lot of things from this article on how the data is send to other location.

Post a Comment