Re: wodSFTPdll - using VB Script (General questions)
Thanks, this is helpful.
We have just acquired the wodSFTP component and try to use it as well with VBS. However, I could not found a way to obtain back the various events of the component, such as Connected and Done. Is there any way to get all the event of wodSFTP with VBS?
Futhermore, your below below mentionned 'if you got an error, you can trap it here . Should the vbs ERR object be queried or should it be the ErrorText property of the wodSFTP object? Ìt seem clearer with the events of to do it.
An email response would certainly be appreciated (Admin: Look in my profile)
Regards,
Richard
Douglash,
[code]
Dim sftp
set Sftp = CreateObject( WeOnlyDo.wodSFTPCom.1 )
sftp.Blocking = 1
sftp.Hostname = your_hostname
sftp.Login = your_login
sftp.Password = your_password
sftp.Connect
' if you get an error, you can trap it here
'sftp.GetFile c: emp , /home/joe/somefile
sftp.ListDir /
wscript.echo sftp.ListItem
sftp.Disconnect[/code]Hope I helped.
Kreso
Complete thread:
- wodSFTPdll - using VB Script - Douglash, 2004-09-08, 15:14
- Re: wodSFTPdll - using VB Script - wodSupport, 2004-09-08, 16:52
- Re: wodSFTPdll - using VB Script - happycujo, 2005-11-02, 21:17
- Re: wodSFTPdll - using VB Script - wodSupport, 2005-11-02, 21:33
- Re: wodSFTPdll - using VB Script - happycujo, 2005-11-02, 23:02
- Re: wodSFTPdll - using VB Script - wodSupport, 2005-11-02, 23:05
- Re: wodSFTPdll - using VB Script - happycujo, 2005-11-02, 23:02
- Re: wodSFTPdll - using VB Script - wodSupport, 2005-11-02, 21:33
- Re: wodSFTPdll - using VB Script - happycujo, 2005-11-02, 21:17
- Re: wodSFTPdll - using VB Script - wodSupport, 2004-09-08, 16:52