I cannot just move the .xls.xls file to another folder.

Advertisement

jirapat nuwong
Joined:
Posts:
1

I cannot just move the .xls.xls file to another folder.

Hello,
I have a problem I want to check correct file name in Sent folder. If it's incorrect I want to move file to Error folder but I cannot just move the .xls.xls file.
My Coding:
transferResult = session.PutFiles(filePaths[iFile], sessionOptions.RootPath + "/" + fi.Name + "/Error/", false, transferOptions);
 
session.RemoveFiles(sessionOptions.RootPath + "/" + fileInfo.Name + "/Sent/" + Path.GetFileName(filePaths[iFile]));
how can I fix it?

Thank you,
Nicki.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,669
Location:
Prague, Czechia

Re: I cannot just move the .xls.xls file to another folder.

I'm sorry, but I do not understand what you mean by "I cannot just move". Do you get any error? Or what is the problem?

Reply with quote

Guest

Re: I cannot just move the .xls.xls file to another folder.

I mean I cannot move file incorrect name.
Ex. I want to move 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.

Reply with quote

martin
Site Admin
martin avatar

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.

Reply with quote

Advertisement

You can post new topics in this forum