net-sftp 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. data/doc/LICENSE-BSD +1 -1
  2. data/doc/LICENSE-RUBY +1 -1
  3. data/doc/faq/faq.html +32 -32
  4. data/examples/asynchronous.rb +1 -1
  5. data/examples/get-put.rb +1 -1
  6. data/examples/sftp-open-uri.rb +1 -1
  7. data/examples/ssh-service.rb +1 -1
  8. data/examples/synchronous.rb +1 -1
  9. data/lib/net/sftp.rb +1 -1
  10. data/lib/net/sftp/errors.rb +1 -1
  11. data/lib/net/sftp/operations/abstract.rb +1 -1
  12. data/lib/net/sftp/operations/close.rb +1 -1
  13. data/lib/net/sftp/operations/errors.rb +1 -1
  14. data/lib/net/sftp/operations/fsetstat.rb +1 -1
  15. data/lib/net/sftp/operations/fstat.rb +1 -1
  16. data/lib/net/sftp/operations/lstat.rb +1 -1
  17. data/lib/net/sftp/operations/mkdir.rb +1 -1
  18. data/lib/net/sftp/operations/open.rb +1 -1
  19. data/lib/net/sftp/operations/opendir.rb +1 -1
  20. data/lib/net/sftp/operations/read.rb +1 -1
  21. data/lib/net/sftp/operations/readdir.rb +1 -1
  22. data/lib/net/sftp/operations/realpath.rb +1 -1
  23. data/lib/net/sftp/operations/remove.rb +1 -1
  24. data/lib/net/sftp/operations/rename.rb +1 -1
  25. data/lib/net/sftp/operations/rmdir.rb +1 -1
  26. data/lib/net/sftp/operations/services.rb +1 -1
  27. data/lib/net/sftp/operations/setstat.rb +1 -1
  28. data/lib/net/sftp/operations/stat.rb +1 -1
  29. data/lib/net/sftp/operations/write.rb +1 -1
  30. data/lib/net/sftp/protocol/01/attributes.rb +1 -1
  31. data/lib/net/sftp/protocol/01/impl.rb +1 -1
  32. data/lib/net/sftp/protocol/01/packet-assistant.rb +1 -1
  33. data/lib/net/sftp/protocol/01/services.rb +1 -1
  34. data/lib/net/sftp/protocol/02/impl.rb +1 -1
  35. data/lib/net/sftp/protocol/02/packet-assistant.rb +1 -1
  36. data/lib/net/sftp/protocol/02/services.rb +1 -1
  37. data/lib/net/sftp/protocol/03/impl.rb +1 -1
  38. data/lib/net/sftp/protocol/03/packet-assistant.rb +1 -1
  39. data/lib/net/sftp/protocol/03/services.rb +1 -1
  40. data/lib/net/sftp/protocol/04/attributes.rb +1 -1
  41. data/lib/net/sftp/protocol/04/impl.rb +1 -1
  42. data/lib/net/sftp/protocol/04/packet-assistant.rb +1 -1
  43. data/lib/net/sftp/protocol/04/services.rb +1 -1
  44. data/lib/net/sftp/protocol/05/impl.rb +1 -1
  45. data/lib/net/sftp/protocol/05/packet-assistant.rb +1 -1
  46. data/lib/net/sftp/protocol/05/services.rb +1 -1
  47. data/lib/net/sftp/protocol/constants.rb +1 -1
  48. data/lib/net/sftp/protocol/driver.rb +4 -1
  49. data/lib/net/sftp/protocol/packet-assistant.rb +1 -1
  50. data/lib/net/sftp/protocol/services.rb +1 -1
  51. data/lib/net/sftp/session.rb +17 -6
  52. data/lib/net/sftp/version.rb +3 -3
  53. data/lib/uri/open-sftp.rb +1 -1
  54. data/test/ALL-TESTS.rb +1 -1
  55. data/test/operations/tc_abstract.rb +1 -1
  56. data/test/operations/tc_close.rb +1 -1
  57. data/test/operations/tc_fsetstat.rb +1 -1
  58. data/test/operations/tc_fstat.rb +1 -1
  59. data/test/operations/tc_lstat.rb +1 -1
  60. data/test/operations/tc_mkdir.rb +1 -1
  61. data/test/operations/tc_open.rb +1 -1
  62. data/test/operations/tc_opendir.rb +1 -1
  63. data/test/operations/tc_read.rb +1 -1
  64. data/test/operations/tc_readdir.rb +1 -1
  65. data/test/operations/tc_realpath.rb +1 -1
  66. data/test/operations/tc_remove.rb +1 -1
  67. data/test/operations/tc_rmdir.rb +1 -1
  68. data/test/operations/tc_setstat.rb +1 -1
  69. data/test/operations/tc_stat.rb +1 -1
  70. data/test/operations/tc_write.rb +1 -1
  71. data/test/protocol/01/tc_attributes.rb +1 -1
  72. data/test/protocol/01/tc_impl.rb +1 -1
  73. data/test/protocol/01/tc_packet_assistant.rb +1 -1
  74. data/test/protocol/02/tc_impl.rb +1 -1
  75. data/test/protocol/02/tc_packet_assistant.rb +1 -1
  76. data/test/protocol/03/tc_impl.rb +1 -1
  77. data/test/protocol/03/tc_packet_assistant.rb +1 -1
  78. data/test/protocol/04/tc_attributes.rb +1 -1
  79. data/test/protocol/04/tc_impl.rb +1 -1
  80. data/test/protocol/04/tc_packet_assistant.rb +1 -1
  81. data/test/protocol/05/tc_impl.rb +1 -1
  82. data/test/protocol/05/tc_packet_assistant.rb +1 -1
  83. data/test/protocol/tc_driver.rb +1 -1
  84. metadata +2 -2
