Differences

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

2014-03-07 2014-03-07
no summary (189.101.4.254) old revision restored (martin)
Line 47: Line 47:
| [[library_transferresumesupport|TransferResumeSupport]] | Configures automatic resume/transfer to temporary filename. | | [[library_transferresumesupport|TransferResumeSupport]] | Configures automatic resume/transfer to temporary filename. |
-===== [[Example]] Examples ===== +===== [[example]] Examples ===== 
-==== [[CSharp]] C# Example ====+==== [[csharp]] C# Example ====
There are also [[library_examples|other C# examples]]. There are also [[library_examples|other C# examples]].
Line 72: Line 72:
            using (Session session = new Session())             using (Session session = new Session())
            {             {
-                // Connect to FTP server+                // Connect
                session.Open(sessionOptions);                 session.Open(sessionOptions);
Line 96: Line 96:
        catch (Exception e)         catch (Exception e)
        {         {
-            Console.WriteLine("Error: {0}", e.Message);+            Console.WriteLine("Error: {0}", e);
            return 1;             return 1;
        }         }
Line 148: Line 148:
            Return 0             Return 0
        Catch e As Exception         Catch e As Exception
-            Console.WriteLine("Error: {0}", e.Message)+            Console.WriteLine("Error: {0}", e)
            Return 1             Return 1
        End Try         End Try

Last modified: by martin