views:

14

answers:

0

I am trying to send output from a DOS command that normally is displayed on screen to an FTP site. I know I can do it in two steps (redirect to a file and then ftp the file), but I am hoping to skip the materializing it as a file first (it's going to be a big file).

Example: I can create a directory list file: dir c:\ >c:\dirlist.txt and then FTP that file using the command line FTP. What I want to do is 'land' the file directly on the FTP site without having to create a local file first.

For an added bonus, compressing the file first would be nice (again without ever materializing the .txt or .zip file).