Re: wodSFTPdll - using VB Script (General questions)
This isn't nice VBS what I suggest here, but I think it will work correctly for you. I took it from wodFtpDLX sample, just changed 'FtpDLX' to 'SFTP': [code]Option Explicit
Dim objFTP, lst
Set objFTP = WScript.CreateObject( WeOnlyDo.wodSFTPCom.1 , wod_ )
' please change these lines, from here
WScript.echo Please edit this file and setup Login, Hostname and Password properties
objFTP.Hostname = put.your.host
objFTP.Login = yourlogin
objFTP.Password = yourpass
' to here
objFTP.Blocking = 1
objFTP.Connect
objFTP.ListDir ( / )
lst = objFTP.ListItem
WScript.echo lst
objFTP.Disconnect
Sub wod_Connected(ErrorCode, ErrorText)
WScript.Echo Connected & ErrorText
End Sub
Sub wod_Disconnected()
WScript.Echo Disconnected
End Sub
[/code]
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