Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Newbies

Hi everybody..

 

I have an Issue with the UNZIPFile function of 360works scriptmaster v4.32

 

the file is correctly uncompressed... but the zip file remains busy until i close filemaker

 

the matter is that i want to delete this file after opération... but it's impossible!

do you have the same with your versions?

 

many thanks for your help

 

Antoine

I ran a test to see if I could replicate what is happening to you but was unable. I was able to unzip the file and then delete it while filemaker was open. I deleted the file by just dragging it out of the finder window and into the trash. This test was done on Mac OSX so the behavior may be different in a Windows environment. Did you register the function first or did you run it out of the example file?

  • Author
  • Newbies

Sorry my question was not complete

 

i'am using FM12 on Windows 7  and FMserver12 on Windows server 2008

i tried with ScriptMaster.fmp12 file and with my own files

 

the files are well unzipped in a separate folder, but when i want to delete the initial zip file i got this message:

 

The action can't be completed because the folder is open in another program

close the folder and try again

 

but the initial ZIP file is on my desktop.. and there is no open folder !

 

i have to close Filemaker to be able to delete the ZIP file :hmm:

I replicated your error in a Windows environment. I reviewed the code in the module and it looked like we weren't closing the zip file. Add the line zipFile.close() to the module and you should be able to now delete the file without having to close FileMaker. Here is a snippet showing where you should add the line 

//flush the output stream and close it.
bos.flush();
bos.close();

//close the input stream.
bis.close();

}

}
zipFile.close();
}
catch(IOException ioe) {
return "IOError :" + ioe;
}

return 1;
  • Author
  • Newbies

Hi Ryan

 

it was so simple!

Many thanks for your help... :yep:

Antoine

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.