This project has moved. For the latest updates, please go here.

Received File Name

Oct 13, 2008 at 10:46 AM
Hi,
How can I get the name of received file .

I have added a referance to Blogical.Shared.Adapters.Sftp.Schemas but
inst (Microsoft.XLANGs.BaseTypes.Address ) does not work.
Thanks,

Oct 17, 2008 at 11:24 PM
Sorry,
Any idea why
instINFTPFile (Blogical.Shared.Adapters.Sftp.Schemas.remotefile) doesn't work?
Here is the error message
There is no value associated with the property 'Blogical.Shared.Adapters.Sftp.Schemas.remotefile' in the message.
Coordinator
Oct 19, 2008 at 5:55 PM
Kenan,
I've updated the Batchhandler:CreateMessage() method, to set the the ReceiveFilename property in the FILE namespace...

message.Context.Write(

"ReceivedFileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties", fileName);

 

 http://www.codeplex.com/SftpAdapter/Release/ProjectReleases.aspx?ReleaseId=18564

HTH
//Mikael