BizTalk Server General - Renaming file in FTP adapter for Biztalk 2002

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > December 2004 > Renaming file in FTP adapter for Biztalk 2002





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Renaming file in FTP adapter for Biztalk 2002
Claudio Sale

2004-11-26, 5:49 pm

I use a "BizTalk SendFTP AIC" to send a file to a remote FTP server.
After sending the file, I need to rename it.
I use the following commands in the "After Put" textbox:

RNFR input_file;RNTO output_file

In the log file of the FTP server, I see the following lines

[7]RNFR input_file 350 0
[7]QUIT - 350 0

I see no RNTO commands, and the file is not renamed.
If I try the same commands with an FTP client, it works.
Someone can help me. Thanks

Claudio Sale
Niklas E

2004-12-01, 5:51 pm

It seems like the ; is not the right command delimiter? I have not used that
before, but I would have a look at that delimiter or the following:

Have you tried some other delimiter or other commands like:
REN before.txt after.txt
MV before.txt after.txt

Best regards
Niklas E


"Claudio Sale" <Claudio Sale@discussions.microsoft.com> wrote in message
news:04DC7485-BE8A-45A5-ACCF-4C90DFB25E49@microsoft.com...
> I use a "BizTalk SendFTP AIC" to send a file to a remote FTP server.
> After sending the file, I need to rename it.
> I use the following commands in the "After Put" textbox:
>
> RNFR input_file;RNTO output_file
>
> In the log file of the FTP server, I see the following lines
>
> [7]RNFR input_file 350 0
> [7]QUIT - 350 0
>
> I see no RNTO commands, and the file is not renamed.
> If I try the same commands with an FTP client, it works.
> Someone can help me. Thanks
>
> Claudio Sale



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com