How to transfer Terabytes thru freebie drop box account?


  • Sorry if this appears twice. I submitted it once and could not see it.

    I want to transfer a couple of terabytes of 0.1GB files thru a free 1GB dropbox account. As you might know, folks can share files with drop box simply by copying them to a drop box directory and their friends can see the files too.

    Can someone suggest how I might write  sender and receiver programs in powershell so the sender and receiver handshake where the sender copies a file into the drop box folder and the reciever waits until the upload is complete at which timeit renames the file to a non-dropbox folder and waits for the sender to copy another file into the drop box folder.



    siegfried heintze

    mercoledì 27 giugno 2012 00:38


  • Something like this pseudo-code:

    Computer A:
    copy-item -source file -destination dropbox
    copy-item "filedone.txt" dropbox
    do {start-sleep -seconds 1}(while test-file dropbox\filedone.txt)
    Computer B
    do {start-sleep -seconds 1{(while !(test-file dropbox\filedone.txt))
    copy-item -source dropbox\file -destination local\file
    remove-item dropbox\filedone.txt -force

    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    My Blog:
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})

    venerdì 29 giugno 2012 20:09