Re: SFTP w/ Microsoft Dynamics Nav (Navision) (General questions)
Hi Josh,
Please try setting Blocking mode to true. You can do that by setting the Blocking Property.
The reason why you receive this error, is because the MakeDir and ListDir are being executed before you really connected to server. When using the component this way (scripting) and you wish to execute your code line-by-line, Blocking mode is required. It will ensure that each method is executed before proceeding to the next line in your code.
However, if you don't want to use Blocking mode, you need to use the Event system (and Done Event) in order to issue multiple commands.
Hope I helped.
Regards,
Damba
Complete thread:
- SFTP w/ Microsoft Dynamics Nav (Navision) - Josh, 2007-11-05, 15:44
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - wodDamir, 2007-11-05, 15:49
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - Josh, 2007-11-05, 15:59
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - wodDamir, 2007-11-05, 16:06
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - Josh, 2007-11-05, 16:21
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - woddrazen, 2007-11-05, 16:30
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - Josh, 2007-11-05, 16:56
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - woddrazen, 2007-11-05, 17:24
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - Josh, 2007-11-05, 16:56
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - woddrazen, 2007-11-05, 16:30
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - Josh, 2007-11-05, 16:21
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - wodDamir, 2007-11-05, 16:06
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - Josh, 2007-11-05, 15:59
- Re: SFTP w/ Microsoft Dynamics Nav (Navision) - wodDamir, 2007-11-05, 15:49