A
Anon
Hello All!
I have written a simple app that auto downloads a file from a secure
ftp, renames it, and moves it to a network location. Everything works
great except the renaming part. I parse out the last write date to get
the new filename, but the days and month are only single digits! This is
a problem when you reach something like 01/11/2004 and 11/1/2004, I get
dup filenames! ie.. 2004111.txt.
any idea on how I can rename these files with 2 digit values?
TIA
Luis
I have written a simple app that auto downloads a file from a secure
ftp, renames it, and moves it to a network location. Everything works
great except the renaming part. I parse out the last write date to get
the new filename, but the days and month are only single digits! This is
a problem when you reach something like 01/11/2004 and 11/1/2004, I get
dup filenames! ie.. 2004111.txt.
any idea on how I can rename these files with 2 digit values?
TIA
Luis
4}{1