overwrite options

Report client bugs
Post Reply
spieler
Posts: 12
Joined: Wed Sep 07, 2011 8:53 pm

overwrite options

Post by spieler »

I am downloading some small and large files. In order to save disk space on the server with the CoreFTP client, I am zeroing out the files after I have copied them to their actual destination.

Unfortunately when I do this and do another download, an empty file is treated as if it didn't exist (I've tried -OS and -OL). If I change the file size to a single byte, then either option works fine.

I am zeroing them with robocopy primarily for ease of use.
1. copy files to destination
2. copy empty files (/create option) to temp directory
3. copy empty files to original download directory

I could run a forfiles command to update the file size to a single byte, but that seems to defeat the purpose of doing this with only a few robocopy commands.

Thanks,
Gary
Post Reply