summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-09-24 20:22:49 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-09-24 20:22:49 +0200
commit10c16952d50122c08aed9f9c7adf349826da4938 (patch)
tree4bbe4cbd46eb6b31e8e3e90717e7272539c5bfde /module/plugins
parentplugins: czshare premium, czshare/quickshare/filefactory folders (diff)
downloadpyload-10c16952d50122c08aed9f9c7adf349826da4938.tar.xz
improved speed for high bandwith connections
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/Ftp.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/Ftp.py b/module/plugins/hoster/Ftp.py
index ca0689c62..7c2af85ed 100644
--- a/module/plugins/hoster/Ftp.py
+++ b/module/plugins/hoster/Ftp.py
@@ -23,15 +23,14 @@ from module.plugins.Hoster import Hoster
class Ftp(Hoster):
__name__ = "Ftp"
- __version__ = "0.3"
- __pattern__ = r'ftp://(.*?:.*?@)?.*?/.*' # ftp://user:password@ftp.server.org/path/to/file
+ __version__ = "0.31"
+ __pattern__ = r'(ftps?|sftp)://(.*?:.*?@)?.*?/.*' # ftp://user:password@ftp.server.org/path/to/file
__type__ = "hoster"
__description__ = """A Plugin that allows you to download from an from an ftp directory"""
__author_name__ = ("jeix", "mkaay")
__author_mail__ = ("jeix@hasnomail.com", "mkaay@mkaay.de")
def process(self, pyfile):
- self.req = pyfile.m.core.requestFactory.getRequest(self.__name__)
pyfile.name = self.pyfile.url.rpartition('/')[2]
self.chunkLimit = -1