Turns out that it needed the remote filepath. After I added that in, this appears to work without error. I'll try to be more mindful of capturing and evaluating errors!
Yeah, that's a good call. I went ahead a nd did this and am indeed getting a No Such File error. I'll dig some more.
Thanks, this is helpful... I am fairly new to objectscript, so I'm having some difficulty retrieving the filesize from FileInfo from within the customized adapter. I think I need to call it after a session has been established, and so I'm trying:
Set tFinalSize= $LIST(tFileInfoList,2)
But this results in an error, ERROR <Ens>ErrException: <UNDEFINED>zPutStream+10^ACH.OutboundAdapterSFTPConfirm.1 *tFileInfoList -- logged as '-' number - @' Set tFinalSize= $LIST(tFileInfoList,2)'
Looking for any info on this error is unproductive. I must be misunderstanding something about how ByRef arguments work-- likely I am misunderstanding how to invoke FileInfo and handling %List objects for this particular session instance, as well.
Log in or create a new account to continue