Skip 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.

Batch file for saving via ftp

Featured Replies

Hi,

I'm not sure this is the right area or forum. I have a program that, upon opening, should run a batch file that connects to a server and downloads a new file via FTP.

The FTP batch file works beautifully on its own, opening in a dos window, verifying, and then downloading.

But when I run the batch file from Filemaker (v7),it tries to connect to the server through a Windows-type window, an hence stops working.

The batch file is

@echo on

cls

Title "Getting News Items"

ftp -s:get.txt

quit

which then calls upon the get file, which is

binary

prompt n

mget *.mer

quit

As I say, it works a treat on its own, but I cant get it to go from Filemaker..

Any help would be appreciated

Dave :)

Ahhh :)

For the get.txt you have to put the full filepath in. When executing manually, it executes relative to the files location, when executing from FM, don't really know where thats at, but point is, just put the whole filepath in.

  • Author

Oooops - forget the entire post! I fixed it!

Just as a word of warning to others, it was a similar problem to another post I read - that is I had specified a relative path.

I had one file which called another file - both files were in the location c:/VR_Software/Updates. So, when I ran the file manually it went to the other file in the same directory (C:/VR_Software/Updates).

Bu when I ran the first file from Filemaker, it tried to call the second file from the location that the Filemaker program was saved to C:/Filemaker_Source_Files, and obviously, it wasn't there!

Cheers,

Dave :)

  • Author

THanks! Looks like you beat me to it!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.