You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/03/10 14:13:00 UTC
[jira] [Commented] (AIRFLOW-442) SFTP Hook compatible with FTPHook
[ https://issues.apache.org/jira/browse/AIRFLOW-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394187#comment-16394187 ]
ASF subversion and git services commented on AIRFLOW-442:
---------------------------------------------------------
Commit f80138486e7828ff64fa544b4032a445b2ca140a in incubator-airflow's branch refs/heads/master from [~biellls]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=f801384 ]
[AIRFLOW-442] Add SFTPHook
Closes #2487 from sdiazb/sftp_hook
> SFTP Hook compatible with FTPHook
> ---------------------------------
>
> Key: AIRFLOW-442
> URL: https://issues.apache.org/jira/browse/AIRFLOW-442
> Project: Apache Airflow
> Issue Type: New Feature
> Components: hooks
> Affects Versions: Airflow 1.7.0
> Reporter: Gabriel Llobera
> Assignee: Gabriel Llobera
> Priority: Major
> Fix For: 2.0.0
>
>
> This hook implements the same methods as FTPHook and aims to be interchangeable with FTPHook (although there are some caveats).
> Pitfalls:
> - In contrast with FTPHook describe_directory only returns size and modify. It doesn't return unix.owner, unix.mode, perm, unix.group, unique and type.
> - retrieve_file and store_file only take a local full path and not a buffer.
> - If no mode is passed to create_directory it will be created with 777 permissions.
> Everything else works the same as in SFTPHook and can be used as a drop in replacement.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)