Differences

This shows you the differences between the selected revisions of the page.

2012-03-23 2012-03-23
your, not our (martin) in vba, it's macro, not script (martin)
Line 54: Line 54:
' Now, with custom error handling enabled, ' Now, with custom error handling enabled,
-' script does not abort, when opening session fails+' macro does not abort, when opening a session fails
mySession.Open sessionOptions mySession.Open sessionOptions
Line 67: Line 67:
' Now, with default error handling restored, ' Now, with default error handling restored,
-' script aborts, if reading remote directory fails+' macro aborts, if a reading remote directory fails
Dim directoryInfo As RemoteDirectoryInfo Dim directoryInfo As RemoteDirectoryInfo
Set directoryInfo = session.ListDirectory("/home/user/") Set directoryInfo = session.ListDirectory("/home/user/")

Last modified: by martin