HI I got this error: it seems the file trying to delete was in use. How would you explain this happening, since we only use the batch process now?
Is only explanation that someone was looking at this order at the moment the batch process was running?
Going further, what would you do to code to fix this issue?
Looping for WALMART
File Path \\SERVER-W02\ARCUST\IBS\DATA\ORDERS\WALMART\
File Tranfer successful from /outgoing/orders/WALMART//1277157481.md.neworders to \\SERVER-W02\ARCUST\IBS\DATA\ORDERS\WALMART\1277157481.md.neworders
Error Occurse:WinSCP.SessionRemoteException: Error deleting file '/outgoing/orders/WALMART/1277172050.md.neworders'. ---> WinSCP.SessionRemoteException: Permission denied.
Error code: 3
from server: Failed to delete file /outgoing/orders/WALMART/1277172050.md.neworders: The process cannot access the file
'\\COMPLETEFTPFS01\sftp_share\sftp_fs\outgoing\orders\WALMART\1277172050.md.neworders' because it is being used by another process.
--- End of inner exception stack trace ---