Questions tagged [sftp]

GENERAL SFTP SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com. SSH File Transfer Protocol, a network protocol designed to provide secure file transfer and manipulation facilities over SSH (Secure Shell protocol).

The SSH File Transfer Protocol (also Secret File Transfer Protocol, Secure FTP, or SFTP) is a network protocol that provides file access, file transfer, and file management functionality over any reliable data stream. It was designed by the Internet Engineering Task Force (IETF) as an extension of the Secure Shell protocol (SSH) version 2.0 to provide secure file transfer capability, but is also intended to be usable with other protocols. The IETF of the Internet Draft states that even though this protocol is described in the context of the SSH-2 protocol, it could be used in a number of different applications, such as secure file transfer over Transport Layer Security (TLS) and transfer of management information in VPN applications.

This protocol assumes that it is run over a secure channel, such as SSH, that the server has already authenticated the client, and that the identity of the client user is available to the protocol.

This should not be confused with FTPS. For questions regarding FTPS, see the corresponding tag .

5135 questions
1
vote
1 answer

curl file not found

When I log into this SFTP server I was given using a client, I am taken to a specific folder (/home/blah/) where the file I'm looking for is located, and I can download it When I ran a curl command from the command prompt: curl -u 'user:pass'…
Michelle
  • 51
  • 2
  • 7
1
vote
3 answers

Powershell rename files on new files being placed in any part of a directory tree?

I have never used Powershell (or VBScript) as I am new to IT-Admin and would appreciate some guidance with renaming files. On a daily basis, I will be downloading files useing Filezilla manually from a SFTP connection to a local directory filder…
Bertie
  • 1,163
  • 3
  • 14
  • 26
1
vote
1 answer

sftp login with private key & public key no username and domain given

My client send me today a public and a private rsa key to login to the sftp server. Is it possible to derive the domain and username from these files, or did he simply forget to mention them? He send me an email with the keys in the attachement and…
kask
  • 1,759
  • 2
  • 15
  • 21
1
vote
3 answers

WinInet wrapper for FTP in Delphi

Give advice, please. I want to develop FTP / SFTP / FTPS client download manager in Delphi on WinInet. On what better to do (Indy, ISC Components, WinInet ...)? May already have solutions?
YoungMaster
  • 395
  • 3
  • 17
1
vote
1 answer

The property 'PreserveTimestamp' cannot be found on this object when using WinSCP .NET assembly

I'm getting this error: The property 'PreserveTimestamp' cannot be found on this object. Verify that the property exists and can be set. At path\OSBU_Broker_Extract02.ps1:14 char:3 + $session.PreserveTimestamp = $False + …
1
vote
1 answer

PowerShell scripts just hangs without moving to next statement when trying to run psftp commands

I have a following PowerShell scripts which is to get a file from remote Linux server to local directory, using psftp and get commands. These two commands as standalone, works just fine. However, as a following script copy.ps1: psftp…
Maven
  • 14,587
  • 42
  • 113
  • 174
1
vote
1 answer

Using ssh and sftp at the same time

Hello I am creating a script for our job that will pull the files from remote server. The user will input the file names And then using ssh command I will list the file in order for the user to check it's size first before pulling. If the user's…
1
vote
0 answers

Transfer files directly from one SFTP server to another?

I have files within directories that needs to be transferred from one SFTP server to another. Common ways I have found are to download the files from server 1 and then transfer them to server 2. My goal is to automate the transfer using serverless…
1
vote
0 answers

Downloading large datafrom SFTP server to Google Cloud Storage using AsyncSSH fails

I'm using Python's AsyncSSH library to download files from an SFTP server and upload them to Google Cloud Storage using Cloud Functions. The code works fine when the number of files and directories is small. However, when I try to download a large…
1
vote
1 answer

Why do I need to use SshHostKeyFingerprint in WinSCP .NET assembly, when WinSCP GUI does not require such option?

It is the first time I am using a WinSCP .NET client for uploading files from remote Linux PC. If I run following code without defining SshHostKeyFingerprint I get Error: SessionOptions.Protocol is Protocol.Sftp or Protocol.Scp, but…
Mdarende
  • 469
  • 3
  • 13
1
vote
1 answer

Check if WinSCP downloaded files for every day between two dates

I have this script to collect logs file between two dates. Normally I have logs created for everyday on remote machine but is there any possibility to show what file exist or not? For example If I try to download file between two dates 25.06 - 30.06…
SySx
  • 51
  • 6
1
vote
0 answers

Wso2 moving files in (sftp) folder without processing them

We have a situation where we're trying to process around 200 files by picking them up from an sftp 'in' folder, processing them, and then moving them to another 'out' folder after the processing is completed. However the files are being moved by…
ahinsa
  • 61
  • 6
1
vote
1 answer

Handle file download in SFTP server with remote file store

I have an SFTP server. Actually I store the files in remote server. And show the show the client fake the file system. When the client is request to download a file, in ssh_fxp_open request I run new task to download the file in background. And…
Ebay Eliav
  • 51
  • 6
1
vote
0 answers

Laravel Storage SFTP

I'm trying to upload file via Laravel filesystem abstraction on two different remote servers with: Storage::disk('sftp')->put($fileName, $file); Storage::disk('ftp')->put($fileName, $file); The FTP works... but the SFTP return error "Unable to…
DEVX
  • 11
  • 3
1
vote
1 answer

Renci.SshNet no longer working when SHA1 disabled and SHA2 enabled

I've been using Renci SSH.NET to connect to our SFTP server for over a year, within an SSIS package, with no problems. Then last week I began to get failures with the message, "An established connection was aborted by the server". I was told that…
1 2 3
99
100