Wednesday, April 10, 2002 05:06 AM
the code you wrote should be ok... but when the file does not exist, f.length() will return 0L. so first use something like this:
and allways(!) use File.seperator for the slash/blackslash. if NOT your code is NOT portable...