Error changing directory to '/'. Out of memory
I have a powershell script which transfer a file to SFTP server.
I am getting the following error
Note:
I am getting the following error
while executingError changing directory to '/'. Out of memory
$session.PutFiles(filePath, sftpPath, false, transferOptions)
Protocol = [WinSCP.Protocol]::Sftp $transferOptions.TransferMode = [WinSCP.TransferMode]::Binary $transferOptions.ResumeSupport.State = [WinSCP.TransferResumeSupportState]::Off