FTP commands failed in \"Before get\" field

Home Page Forums BizTalk 2004 – BizTalk 2010 FTP commands failed in \"Before get\" field FTP commands failed in \"Before get\" field

#14926

Hi,

I need to copy files located in a remote ftp to a local folder (servers = [b:636255320c]Windows 2003[/b:636255320c]). With a simple windows \”[b:636255320c]cmd[/b:636255320c]\” it works :

[code:1:636255320c]ftp> prompt
Interactive mode Off .
ftp> lcd c:\\save
Local directory now C:\\save.
ftp> mget *
200 Type set to A.
200 PORT command successful.
150 Opening ASCII mode data connection for files/data.txt(1795 bytes).
226 Transfer complete.
ftp: 1795 bytes received in 0,00Seconds 1795000,00Kbytes/sec.
ftp>[/code:1:636255320c]

So, in the [b:636255320c]BizTalk admistration console[/b:636255320c], when I configure my receive locations, i put the following in the field called \”before get\” :

[code:1:636255320c]prompt; lcd c:\\; mget *;[/code:1:636255320c]

But in the \”[b:636255320c]Application Event Viewer[/b:636255320c]\”, a warning writes :

[code:1:636255320c]unknown command prompt[/code:1:636255320c]

If I remove \”[b:636255320c]prompt[/b:636255320c]\”, I still have the same warning.

Thanks a lot if anybody ‘s got an idea !