Questions tagged [sftp]

We do not provide support for general SFTP inquiries. Questions related to support can be directed to sftp. SSH File Transfer Protocol is a network protocol specifically created for secure file transfers and management over the SSH (Secure Shell) protocol.

Leverage environment variables within SFTP paths when using Paramiko

Currently, I am executing a script on my server and attempting to retrieve some files from my Firewall. However, when I use an environment variable (signified by the $ symbol) to reference the file, I encounter a "file not found" error. Surprisingly, I hav ...

Ran into a snag trying to fetch the newest files through PHP and SFTP via ssh2

#!/usr/bin/php <?php $username = "backup"; $password = "xxxxxxx"; $url = '192.168.1.100'; // Establish connection $connection = ssh2_connect($url); // Authenticate if (!ssh2_auth_password($connection, $username, $password)) {ech ...

Node.js encountered an SFTP error stating "Error: connect: An existing SFTP connection is already defined."

Working within my node.js application, I have implemented ssh2-sftp-client to upload an image every 5 seconds. The initial upload functions correctly, but upon repeating the process, I encounter an error message: node .\upload.js uploaded screenshot ...

Creating a time restriction for the SFTP file transfer operation in the Paramiko module

Utilizing Paramiko's SFTP client, I am attempting to download a large file from a remote server to a client (specifically, a get operation). The file size is around 1GB and I want the get operation to timeout if it takes more than 10 seconds. However, set ...