Stop FTP filling your C drive

FTPA friend was running some tests the other day and while he was collecting timings etc downloading large files, the C:\ kept filling up and causing problems.  Although he had told ftp to use the D:\ which had lots of free space via the LCD command, the c:\ was still filling up.

This is because it first creates a temporary file, then renames it once the transfer is complete.  The only way I know about getting round this is to change your TEMP environment variable before starting ftp.

I used the commands 

  • set tmp=d:\
  • set temp=d:\

Then started ftp for the tests and this resolved the problem, so you know of other ways you can get around this?

I am always interested in feedback so please feel free to add any comments, or you can mail me  here.  If you would like to submit a quick tip  with full credit and links back to your site then also feel free to contact me.

Related Posts Plugin for WordPress, Blogger...

Disable Mail Detectors

Run a Shell Script From Your Mac Desktop