Re: I cannot just move the .xls.xls file to another folder.
I'm sorry, but I still do not understand. Maybe the problem would be more clear if you post some logs or screenshots.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Test.xls.xls
in Sent
folder to Error
folder because it's incorrect file name (Test.xls
is correct file name) but it's not move to Error
folder.
Sent
folder. If it's incorrect I want to move file to Error
folder but I cannot just move the .xls.xls
file.
transferResult = session.PutFiles(filePaths[iFile], sessionOptions.RootPath + "/" + fi.Name + "/Error/", false, transferOptions);
session.RemoveFiles(sessionOptions.RootPath + "/" + fileInfo.Name + "/Sent/" + Path.GetFileName(filePaths[iFile]));