G
Guest
Not sure what I am missing.
How can I run the FTP from command line in a console app.
Console.WriteLine("ftp -s:Idx.scr"); <-- Thought that would start it but it
does it.
I know in a vbscript I could write:
'The following code executes the FTP script. It creates a Shell
'object and run FTP program on top of it.
Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Run ("ftp -s:" & chr(34) & strFTPScriptFileName & chr(34))
Set objShell = Nothing
How do I do this in .net?
How can I run the FTP from command line in a console app.
Console.WriteLine("ftp -s:Idx.scr"); <-- Thought that would start it but it
does it.
I know in a vbscript I could write:
'The following code executes the FTP script. It creates a Shell
'object and run FTP program on top of it.
Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Run ("ftp -s:" & chr(34) & strFTPScriptFileName & chr(34))
Set objShell = Nothing
How do I do this in .net?