Scott Maxwell
f0017b8330
Fix import * and a bunch of PEP8 formatting
2014-03-07 20:45:26 -08:00
Jeff Forcier
b4cd4bea1d
Start in on star import eradication
2014-03-07 16:17:19 -08:00
Scott Maxwell
2da5f1fb45
Use 'with' for opening most file and SFTPFIle objects
2013-11-19 08:56:53 -08:00
Scott Maxwell
7444a99993
Fix some deprecation and resource warnings
2013-11-02 20:19:04 -07:00
Scott Maxwell
45e65b6e1e
Make sftp.open handle binary and text, more type conversion
2013-11-02 14:56:43 -07:00
Scott Maxwell
9662a7f779
Changes inspired by the nischu7 branch
2013-11-01 09:49:52 -07:00
Scott Maxwell
d5ce2b43d6
More type fixes
2013-10-31 18:52:55 -07:00
Scott Maxwell
488d85f981
Setup so we can run test_sftp_big independently
2013-10-31 10:03:38 -07:00
Scott Maxwell
0b7d0cf0a2
Convert and detect types properly, use helper constants, use StringIO and range
2013-10-30 17:14:52 -07:00
Scott Maxwell
0e4ce3762a
Fix message sending
...
Create constants for byte messages, implement asbytes so many methods can take Message and key objects directly and split get_string into get_text and get_binary. Also, change int handling to use mpint with a flag whenever the int is greater than 32 bits.
2013-10-30 17:09:34 -07:00
Scott Maxwell
66cfa97cce
Fix imports
2013-10-30 16:19:30 -07:00
Jeff Forcier
83f44878ea
Fixed a typo in the license header of most files
...
Conflicts:
paramiko/proxy.py
2013-09-27 21:29:18 -07:00
Robey Pointer
60c6e94e7d
fix my email address to be the current one.
2009-07-19 19:45:02 -07:00
Robey Pointer
c0fc67acc9
[project @ robey@lag.net-20080323020309-9bjcp7l2ygdu49d2]
...
slight tweak to test, make it verify the length too
2008-03-22 19:03:09 -07:00
Robey Pointer
419b11b741
[project @ robey@lag.net-20080323020054-ar5bmythf7fr5rgk]
...
in the test that verifies key renegotiation during a large file "put", also
do a "get" of the large file (with prefetch) to verify that nothing screwy
happens.
2008-03-22 19:00:54 -07:00
Robey Pointer
83b335e10f
[project @ robey@lag.net-20070213191706-v8djxd4jiunb3his]
...
bump copyright year to 2007
2007-02-13 11:17:06 -08:00
Robey Pointer
c24db3e38c
[project @ robey@lag.net-20060726000907-b9a2d46eecc64cec]
...
allow prefetch + readv to occur at the same time (even though it will be really inefficient). instead of a moving pointer, use the prefetched buffers as an indication of what we've downloaded so far. break up large readv requests into the max packet size. add 2 more unit tests to test this stuff.
2006-07-25 17:09:07 -07:00
Robey Pointer
2067e9a136
[project @ robey@lag.net-20060502002709-617a268779f7ca6b]
...
readv should just yield results as it gets them (suggestion from robertc)
2006-05-01 17:27:09 -07:00
Robey Pointer
82d8ca6e11
[project @ robey@lag.net-20060312040732-8d16f6c42f12f138]
...
document readv, fix thinko, and add a readv unit test
2006-03-11 20:07:32 -08:00
Robey Pointer
89e39a4559
[project @ robey@lag.net-20060309081455-84be2ae54f98e897]
...
move sftp big-file tests into a separate class and add one that does a prefetch, then seeks in random order
2006-03-09 00:14:55 -08:00