Dir output into an output file

KAK - Mar 30, 2009 at 05:09 AM
 patrick - Oct 16, 2009 at 05:27 PM

could you please let me konw how to store the output of a DIR command into an output file through FTP.


2 responses

netty5 Posts 25 Registration date Saturday July 12, 2008 Status Contributor Last seen September 2, 2021 1,171
Mar 30, 2009 at 05:27 AM
Hye there.. you can check this link : http://www.ftp-commands.com/file-transfer-protocol/dir+[remote-directory]+[local-file]/?q=dir+[remote-directory]+[local-file]
just put this line of code when you are in the directory you want to on your web host
dir *.* C:\listdirectory.txt
this will get a list of all the files in this directory into a file C:\listdirectory.txt on your computer
hope this helps -this does work