mannappie
10-10-2009, 11:54 AM
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. :yes
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?
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. :yes
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?