Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2009
    Posts
    2

    Cool Copy large amounts of files in multiple folders

    Hey everyone,

    I have got a problem. I am making a app that opens a truecrypt container (25 gig) and launches a third party softwareapp. That software needs to have access to the data in that container. Everything loads from a 32 gig USB pendrive. So the above is for securityreasons.

    Because of the reason that multiple users get the same container, and thus the same password, and use portable USB drives that could be lost I thought to use a password protection in AMS. That all works now.

    So what is the problem:
    Well, recently someone asked me if it was possible to copy all the files in the truecrypt container to the c: drive. Ofcourse that is possible I replied.....

    Wel you should know that it's 25 gig of data to copy. In AMS i'm using the File.Copy command for this purpose. It all works well but is dead slow.
    It copied 42 MB in 45 minutes. At this rate it will take some hours to copy it all while in windows it only takes 40 minutes. There are three major reasons why I want AMS to this job.
    1st-- The user can't screw things up.
    2nd-- A progressbar is a nice feature I implemented. This way the user can see that the copyprocess is still going.
    3rd-- The security is in place and works fine.

    if someone would have an idea on how to speed things up it would be much appreciated.

    PS: I know this is a scripting language. I know this is slower than anything else but perhaps there is a dll out there that could do the job and still would be able to update a progressbar?

  2. #2
    Join Date
    Apr 2006
    Posts
    127
    If that amount of data is copied to a User's C drive, hasn't the security of that data been thrown out of the window?

    I have been experimenting with PureBasic to solve a large file read problem (too slow) in my AMS project. You could take a look at that, the free Demo version is very capable.

    http://www.purebasic.com/

  3. #3
    Join Date
    Apr 2009
    Posts
    2
    I hear ya!

    Totaly agree with you. It's not my call tho.

    Thanks for the link. I'll have a look at that. (edit: Just looked. Don't think this is it because I would need to redo the whole thing again. I'd rather use AMS for this. Thanks anyway!!)

    Does anyone else have a suggestion?
    Last edited by mannappie; 10-10-2009 at 03:38 PM.

  4. #4
    Join Date
    Apr 2006
    Posts
    127
    You can still use AMS, it can run a PureBasic exe silently or call a PureBasic DLL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts