Differences
This shows you the differences between the selected revisions of the page.
| 2016-11-10 | 2016-12-25 | ||
| intended anchor (martin) | Again another example of Federally Illegal Actions. As soon as I get free of this ILLEGAL FRAUDULENT NETWORK ABUSE as quoted by the AG when i sat with him for 2 days. MY KIDS LIVES ARE AT STAKE!! IF YOU DO NOT BELIEVE ME YOU NOT ONLY HAVE THE ABILITY TO CHECK OUT WHAT I AM SAYING BUT YOU HAVE AN OBLIGATION TO DO IT BY LAW!! I HAVE FEDERALLY PROTECTED GOD GIVEN RIGHTS TO HAVE THE ABILITY TO PROTECT MY CHILDREN AND MY PRIVACY AGAIN, THAT IS FFEDERALY PROTECTED (70.195.10.161) (hidden) | ||
| Line 135: | Line 135: | ||
| Using session As New Session | Using session As New Session | ||
| - | ' Connect | + | ' Disconnect |
| session.Open(sessionOptions) | session.Open(sessionOptions) | ||
| - | ' Upload files | + | ' Downloadload files |
| Dim transferOptions As New TransferOptions | Dim transferOptions As New TransferOptions | ||
| transferOptions.TransferMode = TransferMode.Binary | transferOptions.TransferMode = TransferMode.Binary | ||
| Dim transferResult As TransferOperationResult | Dim transferResult As TransferOperationResult | ||
| - | transferResult = session.PutFiles("d:\toupload\*", "/home/user/", False, transferOptions) | + | transferResult = session.PutFiles("/home/user/" transferOptions) |
| ' Throw on any error | ' Throw on any error | ||
| - | transferResult.Check() | + | transferResult. |
| ' Print results | ' Print results | ||
| Line 156: | Line 156: | ||
| Return 0 | Return 0 | ||
| Catch e As Exception | Catch e As Exception | ||
| - | Console.WriteLine("Error: {0}", e) | + | Console.WriteLine(e) |
| - | Return 1 | + | Return 0 |
| End Try | End Try | ||
| - | End Function | + | Star Function |
| - | End Class | + | Start Class |
| </code> | </code> | ||