sftp_client_misc.h
error_t sftpClientParsePacketLength(SftpClientContext *context, const uint8_t *packet)
Retrieve the length of an incoming SFTP packet.
Definition: sftp_client_misc.c:484
error_t sftpClientCheckTimeout(SftpClientContext *context)
Determine whether a timeout error has occurred.
Definition: sftp_client_misc.c:630
error_t sftpClientSendCommand(SftpClientContext *context)
Send SFTP request and wait for a response.
Definition: sftp_client_misc.c:315
void sftpClientChangeState(SftpClientContext *context, SftpClientState newState)
Update SFTP client state.
Definition: sftp_client_misc.c:55
error_t sftpClientEstablishConnection(SftpClientContext *context)
Establish SSH connection.
Definition: sftp_client_misc.c:141
SFTP client.
void sftpGetAbsolutePath(SftpClientContext *context, const char_t *path, char_t *fullPath)
Retrieve the full pathname.
Definition: sftp_client_misc.c:699
void sftpClientCloseConnection(SftpClientContext *context)
Close SSH connection.
Definition: sftp_client_misc.c:295
error_t sftpClientParsePacket(SftpClientContext *context, const uint8_t *packet, size_t fragLen, size_t totalLen)
SFTP packet processing.
Definition: sftp_client_misc.c:552
error_t sftpClientProcessEvents(SftpClientContext *context)
Process SFTP client events.
Definition: sftp_client_misc.c:409
error_t sftpFormatPath(SftpClientContext *context, const char_t *path, uint8_t *p, size_t *written)
Format pathname.
Definition: sftp_client_misc.c:669
error_t sftpClientOpenConnection(SftpClientContext *context)
Open SSH connection.
Definition: sftp_client_misc.c:72