Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


ErikC
  •  ErikC
  • Free support Topic Starter
2012-08-30T06:14:44Z
Hi,

I have an FTP task downloading a ZIP file. Today this file is not correct downloaded.
I believe this is not VC fault.

You can see a part of the download log here:

SIZE USA_20120829.zip
213 0

RETR USA_20120829.zip
150 Opening BINARY mode data connection for USA_20120829.zip (0 Bytes).

226 Transfer complete. 0 bytes transferred. 0.00 KB/sec.


So the ZIP file is 0kb. I also used the FTP explorer to confirm the 0kb.

My next task is unzipping the file.
This gives me the following error:

Exception in Task: Invalid archive: open/read error! Is it encrypted and a wrong password was provided?
If your archive is an exotic one, it is possible that SevenZipSharp has no signature for its format and thus decided it is TAR by mistake.


Now the ZIP file is locked by the VisualCronService.exe and I can not delete the file anymore.
I have to stop/start the service to do this.

I would like that the extract task releases the file when it fails to unzip.

Regards,
Erik
Uses Visualcron since 2006.
Sponsor
Forum information
Support
2012-08-30T06:31:08Z
I took a quick look at the code and it seems like we do release the file after failure. Do you have a good way of reproducing this?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
  •  ErikC
  • Free support Topic Starter
2012-08-30T06:51:57Z
Yes, now I can.

The file on the ftp server is empty and after downloading I have a 0kb ZIP file.
Extracting the file will fail. (Error 77777)
The file is locked.

Regards,
Erik
Uses Visualcron since 2006.
Support
2012-08-30T15:53:08Z
We could not reproduce this. Could you attach the file and tell us which OS you are testing on? Also, please attach screenshots of Extract settings.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top