Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

RSM 0.10.2 with paramiko 1.15.2 connecting to GlobalScape SFTP server fails #22

Description

@nrejac

When connecting to a GlobalScape SFTP server, placing a file in anywhere other than the home directory generates an error (identifying information removed):

1242.30885506 paramiko.transport - INFO: Authentication (password) successful!
Connected as username@server:22
  1256.58583641 paramiko.transport - DEBUG: [chan 0] Max packet in: 32768 bytes
  1258.14795494 paramiko.transport - DEBUG: [chan 0] Max packet out: 35840 bytes
  1258.24284554 paramiko.transport - DEBUG: Secsh channel 0 opened.
  1262.00985909 paramiko.transport - DEBUG: [chan 0] Sesch channel 0 request ok
  1263.46182823 paramiko.transport.sftp - INFO: [chan 0] Opened sftp connection (server version 3)
  1263.57293129 paramiko.transport.sftp - DEBUG: [chan 0] stat('/directory')
  1272.77302742 paramiko.transport.sftp - DEBUG: [chan 0] stat('/directory')
  1281.30197525 paramiko.transport.sftp - DEBUG: [chan 0] normalize('/directory')
  1285.41898727 paramiko.transport.sftp - DEBUG: [chan 0] open('/directory//input_3_0.csv', 'wb')
  1286.94605827 paramiko.transport.sftp - INFO: [chan 0] sftp session closed.
  1287.09197044 paramiko.transport - DEBUG: [chan 0] EOF sent (0)
  1288.36894035 paramiko.transport - DEBUG: EOF in transport thread
  1290.94290733 root - ERROR: There was an error sending file input_3_0.csv to server: [Errno 2] File not found
  1291.03398323 root - ERROR: Please check the credentials/remotepath/localpath/Server URI
  1291.17083549 root - INFO: Message body: There was an error sending file input_3_0.csv to server: [Errno 2] File not found

Research shows this is a known problem with paramiko when the server does not support

df -hi
like GlobalScape:

http://stackoverflow.com/questions/11198364/paramiko-get-raises-ioerror-no-such-file-if-server-doesnt-support-df-hi?lq=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions