When open coreftp.exe from within .NET get runtime error

Core FTP client questions and answers
Post Reply
tm23
Posts: 3
Joined: Thu Jun 28, 2007 4:23 pm

When open coreftp.exe from within .NET get runtime error

Post by tm23 »

Hi,

I am trying to execute coreftp.exe from within my .NET program and I keep getting a run-time error from the Microsoft Visual C++ Runtime Library saying the following:

Run-time Error!

C:\Program Files\CoreFTP\coreftp.exe

This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.

This is the C# code I'm using in .NET:

proc.StartInfo.WorkingDirectory = @"C:\Program Files\CoreFTP";
proc.StartInfo.FileName = "coreftp.exe";
proc.Start();

When I double-click on the coreftp.exe directly, it opens fine. When I open other .exe's (such as Notepad.exe) from within .NET, it works fine.
I've even tried putting the desired commands into a .bat file and executing that from within .NET and I still get the same error. If I run the .bat file by double-clicking it, CoreFTP opens just fine. Please HELP!!!!
tm23
Posts: 3
Joined: Thu Jun 28, 2007 4:23 pm

Post by tm23 »

Version 1.3c Build 1447.6

Thanks
tm23
Posts: 3
Joined: Thu Jun 28, 2007 4:23 pm

Post by tm23 »

Tried the "using file-based storage" approach and it looks like CoreFTP Lite requires a password in order to unlock the settings. Does that mean I would need to purchase the other version of CoreFTP to do that?

Thanks for the help.
Post Reply