We will be rolling out windows 10 upgrades to remote users soon. These users will not necessarily be able to see the location I have the wim stored. 
Locally I can have a centralized location.
Remotely I want all the needed files on their machine before the upgrade even kicks off to ensure it does not fail halfway through due to missing or corrupt files.
The file is over 3gb in size so deploying directly from the Kace is limited. 
I have an ftp server and a batch file that will download it from within windows ftp via command line but I cannot get it to work on the Kace.
Ideally I want to run the script which has the client machine log into our ftp server and download the file and once it is confirmed to be completed I can run a second command to upgrade.
All I can find is information regarding backing up the Kace.
What do I need to do to make an ftp script work on the kace?
Is there a better way to accomplish this?
1 Comment   [ + ] Show Comment

Comments

  • So i have a batch file that works if I run it in a local admin cmd window but plug it into the Kace and it fails. Any ideas?
    It shouldn't be this hard.
    below is the simple script
    ------------------------------------------------
    @echo off
    echo ftp
    echo user user1> ftpcmd.dat
    echo password>> ftpcmd.dat
    echo bin>> ftpcmd.dat
    echo lcd C:\local>> ftpcmd.dat
    echo get test.txt>> ftpcmd.dat
    echo quit>> ftpcmd.dat
    ftp -n -s:ftpcmd.dat ftp.myftpserver.com
    del ftpcmd.dat
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share