data/doc/LICENSE-BSD CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
1
+ Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
data/doc/LICENSE-RUBY CHANGED
@@ -1,4 +1,4 @@
1
- Net::SFTP is copyrighted free software by Jamis Buck <jgb3@email.byu.edu>.
1
+ Net::SFTP is copyrighted free software by Jamis Buck <jamis@37signals.com>.
2
2
  You can redistribute it and/or modify it under either the terms of the GPL
3
3
  (see the file GPL), or the conditions below:
4
4
 
data/doc/faq/faq.html CHANGED
@@ -60,56 +60,56 @@
60
60
  <h1>Net::SFTP FAQ</h1>
61
61
  <div class="faq-list">
62
62
  <ul>
63
- <li><a href='#2224878'>What is Net::SFTP?</a></li>
63
+ <li><a href='#2254408'>What is Net::SFTP?</a></li>
64
64
  <li>How do I&#8230;
65
65
  <ul>
66
66
  <li>...connect to an <span class="caps">SFTP</span> server?
67
67
  <ul>
68
- <li><a href='#2224778'>I&#8217;d like to connect without first getting a Net::SSH connection&#8230;</a></li>
69
- <li><a href='#2224728'>I already have an open Net::SSH connection&#8230;</a></li>
68
+ <li><a href='#2254328'>I&#8217;d like to connect without first getting a Net::SSH connection&#8230;</a></li>
69
+ <li><a href='#2254288'>I already have an open Net::SSH connection&#8230;</a></li>
70
70
  </ul>
71
71
  </li>
72
72
  <li>...upload data?
73
73
  <ul>
74
- <li><a href='#2224628'>I want to upload an entire file on disk&#8230;</a></li>
75
- <li><a href='#2224588'>I want to upload bytes from a string or other object&#8230;</a></li>
74
+ <li><a href='#2254198'>I want to upload an entire file on disk&#8230;</a></li>
75
+ <li><a href='#2254138'>I want to upload bytes from a string or other object&#8230;</a></li>
76
76
  </ul>
77
77
  </li>
78
78
  <li>...download data?
79
79
  <ul>
80
- <li><a href='#2224508'>I want to download directly to a local file&#8230;</a></li>
81
- <li><a href='#2224458'>I want to download to a string in memory&#8230;</a></li>
82
- <li><a href='#292410'>I want to be notified of the progress of the download&#8230;</a></li>
80
+ <li><a href='#2254048'>I want to download directly to a local file&#8230;</a></li>
81
+ <li><a href='#2253998'>I want to download to a string in memory&#8230;</a></li>
82
+ <li><a href='#2253958'>I want to be notified of the progress of the download&#8230;</a></li>
83
83
  </ul>
84
84
  </li>
85
85
  <li>...manage file permissions?
86
86
  <ul>
87
- <li><a href='#292290'>I want to query a file&#8217;s permissions&#8230;</a></li>
88
- <li><a href='#292210'>I want to change a file&#8217;s permissions&#8230;</a></li>
89
- <li><a href='#292130'>I already have an open handle for the remote file&#8230;</a></li>
87
+ <li><a href='#2253878'>I want to query a file&#8217;s permissions&#8230;</a></li>
88
+ <li><a href='#2253828'>I want to change a file&#8217;s permissions&#8230;</a></li>
89
+ <li><a href='#2253788'>I already have an open handle for the remote file&#8230;</a></li>
90
90
  </ul>
