Differences

This shows you the differences between the selected revisions of the page.

2022-05-26 2023-02-10
command anchor (martin) 9.0 Using SFTP copy-data extension to duplicate remote files with servers that do not support copy-file extension (OpenSSH) (martin)
Line 24: Line 24:
^ Directory operations | Recursive operations with directories (deletion, permissions change) must be performed separately for each file. Thus operations can take a long time, especially for directories with a large number of files. ||| Recursive operations with directories (deletion, permissions change), can be done with a single command (''rm'', ''chmod'', etc). Thus they are quick. On the other hand it limits some functionality. | ^ Directory operations | Recursive operations with directories (deletion, permissions change) must be performed separately for each file. Thus operations can take a long time, especially for directories with a large number of files. ||| Recursive operations with directories (deletion, permissions change), can be done with a single command (''rm'', ''chmod'', etc). Thus they are quick. On the other hand it limits some functionality. |
^ [[task_rename|File renaming]] and [[task_move_duplicate#move|moving]] | Supported since SFTP-2. | Supported. | Supported. | Supported (''mv''). | ^ [[task_rename|File renaming]] and [[task_move_duplicate#move|moving]] | Supported since SFTP-2. | Supported. | Supported. | Supported (''mv''). |
-^ ==?duplicate== Direct [[task_move_duplicate#duplicate|File duplication]] | Unsupported by most %%SFTP%% servers. The server has to support %%SFTP%% extension ''copy-file'' (supported by [[http://www.proftpd.org/docs/contrib/mod_sftp.html|ProFTPD ''mod_sftp'']] for example). WinSCP can open a [[shell_session|separate shell session]] to duplicate the file instead. | WinSCP supports [[http://www.proftpd.org/docs/contrib/mod_copy.html|ProFTPD ''mod_copy'']] commands ''SITE CPFR''/''CPTO''. No other %%FTP%% server supporting file duplication is known. | Supported. | Supported (''cp''). |+^ ==?duplicate== Direct [[task_move_duplicate#duplicate|File duplication]] | The server has to support %%SFTP%% extension ''copy-file'' (supported by [[http://www.proftpd.org/docs/contrib/mod_sftp.html|ProFTPD ''mod_sftp'']] for example) or ''copy-data'' (//supported by the latest beta version only,// &beta supported by OpenSSH for example). WinSCP can open a [[shell_session|separate shell session]] to duplicate the file instead. | WinSCP supports [[http://www.proftpd.org/docs/contrib/mod_copy.html|ProFTPD ''mod_copy'']] commands ''SITE CPFR''/''CPTO''. No other %%FTP%% server supporting file duplication is known. | Supported. | Supported (''cp''). |
^ ==?command== [[remote_command|Execution of arbitrary command]] | Unsupported by the protocol. WinSCP can open a [[shell_session|separate shell session]] to execute the command. | Unsupported. WinSCP allows user to execute arbitrary protocol command. | Unsupported. | Supported as long as the command does not require user input. | ^ ==?command== [[remote_command|Execution of arbitrary command]] | Unsupported by the protocol. WinSCP can open a [[shell_session|separate shell session]] to execute the command. | Unsupported. WinSCP allows user to execute arbitrary protocol command. | Unsupported. | Supported as long as the command does not require user input. |
^ [[ui_transfer_custom#upload|Setting properties (time-stamp, permissions) of uploaded files]] | Supported. | Server needs to support ''MFMT'' extension. | Only few servers support setting time-stamp. | Supported. | ^ [[ui_transfer_custom#upload|Setting properties (time-stamp, permissions) of uploaded files]] | Supported. | Server needs to support ''MFMT'' extension. | Only few servers support setting time-stamp. | Supported. |

Last modified: by martin