The SSH File Transfer Protocol, (sometimes called Secure 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.
Questions tagged [sftp]
1010 questions
186
votes
6 answers
31
votes
7 answers
How can you do a one liner with sftp to login with the password on the same line?
Is there an option to put the password on the line as well with sftp?
linux~ $ sftp USERNAME@FTP.WEBSITE.COM:/DIRECTORY_TO_GO_TO/
Like this
linux~ $ sftp USERNAME@FTP.WEBSITE.COM:/DIRECTORY_TO_GO_TO/ -p PASSWORD?
Daniel
- 3,801
7
votes
5 answers
How can i check if a file is well transfered when using SFTP?
I have an issue on my server: when folder quota is reached and someone tries to upload a file, he doesn't get any error code and he deposits a 0 bytes file. So I want to know if there's any solution (integrity check for example) to check if the…
achraf
- 101
6
votes
1 answer
sftp How to get stat attributes?
Is it possible to do stat via sftp cli tool? For example Python's SFTP client has this feature, but I didn't find it in sftp cli tool. I need to get SFTP attributes to work with in script.
user402763
- 61
5
votes
1 answer
Blacklisting and whitelisting SFTP requests
I see that the sftp-server and internal-sftp support blacklisted and whitelisted protocol requests, however, I don't understand what exactly can be passed to those arguments.
user178826
3
votes
1 answer
500 Syntax error, command unrecognized. when I use FileZilla Client to connect the Server
I installed the FileZilla Server on my Windows Server. and when I use the FileZilla Client to connect it there gets bellow error:
https://filezilla-project.org/
Connecting to server...
Connected, waiting for authentication
Logged…
244boy
- 141
3
votes
2 answers
Multiple public/private key pairs for the same user
First, sorry if this question has already been asked/answered - I've searched but perhaps I haven't recognised the answer....
What we have is a cluster of servers which need to access a single remote server using sftp.
We are migrating from one…
Bruce
- 31
2
votes
1 answer
Restrict SFTP users to their home folder
I want to restrict SFTP users to their home folder so that they won't see anybody else's folder/home directories. Unfortunately all SFTP users can see other user's folders at the moment. All the posts and examples points out ChrootDirectory but for…
BentCoder
- 341
2
votes
1 answer
Sftp connection to work server fails with same settings on another computer
I have connected to work server through sftp with FileZilla or Sublime Text SFTP plugin many times at home (fiber). I am visiting my parents but i have to do some work here so i copied all of the settings of sublime text and filezilla to my laptop.…
user1365447
- 21
2
votes
2 answers
How can I disable some commands in SFTP?
How can I disable some commands in SFTP for my clients, like ln & symlink?
I've checked man sftp, but didn't find what I'm searching for.
user134969
- 439
2
votes
4 answers
SFTP server giving a Type 2 (protocol error) for all connections
I've got a windows server using CoreFTPServer and any connections to any SFTP site on it are giving a type 2 (protocol error). This seems to be for any connection made to the server from any user or IP.
Error: Server sent disconnect message
Error:…
Elliott Shafii
- 33
- 1
- 1
- 4
2
votes
1 answer
Automatic SFTP login on Windows client
Is there a solution that allows automatic SFTP user/password login?
I thought that was possible just by putting a .netrc file in $HOME but unfortunately it's not working on SFTP.
Has anyone else faced this problem?
achraf
- 101
2
votes
2 answers
resuming transfer of files over ssh from remote linux to local windows
I was wondering what are the best ways on local Windows for resuming transfer of files over ssh from remote linux?
I tried SSHSecureShellClient-3.2.9, but I cannot find it works for resuming.
I tried Putty's psftp. It also seems not having the…
Tim
- 1,517
1
vote
3 answers
Shell script to automate SFTP Upload?
I've been trying to get a PHP script to SFTP upload a file, but failed. I tried asking my question on stackoverflow.com but haven't received a working solution:
https://stackoverflow.com/questions/1767117/how-to-sftp-upload-files-from-php
So now I…
learningtech
- 7,445
- 23
- 64
- 88
1
vote
1 answer
SFTP Issue - Permission denied
We are trying to do SFTP files from mainframe to new linux servers. We provided our(mainframe) public key to destination server team, they configured that one. While sending files we are getting the following error:
Co:Z SFTP version: 3.1.0 (5.0p1)…
Loganathan
- 11