Comments (5)
Looks like #56 was related. I'd like to see the behavior described by @marksheahan implemented as we have linked the sftp server into an ssh daemon and would like to be able to set the default working directory of each instance to the home directory of the user. If this behavior is not implemented in the server, we will have to create a separate sftp server executable and exec it with the appropriate working directory.
If you're interested in a PR, I'd be happy to change the name of the argument to the constructor and make the necessary implementation changes.
Thanks.
from sftp.
Given the confusion over the meaning of the rootDir
on the constructor and the fact that it's not implemented, perhaps it makes sense to remove it completely?
from sftp.
Yes, please remove it, then we can start from a fresh slate. Thanks
On Thu, 14 Jan 2016, 22:24 Matthew Sykes [email protected] wrote:
Given the confusion over the meaning of the rootDir on the constructor
and the fact that it's not implemented, perhaps it makes sense to remove it
completely?—
Reply to this email directly or view it on GitHub
#65 (comment).
from sftp.
Sounds good to me as well. I somehow didn't catch that it was totally unused when I was making my PRs. Apologies for that.
from sftp.
Addressed with 8e47c75.
from sftp.
Related Issues (20)
- Request attributes are not being propagated for SSH_FXP_OPEN operation HOT 5
- Should Seek() io.SeekStart and io.SeekCurrent do the different things? HOT 1
- sftp client hang when exit in sftp server example HOT 2
- Connection lost when using library with limited bandwidth HOT 5
- In Windows, `Server` should allow a pseudo-directory for `/` which enumerates available drives HOT 22
- How can I perform sftp download and upload feature for multiple files at root directory and within nested subfolder using https://github.com/pkg/sftp HOT 3
- close file double time sometimes cause copy problem wh HOT 10
- how to handle binary and ascii file transfer to and from sftp server? HOT 1
- The performance of transferring file is bad HOT 1
- getting error while creating a client in a multithreaded usecase "Failed to create SFTP client: error receiving version packet from server: server unexpectedly closed connection: unexpected EOF" HOT 8
- Does this package Support z/OS (s390x) or not? HOT 2
- Performance is much slower than a Java implementation when running in z/OS HOT 5
- Proposal: Standardized FileInfo Structure. RE: z/OS performance investigation HOT 1
- Question about sshFxpOpendirPacket packet HOT 4
- Server: Provide sequential read/write API HOT 6
- custom interface fails to trigger concurrent reads in `ReadFrom` HOT 4
- Strongly-typed accessor for FileStat HOT 3
- Can we get file size in the Filewrite handler? HOT 2
- Large directory ReadDir ends up with connection lost error HOT 8
- Blocking may occur when connecting to the wrong port HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sftp.