Comments (18)
This is now resolved and #62 is merged into master.
from vscode-ftp-sync.
"port": 21,
"secure": true,
"protocol": "ftpes",
"secureOptions": {"rejectUnauthorized": false},
This works fine for me
from vscode-ftp-sync.
It should support FTPS already.. isn't it?
from vscode-ftp-sync.
Ah that's great if it does. I hadn't seen any reference to FTPS (FTP over SSL) in the readme, version history or GitHub issues. Only SFTP (Secure File Transfer Protocol) seems to be mentioned (and supported). I don't have the ability to test it myself just yet so I thought I'd ask the question.
Also thanks for the quick response!
from vscode-ftp-sync.
AFAIK the library I use for FTP supports FTPS without any problems as this
is the same protocol in terms of communication... Can anyone confirm it
works fine?
from vscode-ftp-sync.
Ftps doesn't work here, sorry.
from vscode-ftp-sync.
@KooiRUG, can you show me your config (without sensitive data)?
from vscode-ftp-sync.
@lukasz-wronski yep, here it is:
{
"remotePath": "/my/path",
"host": "nicon.nl",
"protocol": "ftp",
"port": 21,
"secure": true,
"password": "****",
"username": "****",
"uploadOnSave": true,
"passive": true,
"debug": false,
"ignore": [
"\\.vscode",
"\\.git"
]
}
And this is how it shows up in my ftp-server:
(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> 220----------------------------------------------------------
(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> 220- This is NICons FTP-server. We only allow sftp/ftps
(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> 220 ---------------------------------------------------------
(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> USER ****
(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> 530 This server does not allow plain FTP. You have to use FTP over TLS.
(000143)2/14/2016 16:04:11 PM - (not logged in) ([ip])> disconnected.
In other words, no tls-attempt is made (no AUTH TLS
command is sent).
But then again, may be my config is all wrong?
from vscode-ftp-sync.
@KooiRUG: Is this a correct port for FTPS connection? Shouldn't you use port 990?
from vscode-ftp-sync.
@lukasz-wronski Port 21 will do (explicit over SSL/TLS shares its port with the regular ftp-port), port 990 is for an implicit connection. Tried that too, but using port 990, we're not going beyond:
(000158)2/14/2016 17:38:47 PM - (not logged in) ([ip])> Connected on port 990, sending welcome message...
To be sure implicit connections work @ my server, I connected using another application:
(000159)2/14/2016 17:40:58 PM - (not logged in) ([ip])> Connected on port 990, sending welcome message...
(000159)2/14/2016 17:41:04 PM - (not logged in) ([ip])> SSL connection established
(000159)2/14/2016 17:41:06 PM - (not logged in) ([ip])> USER ****
(000159)2/14/2016 17:41:06 PM - (not logged in) ([ip])> 331 Password required for ****
(000159)2/14/2016 17:41:07 PM - (not logged in) ([ip])> PASS ****
(000159)2/14/2016 17:41:07 PM - **** ([ip])> 230 Logged on
from vscode-ftp-sync.
In modules/ftp-config.js .getSyncConfig doesn't return any 'secure' option. So node-ftp always use the default false value.
getSyncConfig: function() {
var config = this.getConfig();
return {
local: config.localPath,
remote: upath.toUnix(config.remotePath),
host: config.host,
port: config.port,
user: config.username,
password: config.password,
**secure: config.secure,**
ignore: config.ignore,
passive: config.passive,
protocol: config.protocol || "ftp",
privateKeyPath: config.privateKeyPath,
debug: config.debug ? function(msg) {
output(msg);
} : null
}
from vscode-ftp-sync.
Is there any solution? My provider only allows FTP over TLS...
from vscode-ftp-sync.
Hello there, I also confirm that cannot use FTP over SSL
from vscode-ftp-sync.
Hey guys, created a pull request in order to enable the support (successfully tested it also).
from vscode-ftp-sync.
Is there any chance of this being added to the next release?
from vscode-ftp-sync.
I'm interested in using this also. I have been using Filezilla but attempting to streamline my dev process currently and I liked this ftp plugin for vscode better than the other one :-)
from vscode-ftp-sync.
Any progress on this? We are forced to use FTPS on our server.
from vscode-ftp-sync.
"port": 21, "secure": true, "protocol": "ftpes", "secureOptions": {"rejectUnauthorized": false}, This works fine for me
+1
from vscode-ftp-sync.
Related Issues (20)
- -
- ftp sync uploadOnSave HOT 7
- Watch SSL
- Permission denied when uploading file, but winscp works fine
- How do I interrupt Uploading?
- I don't have time to maintain this project and would be happy to pass it to someone! HOT 1
- git-ftp
- FTP-Sync: sync error: Timeout while connecting to server
- ignore and allow not working as expected HOT 1
- uploadOnSave and directory creation issues HOT 1
- Files are not replaced on remote server
- Simple
- VScode + Autosave
- VSCode FTP Extension with TLS Implicit FTPS azure setup
- On mac, cant load .ssh from a hidden folder
- Where can I customize Date/Time debug output format?
- Ftp-sync: sync error: Error: Can't create directory: File exists
- "Upload on Save" Not Working HOT 4
- Error while downloading
- ftp-sync: uploading... stuck HOT 6
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 vscode-ftp-sync.