Thursday, July 07, 2005

BITSAdmin Uploading

Here is how you upload if you have been having problems. None of the documentation is in one place.
  1. Download the newest bits available ( see my other post and this)
  2. Install the bits server extentions ( part of windows 2003 server)
  3. Create a virtual folder in IIS ( or a new web site) (DO NOT GIVE ANY EXECUTE PERMISSIONS)
  4. Enable Bits Server Extentions in IIS for your virtual folder.
  5. Grant access to the folder to everyone (just for now ;] )
  6. Use this batch file to upload your files.


@echo off
echo usage: %0 RandomJobname FullPathToSource FullPathToDest
echo i.e. %0 myJob91832 c:\windows\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

Hopefully that should work, drop me a line if that helped.


At 9:50 AM, Anonymous Anonymous said...

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!

At 4:07 AM, Anonymous Anonymous said...

Info on this is pretty sparse.
Thank you so very much for taking the time to post this!

At 3:14 PM, Anonymous Anonymous said...

This script helped us troubleshoot a problem we thought was BITS, turns out BITS isnt the problem. THANK YOU.

At 8:29 PM, Anonymous sdsav said...

Thanks for the help. We desire to create utilization of bits to control our 1500 laptops (on the cheap) but i experienced been owning trouble using the upload. It's all concerning the internet website settings. Thanks!

cambridge satchel
cambridge satchel bags
cambridge leather satchel
cambridge satchel company bag
the cambridge satchel

At 5:14 AM, Blogger hou said...

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