NetBox — SFTP/SCP/FTP/FTPS/WebDAV client

Here you can discuss about your favorite plug-in.

axonis
Posts: 6
Joined: Tue 13 Sep, 2011 10:08

NetBox — FTP/SFTP/WebDAV client

Post by axonis » Tue 13 Sep, 2011 10:37

Hi to all, I am a new Far user (but I had used Norton Commander 3.0 very extensively to the late nineties). Totally love the program and the plugins.

I recently tried to use ftp but noticed it doesn't support unicode names and doesn't connect to FTPS. So I tried the NetBox plugin which DOES support unicode names, but I have a problem with FTPS.

When I try to connect to my FTPS server I have the following output:

Code: Select all

Certificate verification error: Peer certificate cannot be authenticated with given CA certifica
                                        Continue anyway?
Which is normal and I click Yes. However I then get the following message:

Code: Select all

        Unable to establish connection with host
                       ftps://seth
 FTP: couldn't retrieve (RETR failed) the specified file
and I cannot continue. At the same time my server produces the following:

Code: Select all

(000081)2011-09-13 12:31:08 - (not logged in) (192.168.x.x)> Connected, sending welcome message...
(000081)2011-09-13 12:31:08 - (not logged in) (192.168.x.x)> 220 FileZilla Server version 0.9.39 beta
(000081)2011-09-13 12:31:08 - (not logged in) (192.168.x.x)> SSL connection established
(000081)2011-09-13 12:31:08 - (not logged in) (192.168.x.x)> USER user
(000081)2011-09-13 12:31:08 - (not logged in) (192.168.x.x)> 331 Password required for user
(000081)2011-09-13 12:31:08 - (not logged in) (192.168.x.x)> PASS *******
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> 230 Logged on
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> PBSZ 0
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> 200 PBSZ=0
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> PROT C
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> 534 This server requires an encrypted data connection with PROT P
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> PWD
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> 257 "/" is current directory.
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> EPSV
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> 229 Entering Extended Passive Mode (|||3390|)
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> TYPE A
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> 200 Type set to A
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> LIST
(000081)2011-09-13 12:31:08 - user (192.168.x.x)> 521 PROT P required
However I can connect without problems using Filezilla.

Am I missing something here ?

Thanks for your time. Also, please direct me to where I can donate a few euros to support the Far and Netbox developers.

User avatar
HaRT
Moderator
Posts: 8022
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 67 times
Been thanked: 99 times

Re: NetBox — FTP/SFTP/WebDAV client

Post by HaRT » Tue 13 Sep, 2011 11:29

Here's the discussion of the NetBox plugin in Russian. You may wish to post there a link to this topic. I believe the author knows English enough.
axonis wrote:please direct me to where I can donate a few euros to support the Far and Netbox developers.
AFAIK, there's no such mechanism. Though you can contact t-rex directly to try to participate in hosting fees.
Фар есть инструмент, а не нянька. © 2009 DrKnS

User avatar
John Doe
Бюрократ
Posts: 11095
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 12 times
Been thanked: 66 times

Re: NetBox — FTP/SFTP/WebDAV client

Post by John Doe » Tue 13 Sep, 2011 11:53

Current Netbox developer - ice_scream.

User avatar
Michael Lukashov
Posts: 480
Joined: Mon 23 Jan, 2006 09:38
Been thanked: 9 times
Contact:

Re: NetBox — FTP/SFTP/WebDAV client

Post by Michael Lukashov » Tue 13 Sep, 2011 16:12

axonis wrote:Hi to all, I am a new Far user (but I had used Norton Commander 3.0 very extensively to the late nineties). Totally love the program and the plugins.

I recently tried to use ftp but noticed it doesn't support unicode names and doesn't connect to FTPS. So I tried the NetBox plugin which DOES support unicode names, but I have a problem with FTPS.

When I try to connect to my FTPS server I have the following output:

However I can connect without problems using Filezilla.

Am I missing something here ?
Hi.

Thanks for your bug report.

I was able to reproduce error, but need some more time to fix this.
However, you still can use NetBox if you change your Filezilla FTPS server options for a while.
Filezilla server options -> SSL/TLS settings -> Force PROT P to encrypt file transfers in SSL/TLS mode - uncheck this option

axonis
Posts: 6
Joined: Tue 13 Sep, 2011 10:08

Re: NetBox — FTP/SFTP/WebDAV client

Post by axonis » Tue 13 Sep, 2011 17:22

Thanks very much -- and the workaround does the job temporarily.

Feature request: Provide the option to save a certificate in order to avoid certificate warnings in future sessions.

Also, the message

Code: Select all

    return "Peer certificate cannot be authenticated with given CA "
      "certificates";
Could be truncated in order to fit to a normal sized window (mine is set at 110 chars wide and some of the message was cut, so I think some truncation must be necessary).

pepak
Posts: 312
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 1 time
Been thanked: 9 times

Re: NetBox — FTP/SFTP/WebDAV client