91
91
  </li>
92
92
  <li>...manage directories?
93
93
  <ul>
94
- <li><a href='#291970'>I want to query the contents of a directory&#8230;</a></li>
95
- <li><a href='#291870'>I want to create a directory&#8230;</a></li>
96
- <li><a href='#291750'>I want to remove a directory&#8230;</a></li>
94
+ <li><a href='#2253688'>I want to query the contents of a directory&#8230;</a></li>
95
+ <li><a href='#2253648'>I want to create a directory&#8230;</a></li>
96
+ <li><a href='#2253608'>I want to remove a directory&#8230;</a></li>
97
97
  </ul>
98
98
  </li>
99
- <li><a href='#291670'>...delete a file?</a></li>
100
- <li><a href='#291630'>...rename a file?</a></li>
99
+ <li><a href='#2253538'>...delete a file?</a></li>
100
+ <li><a href='#2253498'>...rename a file?</a></li>
101
101
  </ul>
102
102
  </li>
103
103
  </ul>
104
104
  </div>
105
- <a name='2224878'></a>
105
+ <a name='2254408'></a>
106
106
  <div class='faq-title'>What is Net::SFTP?</div>
107
107
  <div class='faq-answer'><p>Net::SFTP is a pure-Ruby implementation of the <span class="caps">SFTP</span> protocol. That&#8217;s
108
108
  &#8220;SFTP&#8221; as in &#8220;Secure File Transfer Protocol&#8221;, as defined as an adjuct to the
109
109
  <span class="caps">SSH</span> specification. <em>Not</em> &#8220;SFTP&#8221; as in &#8220;Secure <span class="caps">FTP</span>&#8221; (a <em>completely</em> different
110
110
  beast). Nor is it an implementation of the &#8220;Simple File Transfer Protocol&#8221;
111
111
  (which is in no way secure).</p></div>
112
- <a name='2224778'></a>
112
+ <a name='2254328'></a>
113
113
  <div class='faq-title'>How do I&#8230; ...connect to an <span class="caps">SFTP</span> server? I&#8217;d like to connect without first getting a Net::SSH connection&#8230;</div>
114
114
  <div class='faq-answer'><p>Something like this:</p>
115
115
 
@@ -124,7 +124,7 @@ beast). Nor is it an implementation of the &#8220;Simple File Transfer Protocol&
124
124
 
125
125
  <p><code>Net::SFTP.start</code> accepts the same parameters as <code>Net::SSH.start</code>,
126
126
  so I&#8217;ll direct you to that documentation for all the particulars.</p></div>
127
- <a name='2224728'></a>
127
+ <a name='2254288'></a>
128
128
  <div class='faq-title'>How do I&#8230; ...connect to an <span class="caps">SFTP</span> server? I already have an open Net::SSH connection&#8230;</div>
129
129
  <div class='faq-answer'><p>You can piggy-back an <span class="caps">SFTP</span> connection on an existing Net::SSH
130
130
  connection, which can be useful if you&#8217;ve already got an <span class="caps">SSH</span>
@@ -143,7 +143,7 @@ connection that you&#8217;re using for port forwarding or whatever.</p>
143
143
  ...
144
144
  end
145
145
  </pre></code></div>
146
- <a name='2224628'></a>
146
+ <a name='2254198'></a>
147
147
  <div class='faq-title'>How do I&#8230; ...upload data? I want to upload an entire file on disk&#8230;</div>
148
148
  <div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection:</p>
149
149
 
@@ -151,7 +151,7 @@ connection that you&#8217;re using for port forwarding or whatever.</p>
151
151
  <code><pre>
152
152
  sftp.put_file "/path/to/local.file", "/path/to/remote.file"
153
153
  </pre></code></div>
154
- <a name='2224588'></a>
154
+ <a name='2254138'></a>
155
155
  <div class='faq-title'>How do I&#8230; ...upload data? I want to upload bytes from a string or other object&#8230;</div>
156
156
  <div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection, and your data is stored
157
157
  in a string named <code>data</code>:</p>
@@ -174,7 +174,7 @@ without, but be sure to call <code>close_handle</code> when you&#8217;re done:</
174
174
  puts result.code # the result of the operation
175
175
  sftp.close_handle(handle)
176
176
  </pre></code></div>
177
- <a name='2224508'></a>
177
+ <a name='2254048'></a>
178
178
  <div class='faq-title'>How do I&#8230; ...download data? I want to download directly to a local file&#8230;</div>
