copying directories (amazing next)
ZXNet echo conference «zxnet.soft»
From Stanislav Yudin → To Kirill Frolov 7 April 2003
Hello Kirill!
05 Apr 03 09:38, Kirill Frolov -> All:
KF> It would seem that there can be no ambiguities when copying files,
KF> however ...
KF> NOTE TO COMMANDER WRITERS.
If this is a hint at TRDN, then all names in it are generally ignored - they are secondary.
Only the serial numbers of files and directories are taken into account, and their names
are assigned after everything has been copied. So in theory everything should
copy as needed.
Stanislav
From Kirill Frolov → To Stanislav Yudin 7 April 2003
Press RESET immediately, Stanislav!
07 Apr 03 07:46, Stanislav Yudin wrote to Kirill Frolov:
KF>> It would seem that there would be no ambiguities when copying files
KF>> maybe, however...
KF>> NOTE TO COMMANDER WRITERS.
SY> If this is a hint at TRDN, then all names in it are generally ignored - they are
SY> secondary. Only the serial numbers of files and are taken into account
SY> directories, and their names are assigned after all
SY> copied. So, in theory, everything should be copied as needed.
It's not about names. In TR-DOS, a name is actually a number. The point is that you
a list of copied files is compiled before copying, and on the PC gradually
replenished during the copying process. Therefore, the list may already include
copied files and thus file reproduction occurs. If you
after each copied file, I read the next file number from the directory
to be copied. I would have stepped on this rake too. This is easy in TR-DOS
build a list of files, there are no more than 128 of them in total. It's better on PC
it turns out to recursively read directories during the copying process if in
directory, a file is added, it is copied a second time.