BITSAdmin Uploading
Here is how you upload if you have been having problems. None of the documentation is in one place.
- Download the newest bits available ( see my other post and this)
- Install the bits server extentions ( part of windows 2003 server)
- Create a virtual folder in IIS ( or a new web site) (DO NOT GIVE ANY EXECUTE PERMISSIONS)
- Enable Bits Server Extentions in IIS for your virtual folder.
- Grant access to the folder to everyone (just for now ;] )
- Use this batch file to upload your files.
bitsupload.txt
@echo off
echo usage: %0 RandomJobname FullPathToSource FullPathToDest
echo i.e. %0 myJob91832 c:\windows\file.txt http://abc.com/file.txt
if "%1"=="" goto end
Bitsadmin /create /upload %1
Bitsadmin /addfile %1 %3 %2
BitsAdmin /setnoprogresstimeout %1 79200
BitsAdmin /setminretrydelay %1 60
Bitsadmin /resume %1
Bitsadmin /info %1 /verbose
rem Bitsadmin /monitor
:end
Hopefully that should work, drop me a line if that helped.
4 Comments:
Thanks for your help. We want to use bits to manage our 1500 laptops (on the cheap) but I was having trouble with the upload. It's all about the web site settings. Thanks!
Info on this is pretty sparse.
Thank you so very much for taking the time to post this!
This script helped us troubleshoot a problem we thought was BITS, turns out BITS isnt the problem. THANK YOU.
Some people may say this is not a solution, dangerous, and also complain your messing up the laws of encapsulation.
xiaomi mi5 review
meizu m2 note
meizu mx5
Post a Comment
<< Home