KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Helpful tools to make curl calls from 4D
PRODUCT: 4D | VERSION: 20 R | PLATFORM: Mac & Win
Published On: June 24, 2025

When developing an application that transfers data over the internet to/from a FTP server via curl commands, the command LAUNCH EXTERNAL PROCESS or the 4D class SystemWorker is usually enough to get the job done. However, it can become tedious to write curl calls from scratch, so there are a couple different tools that can help alleviate the work needed to accomplish the task: the "4D-plugin-curl-v3" plugin (github) and the “Filetransfer_curl” class of the File Transfer component (github). Both tools are built and maintained by reputable developers. Depending on the needs of the application and/or preference of the developer (e.g. is using a plugin or using a component preferred), either can be utilized as helpful abstractions to allow making curl calls easier.