scpsession.PutFiles and scpsession.GetFiles

Advertisement

as1981
Joined:
Posts:
19

scpsession.PutFiles and scpsession.GetFiles

All,

I have the delete files option set to true.

If there is a transfer failure (detected through .failures.count) then will the files still be deleted?

Thanks

Andrew

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

Re: scpsession.PutFiles and scpsession.GetFiles

Only files that get successfully transferred get deleted.

If there's a failure, the file, that failed to transfer, won't be deleted. But previous files, that were successfully transferred, will have been deleted by that time already.

Reply with quote

Advertisement

You can post new topics in this forum