Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5941 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I am currently working at updating some databases from FM6 to FM9.0 on a Windows XP PC.

I have one script that uses Send Event to run a batch file that ftp's a file from a remote computer to the one running FileMaker.

It works fine all the time under FM6.

With FM9, it worked the first time. Then I closed the program and later opened it again. This time it just flashed the command window very quickly but didn't do anything.

After trying several different combinations, I find that if I go back into the script, reselect the batch file to run, it will work until I close the file. Then when I open the file again, it quickly flashes the command window but won't actually run the batch file.

In setting up Send Event...

File Type displays "Windows Batch File"

Send the "Open Document/Application" messages is selected

Specify file is set up as the following:

filewin:/C:/temp/KNF_Ftp_Scripts/GetKNF_ftp.bat

Any ideas?

thanks, Doug

  • Newbies
Posted (edited)

I figured it out...

I tried rewriting from scratch but that didn't work.

Here's the solution that worked...

The original ftp batch file that I used with FM6 looked something like this:

ftp -d -i -s:GetKNF_ftp.txt 192.168.0.1

For FileMaker 9, I just had to put the full pathway for the script file. So now it looks like this:

ftp -d -i -s:/C:/temp/KNF_Ftp_ Scripts/GetKNF_ftp.txt 192.168.0.1

Doug

Edited by Guest

This topic is 5941 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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