Updated script to keep regenerating a list of files to download

This commit is contained in:
datechnoman 2023-12-21 09:35:39 +00:00
parent 50e89b9de2
commit bfc13cb6ef

View File

@ -52,7 +52,7 @@ try
$remoteFilePath = [WinSCP.RemotePath]::Combine($remotePath, $fileInfo.FullName)
# Construct the local file path
$localFilePath = [System.IO.Path]::Combine("E:\CommonCrawl\", $fileInfo.Name)
$localFilePath = [System.IO.Path]::Combine("E:\CommonCrawl", $fileInfo.Name)
# Download the file
$transferResult = $session.GetFiles($remoteFilePath, $localFilePath, $True)