Post by pepak » Sun 18 Sep, 2011 14:16

Which keyfile formats are supported by NetBox? I tried to move my WinSCP plugin configuration to NetBox, but I am getting a "Unable to extract public key from private key file" error. As far as I can tell, both keys are provided in the keyfile (Putty user key file with no encryption).

pepak
Posts: 312
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 1 time
Been thanked: 9 times

Re: NetBox — FTP/SFTP/WebDAV client

Post by pepak » Sun 18 Sep, 2011 14:30

Never mind, found the answer here:
viewtopic.php?f=5&t=6317&start=60

pepak
Posts: 312
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 1 time
Been thanked: 9 times

Re: NetBox — FTP/SFTP/WebDAV client

Post by pepak » Thu 09 Feb, 2012 07:37

When I try to resume a file on a SFTP server (File exists. Overwrite? -> Append. Append to the end? -> No.) I get an error "Not implemented. Code: 300". Is it a limitation of NetBox or of the server? Is there anything I can do to remove this limitation?

User avatar
Michael Lukashov
Posts: 480
Joined: Mon 23 Jan, 2006 09:38
Been thanked: 9 times
Contact:

Re: NetBox — FTP/SFTP/WebDAV client

Post by Michael Lukashov » Thu 09 Feb, 2012 08:00

pepak wrote:When I try to resume a file on a SFTP server (File exists. Overwrite? -> Append. Append to the end? -> No.) I get an error "Not implemented. Code: 300". Is it a limitation of NetBox or of the server? Is there anything I can do to remove this limitation?
This error means that some function was not implemented in NetBox. Will fix in next version soon.

pepak
Posts: 312
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 1 time
Been thanked: 9 times

Re: NetBox — FTP/SFTP/WebDAV client

Post by pepak » Thu 09 Feb, 2012 08:20

Thank you very much! I find myself in need of this function because since the 1st I am trying to upload my 6GB backup file to a remote site and the connection keeps dropping me at 85-95 %. (The connection drop is caused by my provider, not NetBox.)

User avatar
Michael Lukashov
Posts: 480
Joined: Mon 23 Jan, 2006 09:38
Been thanked: 9 times
Contact:

Re: NetBox — FTP/SFTP/WebDAV client

Post by Michael Lukashov » Thu 09 Feb, 2012 21:36

pepak wrote:Thank you very much! I find myself in need of this function because since the 1st I am trying to upload my 6GB backup file to a remote site and the connection keeps dropping me at 85-95 %. (The connection drop is caused by my provider, not NetBox.)
you may try new test version https://github.com/downloads/michaelluk ... 64_test.7z

pepak
Posts: 312
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 1 time
Been thanked: 9 times

Re: NetBox — FTP/SFTP/WebDAV client

Post by pepak » Fri 10 Feb, 2012 11:02

It seems to work fine. I tried to upload a smaller test file, aborted it in the middle, then tried to resume. The resume started OK, apparently (as shown by the progress indicator), eventually finished and when I downloaded the resumed file and compared it to the original, they matched. I will need to test with a >4GB file eventually, but the functionality seems to work fine for smaller files.

If you find time for that, though, it might be a good idea to provide a "Resume" button in the Overwrite dialog. While the extra dialog after "Append" works, it's not very intuitive. I can live with it, if you don't care to provide an extra button.

Anyway, thanks a lot for this update!

axonis
Posts: 6
Joined: Tue 13 Sep, 2011 10:08

Re: NetBox — FTP/SFTP/WebDAV client

Post by axonis » Wed 22 Feb, 2012 08:03

Link not working

User avatar
Michael Lukashov
Posts: 480
Joined: Mon 23 Jan, 2006 09:38
Been thanked: 9 times
Contact:

Re: NetBox — FTP/SFTP/WebDAV client

Post by Michael Lukashov » Wed 22 Feb, 2012 08:34

axonis wrote:Link not working
That's because it is temporary test version.
All fresh versions are here: https://github.com/michaellukashov/Far-NetBox/downloads
(as you can guess yourself)

pepak
Posts: 312
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 1 time
Been thanked: 9 times

Re: NetBox — FTP/SFTP/WebDAV client

Post by pepak » Thu 01 Mar, 2012 18:35

There are two related major bugs with NetBox and SFTP now, related to how NetBox handles broken connection:

1) If a connection breaks and I choose to abort, NetBox crashes and takes FAR (2.0 build 1807) with it. As far as I can tell, the crash is completely silent, event without an Event Log entry.

2] If a connection breaks and I choose to reconnect, NetBox reconnects correctly and tries to resume uploading the file. Unfortunately, it crashes soon after (with Access Violation), taking FAR with it - and to my dismay, it turns out it doesn't actually resume the upload (even though the progress indicator suggests it does) but deletes it and starts again (this is my 6 GB file we are talking about...).

If it is relevant, I am using a 32bit FAR on a 64bit Windows 7. Latest Netbox.

Post Reply

Return to “General Plug-In Discussions”