179
179
  <div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection:</p>
180
180
 
@@ -182,7 +182,7 @@ without, but be sure to call <code>close_handle</code> when you&#8217;re done:</
182
182
  <code><pre>
183
183
  sftp.get_file "/path/to/remote.file", "/path/to/local.file"
184
184
  </pre></code></div>
185
- <a name='2224458'></a>
185
+ <a name='2253998'></a>
186
186
  <div class='faq-title'>How do I&#8230; ...download data? I want to download to a string in memory&#8230;</div>
187
187
  <div class='faq-answer'><p>Assuming you already have an <span class="caps">SFTP</span> connection:</p>
188
188
 
@@ -193,7 +193,7 @@ without, but be sure to call <code>close_handle</code> when you&#8217;re done:</
193
193
  data = sftp.read(handle)
194
194
  end
195
195
  </pre></code></div>
196
- <a name='292410'></a>
196
+ <a name='2253958'></a>
197
197
  <div class='faq-title'>How do I&#8230; ...download data? I want to be notified of the progress of the download&#8230;</div>
198
198
  <div class='faq-answer'><p>You can specify both a &#8220;chunk size&#8221; and a &#8220;progress callback&#8221;. The
199
199
  callback will be invoked for every &#8220;chunk size&#8221; bytes that are
@@ -212,7 +212,7 @@ received:</p>
212
212
  end
213
213
  end
214
214
  </pre></code></div>
215
- <a name='292290'></a>
215
+ <a name='2253878'></a>
216
216
  <div class='faq-title'>How do I&#8230; ...manage file permissions? I want to query a file&#8217;s permissions&#8230;</div>
217
217
  <div class='faq-answer'><p>File permissions are one of the <code>stat</code> attributes of files and
218
218
  directories:</p>
@@ -221,7 +221,7 @@ directories:</p>
221
221
  <code><pre>
222
222
  p sftp.stat("/path/to/remote.file").permissions
223
223
  </pre></code></div>
224
- <a name='292210'></a>
224
+ <a name='2253828'></a>
225
225
  <div class='faq-title'>How do I&#8230; ...manage file permissions? I want to change a file&#8217;s permissions&#8230;</div>
226
226
  <div class='faq-answer'><p>Just use <code>setstat</code> to change the permissions of an existing file:</p>
227
227
 
@@ -229,7 +229,7 @@ directories:</p>
229
229
  <code><pre>
230
230
  sftp.setstat("/path/to/remote.file", :permissions =&gt; 0644)
231
231
  </pre></code></div>
232
- <a name='292130'></a>
232
+ <a name='2253788'></a>
233
233
  <div class='faq-title'>How do I&#8230; ...manage file permissions? I already have an open handle for the remote file&#8230;</div>
234
234
  <div class='faq-answer'><p>If you have a handle for the remote file, you can use <code>fstat</code> and
235
235
  <code>fsetstat</code> to query and set the permissions:</p>
@@ -241,7 +241,7 @@ directories:</p>
241
241
  sftp.fsetstat(handle, :permissions =&gt; permissions | 0444)
242
242
  end
243
243
  </pre></code></div>
244
- <a name='291970'></a>
244
+ <a name='2253688'></a>
245
245
  <div class='faq-title'>How do I&#8230; ...manage directories? I want to query the contents of a directory&#8230;</div>
246
246
  <div class='faq-answer'><p>You query the contents of a directory by calling <code>opendir</code> to obtain
247
247
  a handle to the directory, and then using <code>readdir</code> on the handle to
@@ -259,7 +259,7 @@ you&#8217;re done:</p>
259
259
  end
260
260
  sftp.close_handle(handle)
261
261
  </pre></code></div>
262
- <a name='291870'></a>
262
+ <a name='2253648'></a>
263
263
  <div class='faq-title'>How do I&#8230; ...manage directories? I want to create a directory&#8230;</div>
264
264
  <div class='faq-answer'><p>Use <code>mkdir</code>:</p>
265
265
 
@@ -267,7 +267,7 @@ you&#8217;re done:</p>
267
267
  <code><pre>
268
268
  sftp.mkdir("/path/to/remote/dir", :permissions =&gt; 0500)
269
269
  </pre></code></div>
270
- <a name='291750'></a>
270
+ <a name='2253608'></a>
271
271
  <div class='faq-title'>How do I&#8230; ...manage directories? I want to remove a directory&#8230;</div>
272
272
  <div class='faq-answer'><p>Use <code>rmdir</code>:</p>
273
273
 
@@ -275,7 +275,7 @@ you&#8217;re done:</p>
275
275
  <code><pre>
