ExitCode 10 on uploading large files.

Core FTP client questions and answers
Locked
LurchUSA
Posts: 6
Joined: Thu Nov 13, 2014 2:35 pm

ExitCode 10 on uploading large files.

Post by LurchUSA »

When I set up a C#.net process object to launch CoreFTP.exe, with command line parameters, [b]I get an ExitCode of 10 for any file over 100Mb.[/b] Can someone please explain what error code 10 means and if there is a reference of codes I can use to troubleshoot future issues, please?

The code is as follows, please review and comment if I am doing anything wrong:

[code]
Process cmdProcess = new Process();
ProcessStartInfo cmdProcessInfo = new ProcessStartInfo
{
UseShellExecute = false,
FileName = **Path to CoreFTP.exe**,
Arguments = "-site " + **Site profile name** + " -O -s -u " + **File name to upload** + ".zip -p " + **Destination file name**+ " -chmod 660 -log " + **Log file name**,
CreateNoWindow = false
};

cmdProcess.StartInfo = cmdProcessInfo;
cmdProcess.Start();
cmdProcess.WaitForExit();
[/code]

The text between the double asterisks are masks for code that goes in there, company policy prohibits me naming any details that might expose our FTP locations.
ForumAdmin
Site Admin
Posts: 987
Joined: Mon Mar 24, 2003 4:37 am

Post by ForumAdmin »

10 means the file is in the process of transferring.

Use corecmd.exe to block it until the transfer is complete.
LurchUSA
Posts: 6
Joined: Thu Nov 13, 2014 2:35 pm

Post by LurchUSA »

>> 10 means the file is in the process of transferring.

Thanks for the details, I was totally puzzled over what that value is. Do you have a list of error codes that CoreFTP throws, as a reference for future issues?

>> Use corecmd.exe to block it until the transfer is complete.

How do you use corecmd.exe to block the process until the transfer is complete? Do you have an example I can refer to, please?
rsoreen
Posts: 1
Joined: Mon Jul 06, 2020 11:39 am

Re:

Post by rsoreen »

LurchUSA wrote:
> >> 10 means the file is in the process of transferring.
>
> Thanks for the details, I was totally puzzled over what that value is. Do you have a
> list of error codes that CoreFTP throws, as a reference for future issues?
>
> >> Use corecmd.exe to block it until the transfer is complete.
>
> How do you use corecmd.exe to block the process until the transfer is complete? Do
> you have an example I can refer to, please?


Is there any update for this issue?
If corecmd.exe return transfer status 10 what does it mean?
Locked