[Sharc-develop] Re: --downloadall
Status: Beta
Brought to you by:
kfstark
|
From: Keith F. S. <st...@du...> - 2001-07-31 00:24:44
|
Hi Michael, The InitFileOpsStruct loop does not actually download the files. It is setting up a class instance for each of the files on the receiver so you will see a lot of these calls if there are a lot of files on the receiver. The download process will not be done until after these class instances are set up. Try running it again and letting it go all the way through a crash. I don't see the typical crash message in the debug file so it looks like you may have killed it prematurely. The next release will not have --downloadall/--purgeall switches. It will be deprecated by using an "all" keyword to the --download/--purge switches. (ie. --download all instead of --downloadall). --Keith =============================================================== Keith F. Stark Phone: (h)818 343 6226 (w)818 634-0339 Stark Consulting, LLC FAX: (h) (w)818 755-4655 4936 Matula Drive USGS: (v)626-583-6729 (f)626 583-7827 Tarzana, CA 91356 Email: st...@du... =============================================================== On Tue, 24 Jul 2001, Michael Jackson wrote: > Hi Keith: > > I have a direct serial connection to ttyS0 at 9600 baud. I seem to be > able to download specific file indexs. However when I try to download all > files using the following command: > > /home/mikej/src/sharc-0.99.3pre1/src/sharc --port /dev/ttyS0 --baud 9600 > --downloadall --debug 100 --debugfile > /home/mikej/src/sharc-0.99.3pre1/debug/debug.txt > > Things seem to fall appart. From what I can gather from the debug.txt > file (attached) it gets the file information correctly from the FAT but is > unable to download the files in the loop. > > > InitFileOpsStruct: Entering... > InitFileOpsStruct: Exiting > > Let me know what you think. > > Mike > > |