Copy file from FTP server to New file in Machine

This is my code. : -

import os
import system
from ftplib import FTP

ftp = FTP(‘server’)
ftp.login(‘ID’,‘password’)
print “File List:”
ftp.dir()
s=ftp.retrbinary(‘RETR Test.txt’, open(‘C:\Temp\Test.txt’,‘wb’).write)
print s
ftp.close()

I tried running in Interactive Script, Its NOT giving any error. and output is :-

File List:
drwxr-xr-x 2 ftp ftp 512 Jul 12 16:50 .
drwxr-xr-x 2 ftp ftp 512 Jul 12 16:50 …
-rw-r–r-- 1 ftp ftp 266906192 Jun 8 13:04 1107d WCLF.zip
-rw-r–r-- 1 ftp ftp 107 Jul 12 16:49 Test.txt
226 Transfer complete

Note:- Its changing the modification time and date of Temp.txt on my computer tto time I run the code. But no data is shown in it. (0 kb file)

Looking forward for your help.!

Thanks