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.
ExitCode 10 on uploading large files.
-
- Site Admin
- Posts: 987
- Joined: Mon Mar 24, 2003 4:37 am
>> 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?
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?
Re:
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?
> >> 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?