diff options
-rw-r--r-- | src/cssh.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1022,6 +1022,9 @@ int main( int argc, char *argv[] ) switch( copy_direction ) { case CSSH_COPY_DIRECTION_UPLOAD: { + fprintf( stderr, "ERROR: SCP upload has not been implemented yet.\n" ); + cleanup_sessions( &session, NULL, &scp, &read_state, &buf, &dir_stack, host, port, nof_sessions, args_info.verbose_given > 0 ); + exit( EXIT_FAILURE ); } break; case CSSH_COPY_DIRECTION_DOWNLOAD: { |