General discussion

  • Creator
    Topic
  • #2075152

    How to select and delete zero-byte-size

    Locked

    by ediboss ·

    I have an FTP process that generates zero-byte size files if there is no data to pick up at the external site. The second portion of the process (a proprietary program) errors out when it incurrs these troublesome files. How can I select these zero-size files and delete them in an automated batch file-type program.

All Comments

  • Author
    Replies
    • #3790075

      How to select and delete zero-byte-size

      by pvp ·

      In reply to How to select and delete zero-byte-size

      Batch capabilities vary with your environment–which you neglected to mention.

    • #3788594

      How to select and delete zero-byte-size

      by lo ·

      In reply to How to select and delete zero-byte-size

      If you can’t find another solution, write a quick prog QBASIC (Win NT, WINNT\SYSTEM32, assume Win95/98 same/similar) (C, Assembler, whatever).

      That should have funct to get file size and if 0 can del file, set env var for FTP to skip transmission(or open after FTP and do same (neet delete access). There are freeware/shareware utilities that will probably do this (had one on Win 3.11, but…) lo

Viewing 1 reply thread