node-sftp-server
node-sftp-server copied to clipboard
Node.js based module to implement an SFTP Server
I don`t know how i am setting the file timestamp and the permissions on the write file event correctly. Maybe an improvement for the docs is needed. i had copied...
At the moment, sftp server's home directory is set to location server.js file is located
curl -k -v "sftp://127. 0. 0. 1:8022/aa.bin" --user "brady:test" -O aa.bin  but aa.bin is not downloaded , Sftp is successful I wonder curl is supported here
-> When receiving an OPEN request, if the flag comes null then the server crashes. Now, if the flag comes null it handles it like it was a write flag....
Great notes here: https://github.com/BriteVerify/node-sftp-server/issues/42 But, basically, you need the long-listing attribute to be set right to read a directory. The best fix will be to dynamically generate the longname attribute...
Filezilla Status: Connecting to 127.0.0.1:8022... Status: Connected to 127.0.0.1 Status: Retrieving directory listing... Command: pwd Response: Current directory is: "." Error: Failed to parse returned path. Error: Failed to retrieve...
Can you please provide an example of how to handle multi upload. For sftp PUT (one file) command, everything works fine. For sftp MPUT, when I pass files as arguments...
WINSCP uses flag "wx" for uploading file to SFTP server
SETSTAT is used by WINSCP when sending a file to SFTP server, if this event is not handled the upload is failed on the client side
The temporary files cleanup only on process exit ([see node-tmp doc](https://github.com/raszi/node-tmp#asynchronous-file-creation)). It's problematic in intensive use :) This commit cleanup temporary files at the end of sftp READ processing.