Skip to content

Instantly share code, notes, and snippets.

@asunar
Created March 21, 2013 14:49
Show Gist options
  • Save asunar/5213624 to your computer and use it in GitHub Desktop.
Save asunar/5213624 to your computer and use it in GitHub Desktop.
SFTP incorrect path issue
//snip
//Overloaded constructor
public PutFileToWmeMessage(string filePath, string folder)
{
FilePath = filePath;
Folder = folder;
}
//snip
//Overloaded constructor is used in
//CouponSuppressionExportHandler.Handle
//Line 55
// per mark we drop this in the offer_targeting folder.
var busMessage = new PutFileToWmeMessage(newFileName, "offer_targeting");
//TargetedMembersExportHandler.Handle
//Line 52
var busMessage = new PutFileToWmeMessage(newFileName, "offer_targeting");
@asunar
Copy link
Author

asunar commented Mar 21, 2013

The overloaded constructor is used in two places shown above. When I look at the offer_targeting folder (the correct folder where the files are supposed to be) I see a targeted_members_xxx file with 12/3/2012 date stamp.

The change was made in November 2012, therefore I expected this file to be in wrong folder but it was not. I investigating why two files that are using the same PutFileToWmeMessage constructor end up in different directories.

Let me know if you have any ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment