summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar stickell <l.stickell@yahoo.it> 2014-09-13 12:28:28 +0200
committerGravatar stickell <l.stickell@yahoo.it> 2014-09-13 12:28:28 +0200
commit065e1081f7a410bb99a1ab1c3453a6b11d3c96e2 (patch)
tree30bade29a37af1b44f392472a1044963761b4034 /module
parent[4shared] Fixed login sequence (diff)
downloadpyload-065e1081f7a410bb99a1ab1c3453a6b11d3c96e2.tar.xz
[FTP] Restore pattern.
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/Ftp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/Ftp.py b/module/plugins/hoster/Ftp.py
index 8de3f4f47..1b7eab3ab 100644
--- a/module/plugins/hoster/Ftp.py
+++ b/module/plugins/hoster/Ftp.py
@@ -12,8 +12,8 @@ from module.plugins.Hoster import Hoster
class Ftp(Hoster):
__name__ = "Ftp"
__type__ = "hoster"
- __version__ = "0.41"
-
+ __version__ = "0.42"
+ __pattern__ = r'(ftps?|sftp)://(.*?:.*?@)?.*?/.*' # ftp://user:password@ftp.server.org/path/to/file
__description__ = """Download from ftp directory"""
__author_name__ = ("jeix", "mkaay", "zoidberg")
__author_mail__ = ("jeix@hasnomail.com", "mkaay@mkaay.de", "zoidberg@mujmail.cz")