Updated script to keep regenerating a list of files to download
This commit is contained in:
parent
50e89b9de2
commit
bfc13cb6ef
@ -52,7 +52,7 @@ try
|
|||||||
$remoteFilePath = [WinSCP.RemotePath]::Combine($remotePath, $fileInfo.FullName)
|
$remoteFilePath = [WinSCP.RemotePath]::Combine($remotePath, $fileInfo.FullName)
|
||||||
|
|
||||||
# Construct the local file path
|
# 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
|
# Download the file
|
||||||
$transferResult = $session.GetFiles($remoteFilePath, $localFilePath, $True)
|
$transferResult = $session.GetFiles($remoteFilePath, $localFilePath, $True)
|
||||||
|
Loading…
Reference in New Issue
Block a user