Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Error ftp upload from W2003 to AS400
gumtu

From: Peterborough, ON Canada
Posts: 5
Member Since: 11/27/07
posted April 30, 2008 2:06 PM

I have a small test program which works fine when uploading files from my XP test box to the AS400. When I run the same program on my W2003 uploading the same data, I get

Run-Time error 11101:
426-Records written to file FTRFEED in library PLMDBD have been truncated. data in the file may not be valid.

Any ideas why it fails on the W2003 box?
gumtu

From: Peterborough, ON Canada
Posts: 5
Member Since: 11/27/07
posted May 22, 2008 11:10 AM

Hi Howard,
 
  Your best bet is to transfer in Binary mode if possible, a quick Internet search usually this kind of an error is related to a line break being interpreted improperly or a exceeding the size of a fixed size entry, I'm not an expert on AS/400 systems so I'm not certain that is the case. I can tell you that our FTP control reads the file byte for byte from the source system and just writes it to the socket so I doubt that our controls is mangling the information and the fact that in the log an earlier append succeeded also leads me to believe that there is something with the format or the size of the one that is failing. Here is a forum post that says an 426 error can be caused if a trigger is attached to a file: http://forums.systeminetwork.com/isnetforums/archive/index.php?t-44017.html

Best Regards,
Jason Farrar
Operations Associate
Dart Communications
gumtu

From: Peterborough, ON Canada
Posts: 5
Member Since: 11/27/07
posted May 22, 2008 11:12 AM

We found using the ftpImage mode added 15K worth of Nulls to the end of the file.

We tried ftpAscii, but this stripped spaces from each line of the text file and so the append failed with the error message listed.

We are currently transferring with no ftp transfer mode set, so I think this would be the equivalent of automatic mode.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX