************************source code***********************
************************end of source code***********************
1) The zip contains files, using these files I am updating some tables.
2) do you control the FTP server hosting the file?
No I do not.
3) What do you know about it's configuration?
I do not have other information except host name, user name, password.
4) Can you access the FTP sites logs to see if there is an error, warning, or message?
No I cannot access.
5) What happens when you try to download the file with a traditional FTP client?
I have tried downloading that file through FTP Client software; I can download everything without any problem. I have noticed that file size is different while using both procedures (using program and FTP Client software).
6) Do you catch exceptions and log them?
Yes, I do. No exception no error message. It does not do anything. Like stuck in infinite loop.
7) Is it just one particular ZIP file that causes the problem or all ZIP files above a certain size?
When I try to download another zip file with smaller size, first, it does not download complete file. Second, when I try to open that zip file, it gives error message, “Error: Unexpected end of archive file”. And when I try to unzip that file I get another error message “file is corrupted.”
All the other files (which are not zip files) on FTP server are below 22MB, so I am not sure about that.
Thank you!
JCE: Please
Use Code Tags