Comments (8)
I am not experienced with that, but we have it now on
https://anaconda.org/conda-forge/fs.sshfs for windows too :)
and may be someone could extract the pieces on https://github.com/conda-forge/fs.sshfs-feedstock
from fs.sshfs.
Sorry for necromancing this issue, I'm very interested in using this, but I haven't bothered putting in the time into it yet since I can't find any info about if it works on windows or not.
If it does, could this be stated in some fashion in the readme.md so it's visible ?
from fs.sshfs.
@source83 : The library in itself is platform agnostic, so there's a 99% chance it works on Windows. I'd just like to setup AppVeyor to make that 100% 😉
from fs.sshfs.
Thanks @althonos, another question:
Does it actually "mount" the drive or is the remote FS only accessible by the python object ?
As in here on windows, would it mount it up as a drive (g:,h:....)
from fs.sshfs.
@source83 the Pyfilesystem approach is not about mount, just to have a common interface to any file in a filesystem.
from the examples
import fs
my_fs = fs.open_fs("ssh://[user[:password]@]host[:port]/[directory]")
I
from fs.sshfs.
Sorry for necromancing this issue, I'm very interested in using this, but I haven't bothered putting in the time into it yet since I can't find any info about if it works on windows or not.
If it does, could this be stated in some fashion in the readme.md so it's visible ?
We have builded it for windows too on conda-forge.
https://anaconda.org/conda-forge/fs.sshfs
This setup may help
https://github.com/conda-forge/fs.sshfs-feedstock/blob/master/appveyor.yml
from fs.sshfs.
@source83 the Pyfilesystem approach is not about mount, just to have a common interface to any file in a filesystem.
from the examples
import fs my_fs = fs.open_fs("ssh://[user[:password]@]host[:port]/[directory]")
I
I think you answered my question here.
I was hoping to use this as a way to "mount" say d: to "/home/myuser/myfolder" like is possible with sshfs in windows cmd.
In linux, this can be done in fstab or on the command line (no problem there).
The problem I'm seeing with the current method I'm using of sshfs on the windows cmd is that the "mount" only last as long as the cmd window is open/running since it doesn't exit after running the command.
I was hoping to make a simple tray ui where I could "mount" or "unmount" as needed and access the "mounted" filesystem tree from the drive specified.
from fs.sshfs.
@source83 the Pyfilesystem approach is not about mount, just to have a common interface to any file in a filesystem.
from the examplesimport fs my_fs = fs.open_fs("ssh://[user[:password]@]host[:port]/[directory]")
I
I think you answered my question here.
I was hoping to use this as a way to "mount" say d: to "/home/myuser/myfolder" like is possible with sshfs in windows cmd.
mount is a concept of accessing filesystems.
pyfilesystem is a different approach for accessing files anywhere. This does not need a mount beforehand. Of course pyfilesystem can also use files on mounted directories, but a mount is not mandatory.
In linux, this can be done in fstab or on the command line (no problem there).
The problem I'm seeing with the current method I'm using of sshfs on the windows cmd is that the "mount" only last as long as the cmd window is open/running since it doesn't exit after running the command.
I was hoping to make a simple tray ui where I could "mount" or "unmount" as needed and access the "mounted" filesystem tree from the drive specified.
I started with a qt helper application, this can dynamicly use fs pathes. Maybe you are looking for something like that?
https://github.com/ReimarBauer/fs_filepicker
conda create -n fs_filepicker_env fs_filepicker
source activate fs_filepicker_env
fs_filepicker -u ftp://ftp.de.debian.org/debian
Besides sshfs I also use webdav to my nextcloud instance
regards
Reimar
from fs.sshfs.
Related Issues (20)
- Feature Request: Expose missing host key policy as a parameter HOT 1
- Mount remote filesystem to local HOT 2
- Find the latest file on a remote Server HOT 2
- SFTP URLs? HOT 1
- Feature Request: Support atomic move and rename HOT 2
- "SSHException: Channel" closed on server with no shell access HOT 1
- Improving the throughput of scandir HOT 2
- Error when closing python terminal HOT 8
- Timeout handling on exotic SFTP servers HOT 5
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Unable to create filesystem if directory is link HOT 2
- Unsupported SSH connection when using PyInstaller HOT 3
- Inconsistent namespace packaging approach HOT 1
- ResourceType.file even when symlink HOT 1
- ModuleNotFoundError: No module named 'fs.sshfs' - Setup.py install not working for some reason HOT 3
- Handle parameters passed in through opener URL (such as ssh://user@host?compress=True) HOT 4
- TypeError: move() got an unexpected keyword argument 'preserve_time' HOT 1
- Cannot pass look_for_keys via FS URL HOT 3
- Don't read past end of file HOT 1
- Support for Paramiko 3.x 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 fs.sshfs.