Windows command line download, file transfer tool

How do you transfer files asynchronously between a client and a server using command line tool?

There is a nice tool called BITS (Background Intelligent Transfer Service) for this job.

BITSAdmin is a command-line tool that you can use to create download or upload jobs and monitor their progress.

From BITS page:
A download job downloads files to the client, an upload job uploads a file to the server, and an upload-reply job uploads a file to the server and receives a reply file from the server application.

BITS continues to transfer files after an application exits if the user who initiated the transfer remains logged on and a network connection is maintained. BITS will not force a connection.

BITS suspends the transfer if a connection is lost or if the user logs off. BITS persists transfer information while the user is logged off, across network disconnects, and during computer restarts.

A must have tool for admins. For example download xyz.pdf from http://foo.com web site:

bitsadmin /transfer xnase http://foo.com/xyz.pdf downloaded.pdf

More examples available at MSDN web site.

Meet the Author

Admin

I like chocolate, gadgets, open source software, photography, traveling and all shades of green colors. I love spending time with fun loving friends and family members. This is my own online journal.

2 comments… add one
  • saravanan Jun 24, 2009, 5:10 am

    Google search Commands line windows xp line

  • austin Mar 30, 2011, 5:23 pm

    thank you

Leave a Comment