springml / spark-sftp

Spark connector for SFTP
Apache License 2.0
100 stars 98 forks source link

Is there a way to rename a SFTP file? #54

Closed fusionet24 closed 5 years ago

fusionet24 commented 5 years ago

Hi, I'm trying to upload a file via SFTP which has a .partial extension until the operation is complete to avoid a FTP watching service from downloading an incomplete file. Then I would like to rename the file, removing the .partial extension.

Is there any operation or could you point me to a place where I could possibly understand more about SFTP client (to extend the functionality) and rename a file once uploaded?

samuel-pt commented 5 years ago

Sorry currently it is not supported.