Copy link to clipboard
Copied
I use a CURL script that fetches the latest Adobe reader version and installs it as we install Adobe reader on all of our computers.
The script works fine as it always fetched the latest version.
however the CURL part that does the downloaded always gets stuck going extremely slow. (We get 300mbps)
Not sure if the FTP server is just limited to >400kbps. Or if it's a problem with my script?
Anyone else have this issue?
Copy link to clipboard
Copied
<moved from download&install>
Copy link to clipboard
Copied
Are you aware that Adobe stopped uploading the latest versions of Reader to their FTP servers a while ago?
Copy link to clipboard
Copied
No this is news to me.
Do you know where I can get the last download with a static link?
I need a link that never changes so it won't break and will continue to work.
See the script I was using before below. If I can just download it with CURL without needing to scan an FTP server first that would be amazing.
Write-Host "Adobe DC Reader Install (Silent)"
Write-Host "=============================="`n
Try {
Write-Host "Creating directory to save install files..." -NoNewLine
New-Item -ItemType Directory -Force -Path C:\temp | Out-Null
Write-Host "Done"
$FTPFolderUrl = "ftp://ftp.adobe.com/pub/adobe/reader/win/AcrobatDC/"
Write-Host "Connecting to Adobe's FTP server and getting directory listings..." -NoNewLine
$FTPRequest = [System.Net.FtpWebRequest]::Create("$FTPFolderUrl")
$FTPRequest.Method = [System.Net.WebRequestMethods+Ftp]::ListDirectory
$FTPResponse = $FTPRequest.GetResponse()
$ResponseStream = $FTPResponse.GetResponseStream()
$FTPReader = New-Object System.IO.Streamreader -ArgumentList $ResponseStream
$DirList = $FTPReader.ReadToEnd()
Write-Host "Done"
Write-Host "Finding latest installer..." -NoNewLine
#from Directory Listing get last entry in list, but skip one to avoid the 'misc' dir
$LatestUpdate = $DirList -split '[\r\n]' | Where {$_} | Select -Last 1 -Skip 1
Write-Host "Done"
Write-Host "Building dynamic strings..." -NoNewLine
$LatestFile = "AcroRdrDC" + $LatestUpdate + "_en_US.exe"
$DownloadURL = "$FTPFolderUrl$LatestUpdate/$LatestFile"
Write-Host "Done"
Write-Host `n"Starting download using CURL (This may take some time as Adobe's FTP servers have restrictions)..."
.\curl.exe "$DownloadURL" -o "C:\temp\$LatestFile" -NoNewLine
Write-Host `n"Starting Unattended Install..." -NoNewLine
Start-Process -Wait -NoNewWindow -FilePath "C:\temp\$LatestFile" -ArgumentList "/sAll /rs /msi EULA_ACCEPT=YES"
Write-Host "Done"
} Catch {
Write-Host "ERROR: ($_)"`n
}
Copy link to clipboard
Copied
Meant to say Latest** I need the script to get the newest version every time.
Copy link to clipboard
Copied
Unfortunately, it's true. Open that FTP folder and you'll see that the latest version there is from October 2020. There have been multiple updates since then but they are no longer made available via FTP.
Copy link to clipboard
Copied
Adobe offer an SCUP catalog and presumably expect enterprises to be using a SCUP client to manage their updates. I'd hope they would mention it to anyone who obtains a Reader Redistribution License, but that might be too much to hope.