Hi all,
I have a question. I wrote this code to unzip a zipped file with the NAV 2009 R2 Role Tailored Client:
CLEAR(tsshell32);
IF CREATE(tsshell32,TRUE,FALSE) THEN BEGIN
tsSrcFolder:=tsshell32.NameSpace(tsfilename);
IF ISCLEAR(tsSrcFolder) THEN ERROR('Cannot access %1!', SrcFolder.Title);
tsDstFolder:=tsshell32.NameSpace(tsTempUnzipFolder);
IF ISCLEAR(tsDstFolder) THEN ERROR('The destination folder cannot be created!');
tsSrcItems:=tsSrcFolder.Items;
tsDstFolder.CopyHere(tsSrcItems,20);
CLEAR(tsshell32);
END ELSE BEGIN
ERROR('Unable to open file ' + tsfilename);
END;
And this code works fine when the size of the zip file is less than 8 Megabytes OR when it is run from the classic client.
However when I run this from the RTC and I have a zip file that is larger than 8 Megabytes, it does not seem to execute the "tsDstFolder.CopyHere(tsSrcItems,20)" statement. No error is issued, nothing is recorded in the server log where the Application server is located. It just does not seem to execute.
Does anyone know if there is an 8MB limitation and if so how to get around it?
Thanks in advance,
Willy
Fostering a homeless, abused child is the hardest yet most rewarding thing I have ever done.
Answers