View Single Post
Old 01-06-2019, 09:52 AM
ekoranyi ekoranyi is offline
VanDyke Technical Support
Join Date: Jan 2017
Posts: 654
Hi amy_itx_aps,

It's still not clear to me if you need to run the CD command before or after the export command. In general, it would be sent to the remote much the same way that you're sending the export command.

crt.Screen.Send "cd " & path & chr(13)
You will typically want to wait for an indication that the remote system is ready to accept the command. This can be done by waiting for the prompt. Borrowing from your code, it may look something like:

crt.Screen.Send "cd " & path & chr(13)
You would then want to wait for an indication the command finished and the remote is ready for the next command before
issuing the next command.

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote