Try OpenEdge Now
skip to main content
Managed Adapters Guide
FTP Managed Adapter : Working with the FTP Adapter : Configuring the FTP Adapter : Accessing files on the Local FileSystem
 
Accessing files on the Local FileSystem
You can configure the FTP Adapter to load or save a file on the local (Business Process Server) file system.
To access files on the local filesystem:
1. Select the Local Filesystem option in the Source Location or Target Location tab.
2. You can now enter the Path Prefix and File Name. The values of those parameters will be concatenated to specify the full path to your file. For example, entering C:\temp for Path Prefix, and sample.txt in File Name will point to the C:\temp\sample.txt file. You can also leave either (or both) of these parameters empty.
3. When you click OK, the Dataslot Mapping dialog box appears. If you have filled out the Path Prefix and File Name fields, the dialog box does not display the Source tab as the source location has been defined.
4. Assuming that only the Path Prefix has been entered at configuration file, the Dataslot Mapping dialog box appears.
5. Map the dsxml dataslot to provide the name of the file. With the path prefix defined in the FTP Adapter Configurator, the full path of the file would be: C:\temp\@dsxml, where @dsxml is the value of the dsxml dataslot.
6. Click OK to complete the mapping. If you have left the File Name field blank, a Warning appears that informs you to provide a File Name. If you have left both fields blank, you are warned to provide values for both missing parameters. The parameter value can be a constant (specified directly in the Map Configurator dialog), or may come from a CHARACTER dataslot.
When using the FTP Adapter to store a file on the local filesystem, the target file name is not mandatory. If you do not specify a name for the target file, the file name would be the same as the source file.