am I dense (rhetorical) or do I not get what you want to do ..
you don't want to do this
var result = RunProcess(@"D:\Webdata", "cmd.exe", "D:\\Webdata\\Copy_All.bat", false);
but you have code for a ftp class, yes ... so, surely
var result = RunProcess(@"D:\Webdata", "cmd.exe", "D:\\Webdata\\Copy_All.bat", false);
# Instantiate ftp class with parameters
ftp myFTP = new ftp(host, user, password);
# Download the file
myFTP.download(source, localfile);
[edit] obviously this answer is missing a try/catch around the ftp, and possible a 'using', but that's the idea[/edit]
you say somewhere in the comments 'not able to use in my code' ... why not ? what happens when you try ?? don't forget, we cant see your screen, read your mind, we are guided by what you tell us - if you omit something important, then all we can do is sit back here and scratch our heads
There's also a great ftp client here
Free .NET FTP library[
^] that's worth a look, cheers to the guys at EnterpriseDT, their class saved my bacon before