276
276
  sftp.rmdir("/path/to/remote/dir")
277
277
  </pre></code></div>
278
- <a name='291670'></a>
278
+ <a name='2253538'></a>
279
279
  <div class='faq-title'>How do I&#8230; ...delete a file?</div>
280
280
  <div class='faq-answer'><p>Use <code>remove</code>:</p>
281
281
 
@@ -283,7 +283,7 @@ you&#8217;re done:</p>
283
283
  <code><pre>
284
284
  sftp.remove("/path/to/remote.file")
285
285
  </pre></code></div>
286
- <a name='291630'></a>
286
+ <a name='2253498'></a>
287
287
  <div class='faq-title'>How do I&#8230; ...rename a file?</div>
288
288
  <div class='faq-answer'><p>Use <code>rename</code>:</p>
289
289
 
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
data/examples/get-put.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
data/lib/net/sftp.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -30,6 +30,9 @@ module Net ; module SFTP ; module Protocol
30
30
  # The current state of the driver. This will be one of +unconfirmed+,
31
31
  # +init+, +version+, +open+, or +closed+.
32
32
  attr_reader :state
33
+
34
+ # The underlying SSH channel supporting this SFTP connection.
35
+ attr_reader :channel
33
36
 
34
37
  # Create a new SFTP protocol driver object on the given SSH connection.
35
38
  # +buffers+ is a reference to a buffer factory, +version+ is the highest
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -23,6 +23,10 @@ module Net ; module SFTP
23
23
  class Session
24
24
  include Protocol::Constants
25
25
 
26
+ # remove this, inherited from Kernel, so that sftp.open will go via
27
+ # method_missing
28
+ undef :open
29
+
26
30
  # The status of the last synchronously executed operation. This is either
27
31
  # +nil+, or an object that responds to <tt>:code</tt>, <tt>:message</tt>,
28
32
  # and <tt>:language</tt>.
@@ -43,11 +47,11 @@ module Net ; module SFTP
43
47
 
44
48
  @driver = ns.protocol.driver
45
49
  @driver.on_open do |d|
46
- d.on_attrs &method( :do_attrs )
47
- d.on_data &method( :do_data )
48
- d.on_handle &method( :do_handle )
49
- d.on_name &method( :do_name )
50
- d.on_status &method( :do_status )
50
+ d.on_attrs( &method( :do_attrs ))
51
+ d.on_data( &method( :do_data ))
52
+ d.on_handle(&method( :do_handle ))
53
+ d.on_name( &method( :do_name ))
54
+ d.on_status(&method( :do_status ))
51
55
 
52
56
  if block_given?
53
57
  begin
@@ -78,6 +82,13 @@ module Net ; module SFTP
78
82
  @driver.state
79
83
  end
80
84
 
85
+ # Return the underlying SSH channel that supports this SFTP connection.
86
+ # Useful for adding custom callbacks for some events, or for accessing
87
+ # the underlying connection beneath the channel.
88
+ def channel
89
+ @driver.channel
90
+ end
91
+
81
92
  # Closes the SFTP connection, but leaves the SSH connection open.
82
93
  def close_channel
83
94
  @driver.close
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -17,8 +17,8 @@
17
17
  module Net ; module SFTP ; module Version
18
18
 
19
19
  MAJOR = 1
20
- MINOR = 0
21
- TINY = 1
20
+ MINOR = 1
21
+ TINY = 0
22
22
 
23
23
  STRING = [MAJOR,MINOR,TINY].join('.')
24
24
 
data/lib/uri/open-sftp.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # =======================================================================
2
2
  # Net::SSH -- A Ruby module implementing the SSH2 client protocol
3
- # Copyright (C) 2004 Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (C) 2004 Jamis Buck (jamis@37signals.com)
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
data/test/ALL-TESTS.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
@@ -1,6 +1,6 @@
1
1
  #--
2
2
  # =============================================================================
3
- # Copyright (c) 2004, Jamis Buck (jgb3@email.byu.edu)
3
+ # Copyright (c) 2004, Jamis Buck (jamis@37signals.com)
4
4
  # All rights reserved.
5
5
  #
6
6
  # This source file is distributed as part of the Net::SFTP Secure FTP Client
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: net-sftp
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.1
7
- date: 2005-12-06 00:00:00 -07:00
6
+ version: 1.1.0
7
+ date: 2006-01-02 00:00:00 -07:00
8
8
  summary: Net::SFTP is a pure-Ruby implementation of the SFTP client protocol.
9
9
  require_paths:
10
10
  - lib