IncomingDirectory Property

The directory to be used to store incoming messages.

Object Oriented Interface

public function getIncomingDirectory();
public function setIncomingDirectory($value);

Procedural Interface

ipworksedi_as2receiver_get($res, 38 );
ipworksedi_as2receiver_set($res, 38, $value );

Default Value

''

Remarks

If IncomingDirectory is set, the received message is stored as a file in that directory. If a filename is specified in the EDI message, the class will write to the specified filename, otherwise, a filename will be automatically generated based on a timestamp of the incoming transmission. In either case, if the filename exists on disk, the data will be written to the same name with a "-duplicate?" appended to the filename, where "?" is the number of duplicates.

Please note that the SetTPInfo method, if used, needs to be invoked before setting this property because it overrides the setting for incoming directory.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 PHP Edition - Version 20.0 [Build 8203]