>I want to FTP some XML file to Taiwan everyday. But I get fail when doing "FtpPutFile".
>What is my stort in my code?
I'm using the same approach as you. I have written an article on it that you can compare exactly what would be different in your case and find why it doesn't work.
http://www.levelextreme.com/Magazine/November2001/Page20.asp