Comments (13)
Would be highly appreciated, because right now I don't know how to use your package.
from remote-ftp.
@buschtoens I added a Getting started in the readme that should get you up and ready.
from remote-ftp.
Thank ya,
The problem is, I already tried exactly that. But nothing seems to happen.
I use Windows 8.1 64bit.
from remote-ftp.
Can you elaborate on what step does nothing?
Remote-FTP
not present inPackages
: try disabling/enabling the plugin- Sidebar not toggling : try reload the editor with
CTRL+ALT+R
Connect
does nothing : if your using FTP, open the consoleCTRL+ALT+I
and search the FTP log for error
from remote-ftp.
@buschtoens might be related to #21
from remote-ftp.
Sorry for not responding sooner. Will look into that this evening.
Am 22.01.2015 19:17 schrieb "Michael Grenier" [email protected]:
@buschtoens https://github.com/buschtoens might be related to #21
#21—
Reply to this email directly or view it on GitHub
#7 (comment).
from remote-ftp.
In regards to
Configuration file : node-ftp, TLS, ssh2
How about a section documenting both config types and then borrow the descriptions off of node-ftp and ssh2's respective options and inline them as comments and edit as needed. For example:
SFTP Configuration Options
{
"protocol": "sftp",
"host": "example.com", // string - Hostname or IP address of the server. Default: 'localhost'
"port": 22, // integer - Port number of the server. Default: 22
"user": "user", // string - Username for authentication. Default: (none)
"pass": "pass", // string - Password for password-based user authentication. Default: (none)
"remote": "/",
"agent": "", // string - Path to ssh-agent's UNIX socket for ssh-agent-based user authentication. Windows users: set to 'pageant' for authenticating with Pageant or (actual) path to a cygwin "UNIX socket." Default: (none)
"privatekey": "", // mixed - Buffer or string that contains a private key for either key-based or hostbased user authentication (OpenSSH format). Default: (none)
"passphrase": "", // string - For an encrypted private key, this is the passphrase used to decrypt it. Default: (none)
"hosthash": "", // string - 'md5' or 'sha1'. The host's key is hashed using this method and passed to the hostVerifier function. Default: (none)
"ignorehost": true,
"connTimeout": 10000, // integer - How long (in milliseconds) to wait for the SSH handshake to complete. Default: 10000
"keepalive": 10000 // integer - How often (in milliseconds) to send SSH-level keepalive packets to the server (in a similar way as OpenSSH's ServerAliveInterval config option). Set to 0 to disable. Default: 10000
}
FTP & FTPS Configuration Options
{
"protocol": "ftp",
"host": "example.com", // string - The hostname or IP address of the FTP server. Default: 'localhost'
"port": 21, // integer - The port of the FTP server. Default: 21
"user": "user", // string - Username for authentication. Default: 'anonymous'
"pass": "pass", // string - Password for authentication. Default: 'anonymous@'
"remote": "/",
"secure": false, // mixed - Set to true for both control and data connection encryption, 'control' for control connection encryption only, or 'implicit' for implicitly encrypted control connection (this mode is deprecated in modern times, but usually uses port 990) Default: false
"secureOptions": null, // object - Additional options to be passed to tls.connect(). Default: (null) see http://nodejs.org/api/tls.html#tls_tls_connect_options_callback
"connTimeout": 10000, // integer - How long (in milliseconds) to wait for the control connection to be established. Default: 10000
"pasvTimeout": 10000, // integer - How long (in milliseconds) to wait for a PASV data connection to be established. Default: 10000
"keepalive": 10000 // integer - How often (in milliseconds) to send a 'dummy' (NOOP) command to keep the connection alive. Default: 10000
}
from remote-ftp.
privatekey
should probably note that the string should be a file path to the private key... I know it should have been my first choice, but I encoded the private key file with \n
and put that in... it was after I determined that it really is supposed to be a path.
from remote-ftp.
The README says
Buffer or string that contains a private key for either key-based or hostbased user authentication (OpenSSH format)
It should have worked if you had left out the \n
s or escaped them properly
from remote-ftp.
But Wiki > Settings
says:
key: set privatekey to the path to your private key, set passphrase if key is encrypted
from remote-ftp.
Funny...
We use the mscdex/ssh2 module for SFTP. The keyparser used there expects a buffer or a string in the OpenSSH format
BUT: We seem to support both path and key if I understand this line correctly: https://github.com/mgrenier/remote-ftp/blob/96bfd7d9a46d7b2b15ac32362c129c78c0b57a2e/lib/client.js#L170
from remote-ftp.
@jpxd no, line means that if privatekey
is set then read file that it targets to. so remote-ftp
supports only path
from remote-ftp.
Ah you`re right. I'll update it in the README
from remote-ftp.
Related Issues (20)
- Uncaught Error: EEXIST: file already exists, mkdir '~/Desktop/FTP/reklam/wp-content/themes/Eynman...
- Move /Remove file on remote doesn't sync to local
- Search and Replace in files (Ctrl + Shift + F)
- Connect button is not working/doesn't respond HOT 1
- Uncaught Error: EEXIST: file already exists, mkdir '~/Desktop/MATTEO FEDUZI/Siti nostri Keliweb/t...
- Uncaught Error: EEXIST: file already exists, mkdir 'C:/workspace\ncboard\main\templatetags'
- Administrator permissions HOT 3
- Install failing on Apple M1 HOT 2
- HTMLDocument.registerElement is deprecated. HOT 2
- @bjhaneline21291 #463 [](_1OkiPyJjXuVYQYFFABXk8A)
- Uncaught TypeError: Cannot read property 'treeView' of undefined
- remote-ftp deleting my files
- Uncaught Error: ENOENT: no such file or directory, stat 'D:/Projects Archive\Validation\index.php'
- It urgently needs an alert when replacing a existing file
- 8
- vscode version HOT 3
- Uncaught Error: EEXIST: file already exists, mkdir 'D:/GTX\Projetos\Homolog\public_html\anna-jank...
- Uncaught Error: EEXIST: file already exists, mkdir 'D:/GTX\Projetos\APM - Novo Portal\public_html...
- disconnect at timeout and tree reset
- Cannot read property "length" of undefined
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 remote-ftp.