Re: wodSFTPdll - using VB Script (General questions)
Thanks for the fast reply. I will have a look at it! It look like to be exactly what I was looking for.
Futhermore, I have another inquiry regarding the wodSFTP component. It seem like we experiencied some CRC failure while uploading to a SFTP server (with key encryption and password). Our programmer tried the follwoing code:
[code]
Keys.Load Keys path
If Err.Number = 0 Then
SFTP.Resume = True
SFTP.Blocking = True
SFTP.PrivateKey = Keys.PrivateKey(0)
SFTP.Authentication = 0
SFTP.Login = Login
SFTP.Password = PassW
SFTP.Connect & Site & , 22
If SFTP.State = 3 Then
SFTP.PutFile source, destination
If Err.Number = 0 Then
' transfert is a success
end if
SFTP.Disconnect
end if
end if
[/code]
Is the the appropriate way to test if the file was sended with success? Otherwise, which method is more appropriate?
Regards,
Richard