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

Here you can discuss about your favorite plug-in.
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

Re: NetBox — FTP/SFTP/WebDAV client

Post by pepak »

Latest post of the previous page:

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.
User avatar
Michael Lukashov
Posts: 516
Joined: Mon 23 Jan, 2006 09:38
Has thanked: 6 times
Been thanked: 21 times
Contact:

Re: NetBox — FTP/SFTP/WebDAV client

Post by Michael Lukashov »

pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

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

Post by pepak »

The crashes seem to have stopped with 2.0.13. I haven't dared to use the reconnect feature yet.

Thanks!

Btw., it could be very useful to have an option to automatically try reconnect after a certain time. E.g. something like:

Code: Select all

[x] Automatic reconnect after [   10] seconds.
      [x] But no more than [   5] times.
And that separate "Resume" button would be great, too :-)
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

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

Post by pepak »

The reconnects do resume downloads most of the time, but I have just encountered a reconnect which started to upload the file from the beginning.
User avatar
Michael Lukashov
Posts: 516
Joined: Mon 23 Jan, 2006 09:38
Has thanked: 6 times
Been thanked: 21 times
Contact:

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

Post by Michael Lukashov »

pepak wrote:The reconnects do resume downloads most of the time, but I have just encountered a reconnect which started to upload the file from the beginning.
I guess that file was in subdirectory, no?
pepak
Posts: 604
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 17 times
Been thanked: 54 times

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

Post by pepak »

No. A regular file.

In fact, since I wrote that message, no other file resumed on automatic reconnect - they all got overwritten.
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

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

Post by KlepetoX »

Hello, FAR build 2774, NetBox 2.1.6.130 - file attributes do not work. File attrib dialog shows nothing attribs and if I select any attrib, it is not written at all.
User avatar
Michael Lukashov
Posts: 516
Joined: Mon 23 Jan, 2006 09:38
Has thanked: 6 times
Been thanked: 21 times
Contact:

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

Post by Michael Lukashov »

What protocol are you using? Changing file attributes implemented only for SCP and SFTP protocols, and you must have appropriate rights on remote system to do that.
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

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

Post by KlepetoX »

I use plain FTP, so it is explained. I can't display and change attribs... I have to stay with standard FAR FTP plugin and WinSCP simultaneously. Thank you for the answer.
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

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

Post by KlepetoX »

I can use FTPS with explicit FTP over TLS and it is the same. Next I have found that the latest version of WinSCP does the same, doesn't show rights (attribs) at all. While FileZilla and standard FAR plugin are ok and show/write attribs correctly :-(
User avatar
Michael Lukashov
Posts: 516
Joined: Mon 23 Jan, 2006 09:38
Has thanked: 6 times
Been thanked: 21 times
Contact:

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

Post by Michael Lukashov »

Well, I was wrong and in fact plugin can show/change permissions using FTP protocol.
Maybe FTP server you connect to sends directory listing in some unusual format, which plugin cannot parse correctly.

For example, ftp.freebsd.org sends directory listing in such format:

drwxr-xr-x 2 967 100 3072 Dec 13 2011 xfce
drwxr-xr-x 2 967 100 1536 Dec 04 2011 zope

and plugin correctly shows permissions.
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

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

Post by KlepetoX »

I tried older version 2.0.13.78 of NeBox - and everything is displayed and changed ok! So I stayed with this older version meantime...
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

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

Post by KlepetoX »

I'm trying ftp.freebsd.org and everything is ok with older and new version of NetBox.

But for example, try ftp://82.117.143.105/ login: host pass: host

NetBox 2.0.13 is ok
NetBox 2.1.16 shows no attribs

Standard FTP plugin in FAR installation is always ok... - strange...
User avatar
Michael Lukashov
Posts: 516
Joined: Mon 23 Jan, 2006 09:38
Has thanked: 6 times
Been thanked: 21 times
Contact:

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

Post by Michael Lukashov »

It'll be better if you just show what kind of directory listing this server produces.
KlepetoX
Posts: 129
Joined: Sun 08 Jan, 2012 08:23
Location: Czech Republic
Has thanked: 2 times
Been thanked: 1 time

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

Post by KlepetoX »

ftp://82.117.143.105 lists files and dirs this way (quickly based on filezilla server for tests):

Code: Select all

-rw-r--r-- 1 ftp ftp              4 Jul 25 14:55 info.txt
drwxr-xr-x 1 ftp ftp              0 Jul 25 14:56 test
ftp:ftp is owner

And for example another ftp server which doesn't show any attribs with new version of NetBox:

Code: Select all

drwxr-xr-x   20 18406      1001             4096 Jul 25 11:08 .
drwx--x---    4 18406      1001             4096 Dec 11  2011 ..
-rw-r--r--    1 18406      1001               55 Mar 30 16:40 .gitignore
-rw-r--r--    1 18406      1001             3116 Mar 30 16:40 .htaccess
-rw-r--r--    1 18406      1001            17816 Jul  9 08:20 LICENSE.txt
-rw-r--r--    1 18406      1001             4244 Jul  9 08:20 README.txt
drwxr-xr-x   10 18406      1001             4096 Mar 30 16:27 administrator
drwxr-xr-x    6 18406      1001             4096 Apr  2 09:27 cache
drwxr-xr-x    2 18406      1001             4096 Mar 30 16:22 cli
drwxr-xr-x   17 18406      1001             4096 Apr 12 11:03 components
-r--r--r--    1 18406      1001             2203 Apr 24 12:57 configuration.php
drwxr-xr-x    3 18406      1001             4096 Mar 30 16:29 docs
-rw-r--r--    1 18406      1001               53 Mar 30 16:50 google3d5fe6dfa6f05209.html
-rw-r--r--    1 18406      1000             3118 Jul  9 08:20 htaccess.txt
drwxr-xr-x   12 18406      1001             4096 Apr  4 13:29 images
drwxr-xr-x    4 18406      1001             4096 Mar 30 16:36 images.orig
drwxr-xr-x    2 18406      1001             4096 Mar 30 16:36 includes
-rw-r--r--    1 18406      1001             1319 Jul  9 08:20 index.php
drwxr-xr-x   17 18406      1001             4096 Apr 29 20:08 jupgrade
drwxr-xr-x    5 18406      1001             4096 Mar 30 16:37 language
drwxr-xr-x    7 18406      1001             4096 Mar 30 16:38 libraries
drwxr-xr-x    2 18406      1001             4096 Apr  1 11:17 logs
drwxr-xr-x   18 18406      1001             4096 May 29 05:40 media
drwxr-xr-x   27 18406      1001             4096 Apr 12 09:38 modules
drwxr-xr-x   14 18406      1001             4096 Apr  5 12:32 plugins
-rw-r--r--    1 18406      1001              865 Mar 30 16:40 robots.txt
drwxr-xr-x    2 18406      1001             4096 Jul 24 16:01 temp
drwxr-xr-x   10 18406      1001             4096 Apr  4 09:05 templates
drwxr-xr-x    3 18406      1001             4096 Jul 15 07:21 tmp
-rw-r--r--    1 18406      1001             1715 Jul  9 08:20 web.config.txt
User avatar
Michael Lukashov
Posts: 516
Joined: Mon 23 Jan, 2006 09:38
Has thanked: 6 times
Been thanked: 21 times
Contact:

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

Post by Michael Lukashov »

Most likely it is due to using MLSD/MLST for directory listing.
I made special test build
https://github.com/downloads/michaelluk ... 64_test.7z
You can try it and check if bug is fixed.
I cannot check this myself because I cannot reproduce this bug.
Post Reply

Return to “General Plug-In Discussions”