Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FTP Adapter Error, 'Unable to delete the file"

82 views
Skip to first unread message

Vasudha

unread,
Aug 7, 2007, 11:32:57 AM8/7/07
to
Hello Everyone,

I'm getting this error:

The adapter "FTP" raised an error message. Details "Unable to delete
the file "test.pgp.txt" on the FTP server

This is the scenario, where I'm getting this error:

1. I have 2 biztalk servers on PROD environment. On Biztalk A box, I
receive the encrypted file from third party. After I receive the file,
I decrypt the file and I synchronize the data in our database, and
then i place this file on the file location on Biztalk A box.

2 On Biztalk B box, Which is in our Local Domain. On this box, I Have
FTP receive from Biztalk A . During this FTP get, My file is losing
the data and I see this error message: 'unable to delete the file'.

Any idea would be greatly appreciated.

Thanks.

Brian Jones

unread,
Aug 7, 2007, 11:46:41 AM8/7/07
to
Not sure, but you may be grabbing the file via FTP before you have finished
writing the file using the FILE adapter. Try using the "Use temporary file
while writing" option in the FILE adapter. This will auto append a bts-wip
extension to the file until the file is complete. BTS will ignore files
with that extension.

--
Brian
http://bajwork.spaces.live.com/

"Vasudha" <Vasudh...@gmail.com> wrote in message
news:1186500777....@19g2000hsx.googlegroups.com...

Jan Eliasen

unread,
Aug 8, 2007, 2:03:09 PM8/8/07
to
On Tue, 7 Aug 2007 08:46:41 -0700, "Brian Jones" <jone...@gmail.com>
wrote:

>Not sure, but you may be grabbing the file via FTP before you have finished
>writing the file using the FILE adapter. Try using the "Use temporary file
>while writing" option in the FILE adapter. This will auto append a bts-wip
>extension to the file until the file is complete. BTS will ignore files
>with that extension.

Could also be as simple as the user you connect to the ftp server with
doesn't have write riviledges to the file folder. This can probably be
both Windows Server rights and rights set up inside the FTP server.

--
eliasen, representing himself and not the company he works for.

Private blog: http://blog.eliasen.dk

Private email: j...@eliasen.dk

Vasudha

unread,
Aug 9, 2007, 5:44:02 PM8/9/07
to
Is this option ' Use temporary file while writing' for Biztalk 2006.

I can't see the option on Biztalk 2004.

Thanks.


On Aug 7, 11:46 am, "Brian Jones" <jonesb...@gmail.com> wrote:
> Not sure, but you may be grabbing the file via FTP before you have finished
> writing the file using the FILE adapter. Try using the "Use temporary file
> while writing" option in the FILE adapter. This will auto append a bts-wip
> extension to the file until the file is complete. BTS will ignore files
> with that extension.
>
> --
> Brianhttp://bajwork.spaces.live.com/
>

> "Vasudha" <VasudhaRe...@gmail.com> wrote in message


>
> news:1186500777....@19g2000hsx.googlegroups.com...
>
>
>
> > Hello Everyone,
>
> > I'm getting this error:
>
> > The adapter "FTP" raised an error message. Details "Unable to delete
> > the file "test.pgp.txt" on the FTP server
>
> > This is the scenario, where I'm getting this error:
>
> > 1. I have 2 biztalk servers on PROD environment. On Biztalk A box, I
> > receive the encrypted file from third party. After I receive the file,
> > I decrypt the file and I synchronize the data in our database, and
> > then i place this file on the file location on Biztalk A box.
>
> > 2 On Biztalk B box, Which is in our Local Domain. On this box, I Have
> > FTP receive from Biztalk A . During this FTP get, My file is losing
> > the data and I see this error message: 'unable to delete the file'.
>
> > Any idea would be greatly appreciated.
>

> > Thanks.- Hide quoted text -
>
> - Show quoted text -


Vasudha

unread,
Aug 9, 2007, 5:46:05 PM8/9/07
to
Thanks for the response.

Interesting is , this error happens randomly. So I dont' think, it's
related to the permissions.

If it's permissions, I should get this error daily.

Thanks.

On Aug 8, 2:03 pm, Jan Eliasen <elia...@nospam.nospam> wrote:
> On Tue, 7 Aug 2007 08:46:41 -0700, "Brian Jones" <jonesb...@gmail.com>

Brian Jones

unread,
Aug 9, 2007, 6:30:10 PM8/9/07
to
I am talking about BTS 2006, but I thought BTS 2004 had the same capability
(not sure though).

