Win32Lib copyFile() failure

new topic     » topic index » view thread      » older message » newer message

I'm working on a backup app for my work. The one we have right now is
rather buggy, uses xcopy, and is written in VB. It fails on any
filename longer than 255 characters, due to using xcopy via the
command line. I'd like to rememdy this. I'm pretty sure copyFile() in
Win32Lib doesn't mind 255+ length filenames.

Here's a summary of the backup process:
  1. walk_dir() through all files, counting files, folders and sizes
  2. walk_dir() again, copyFile() or createDirectory() on each entry

createDirectory() successfully re-creates the directory tree, but
copyFile() only copies the first 3 files and fails on all the rest.

I can send the app to anyone who'd like to help, but I can't publicly post =
it.

~Greg

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu