Re: Complete VBScript Example (General questions)
Just in case my existing code sample (VERY SIMPLE) is useful:
dim obj_sftp
set obj_sftp = CreateObject( WeOnlyDo.wodSFTPCom.1 )
with obj_sftp
.Hostname = cstr(g_DestinationServer)
.Login = cstr(g_DestUsername)
.Password = cstr(g_DestPassword)
.Blocking = cbool(true)
.Connect
.PutFile cstr( & CStr(g_local_sub_path)), CStr(PathToUploadedFile)
.Disconnect
end with
Assuming this code is correct... how do errors get passed back to me and how can I capture useful information about the error for logging and reporting purposes??
Complete thread:
- Complete VBScript Example - Troglite, 2005-02-15, 00:04
- Re: Complete VBScript Example - Troglite, 2005-02-15, 00:15
- Re: Complete VBScript Example - wodSupport, 2005-02-15, 00:18
- Re: Complete VBScript Example - Troglite, 2005-02-15, 00:28
- Re: Complete VBScript Example - wodSupport, 2005-02-15, 00:30
- Re: Complete VBScript Example - wodSupport, 2005-02-15, 00:32
- Re: Complete VBScript Example - Troglite, 2005-02-15, 00:41
- Re: Complete VBScript Example - wodSupport, 2005-02-15, 00:32
- Re: Complete VBScript Example - wodSupport, 2005-02-15, 00:30
- Re: Complete VBScript Example - Troglite, 2005-02-15, 00:28
- Re: Complete VBScript Example - wodSupport, 2005-02-15, 00:18
- Re: Complete VBScript Example - Troglite, 2005-02-15, 00:15