I als tried following
I create a text file akftp.txt, which contain following
open xxx.xxx.xxx.xxx
administrator
deluxe104
put c:\text.txt
bye
then execute it in query analyzer
EXEC xp_cmdshell 'ftp.exe -s:E:\froogle.txt'
got following error
Invalid command.
Invalid command.
Not connected....