I'm using the C# implementation of edtFTP. When downloading a 315 MB file from an AIX box using the ASCII transfer mode, the transfer aborts and I receive the following error after a left curly brace character ({) is encountered (somewhere around the 81 MB mark):
A runtime error has occurred: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
The same file can be downloaded without a problem using BINARY transfer mode.
Here's the code:
FTPClient ftp = new FTPClient(strIPAddress);
ftp.ConnectMode = FTPConnectMode.ACTIVE;
ftp.Login(strFTPUserID, strFTPPassword);
ftp.Chdir(strFTPPath);
ftp.TransferType = FTPTransferType.ASCII;
ftp.Get(strTempPath + strInputFile, strInputFile);
Any ideas?
Thanks in advance,
Dean