I am also assuming you are using the FILE adapter to transfer the file from
Server A to Server B. If you are, in your Send Port, under configure in the
General tab, there should be a checkbox with that option. It is only
available if you are using the Create New copy mode.

[Ok, I looked at MSDN and it appears BTS 2004 did not have this option...
sorry.]
You may need to increase your FTP polling interval to reduce stepping on
each other's toes. Another option may be to use the FTP adapter and upload
the file with a .tmp extension and then rename the file after "PUT".
--
Brian
http://bajwork.blogspot.com/


"Vasudha" <Vasudh...@gmail.com> wrote in message

news:1186695842.5...@i38g2000prf.googlegroups.com...

alisterw

unread,
Oct 16, 2009, 8:06:21 AM10/16/09
to
Appreciate this is a very old thread, but I have just run into this problem and I suspect I know what it is, so I figured I would save some time for anyone else out there who stumbles onto this.

I notice your file is called "test.pgp.txt" - do you by any chance have a custom pipeline component which is decrypting the file?

If so, be aware of this bug in the FTP adapter:

http://support.microsoft.com/kb/942438/

There is a hotfix available for BizTalk 2006 (not R2) and it will be fixed in R2 SP1.


Vasudha wrote:

FTP Adapter Error, 'Unable to delete the file"
07-Aug-07

Hello Everyone,

Thanks.

Previous Posts In This Thread:

On 07 August 2007 11:32
Vasudha wrote:

FTP Adapter Error, 'Unable to delete the file"
Hello Everyone,

Thanks.

On 07 August 2007 11:46
Brian Jones wrote:

Re: FTP Adapter Error, 'Unable to delete the file"


Not sure, but you may be grabbing the file via FTP before you have finished
writing the file using the FILE adapter. Try using the "Use temporary file
while writing" option in the FILE adapter. This will auto append a bts-wip
extension to the file until the file is complete. BTS will ignore files
with that extension.

--
Brian
http://bajwork.spaces.live.com/

"Vasudha" <Vasudh...@gmail.com> wrote in message
news:1186500777....@19g2000hsx.googlegroups.com...

On 08 August 2007 14:03
Jan Eliasen wrote:

Re: FTP Adapter Error, 'Unable to delete the file"
On Tue, 7 Aug 2007 08:46:41 -0700, "Brian Jones" <jone...@gmail.com>
wrote:

Could also be as simple as the user you connect to the ftp server with
doesn't have write riviledges to the file folder. This can probably be
both Windows Server rights and rights set up inside the FTP server.

--
eliasen, representing himself and not the company he works for.

Private blog: http://blog.eliasen.dk

Private email: j...@eliasen.dk

On 09 August 2007 17:44
Vasudha wrote:

Re: FTP Adapter Error, 'Unable to delete the file"


Is this option ' Use temporary file while writing' for Biztalk 2006.

I can't see the option on Biztalk 2004.

Thanks.


On Aug 7, 11:46 am, "Brian Jones" <jonesb...@gmail.com> wrote:

On 09 August 2007 17:46
Vasudha wrote:

Re: FTP Adapter Error, 'Unable to delete the file"
Thanks for the response.

Interesting is , this error happens randomly. So I dont' think, it's
related to the permissions.

If it's permissions, I should get this error daily.

Thanks.

On Aug 8, 2:03 pm, Jan Eliasen <elia...@nospam.nospam> wrote:

On 09 August 2007 18:30
Brian Jones wrote:

Re: FTP Adapter Error, 'Unable to delete the file"


I am talking about BTS 2006, but I thought BTS 2004 had the same capability
(not sure though).

I am also assuming you are using the FILE adapter to transfer the file from
Server A to Server B. If you are, in your Send Port, under configure in the
General tab, there should be a checkbox with that option. It is only
available if you are using the Create New copy mode.

[Ok, I looked at MSDN and it appears BTS 2004 did not have this option...
sorry.]
You may need to increase your FTP polling interval to reduce stepping on
each other's toes. Another option may be to use the FTP adapter and upload
the file with a .tmp extension and then rename the file after "PUT".
--
Brian
http://bajwork.blogspot.com/


"Vasudha" <Vasudh...@gmail.com> wrote in message
news:1186695842.5...@i38g2000prf.googlegroups.com...

EggHeadCafe - Software Developer Portal of Choice
Dr. Dotnetsky?s Cool .NET Tips & Tricks No. 23
http://www.eggheadcafe.com/tutorials/aspnet/96f4fa2b-691d-4572-afbd-eb6c2ade7a5f/dr-dotnetskys-cool-net.aspx

0 new messages