Page 3 of 8

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

Posted: Sat 04 Dec, 2010 21:00
by Michael Lukashov

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

Posted: Wed 25 Jul, 2012 14:34
by KlepetoX

Latest post of the previous page:

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

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

Posted: Thu 02 Aug, 2012 09:42
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.

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

Posted: Thu 30 Aug, 2012 13:34
by pdan_pdan
In the latest version of NetBox (2.1.10.147, FAR3 x86, Win Vista 32) there is a problem with editing 2 files with the same name.
eg.:
I have the file test.php on local filesystem, and on remote scp in /1/test.php and /2/test.php
1. I open for editing /1/test.php
2. I can open for editing local 1.php
3. If I try to open /2/test.php I get an error:
Copying files from remote side failed.
System Error. Code: 32.
The process cannot access the file because it is being used by another process

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

Posted: Sun 25 Nov, 2012 05:09
by far_gg
A great plugin - I use it daily to download big files on Win7, FAR2. Unfortunately, when downloading a few of them when they are more than 100 MB in size, I consistently get a disconnect in between the files. This doesn't happen when I download a bunch of smaller files.

My FTP (Synology box) is behind a router, so I have to use PASV mode with it. . It starts with a resume, but the same issue happens when I start a fresh set of files.

Thank you very much for looking into this.

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

Posted: Sun 02 Dec, 2012 04:22
by far_gg
Follow up on my earlier post. After more experimentation, I am seeing the same sort of disconnects between transfers over FAR's built-in FTP as well. Looks like trouble on Synology NAS side.

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

Posted: Fri 15 Feb, 2013 13:43
by pandronic
There are a couple of bugs regarding editing files. I made the following image to illustrate:

Image

Are they known by the developers and if so are they going to be resolved?

Thank you

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

Posted: Fri 15 Feb, 2013 13:48
by John Doe
All this topic is about NetBox.

You should look here: http://code.google.com/p/conemu-maximus ... ssues?tm=3

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

Posted: Fri 15 Feb, 2013 14:07
by pandronic
I don't know about the "100% Copying" bug, but the second is clearly a NetBox problem. Probably it assigns a random filename to the edited file so if you edit 2 files with the same name they don't get overwritten. While technically it seems to work ok, seeing in the ConEmu tab bar and Screen switcher (F12) filenames like 923RJ4R24J924J9D24.php is not very good.

I was thinking they could name the temporary files

Code: Select all

"923RJ4R24J924J9D24/file.php"
or at least

Code: Select all

"file.php      [lots of spaces ]            923RJ4R24J924J9D24.php"
so I can see what files I'm editing.

Regards

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

Posted: Fri 22 Feb, 2013 19:57
by Michael Lukashov
I cannot see "100% Copying" bug with latest ConEmu and Far2.
Filenames issue is fixed in 2.1.26, you can try it.

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

Posted: Mon 25 Feb, 2013 09:55
by pandronic
I stumbled upon another small bug - I don't know if it's a Renewal bug or something on your end:

Code: Select all

╔═════════════════ Renewal (autoupdate) ═════════════════╗
║  Far Manager              3.0.0.3219  → 3.0.0.3219     ║
║  Disk menu                3.10.0.2841 → 3.10.0.2841    ║
║  FarColorer               1.0.3.12    → 1.0.3.12       ║
║  NetBox                   2.1.25.216  → 2.1.19         ║
║  Renewal                  3.15.0.2841 → 3.15.0.2841    ║
╟────────────────────────────────────────────────────────╢
║ Far Manager:                [ HomePage ] [ ChangeLog ] ║
╟────────────────────────────────────────────────────────╢
║            { Check } [ Install ] [ Close ]             ║
╚════════════════════════════════════════════════════════╝
I updated manually and everything works fine. Thanks for the fix.

As for the "100% copying" bug here are the steps to reproduce it on my machine:
- I have a SFTP server (with the default options for the session)
- The only options in NetBox I've changed are:

Code: Select all

[x] Allow more than one edited file
[x] Upload after every save
- I open a remote text file in the editor
- I hit F2 to save, the file is saved
- after uploading is finished the title of the tab with the panel from which I opened the file is (100% Copying)
- if I press F12 to see the list of the screens, the name of the screen is correct however (so it could be a ConEmu problem - I'm not sure)
- if I switch to the panel tab, the name of the tab is corrected

Edit: replaced the image

Posted: Mon 25 Feb, 2013 10:58
by HaRT
pandronic
Next time, instead of an image, use the AltIns key to grab text from FAR window and the

Code: Select all

[/b] tag to publish it here

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

Posted: Wed 29 May, 2013 15:53
by ultramage
Hi, just a heads-up: In msvc2012 / windows platform sdk 8.0 ShObjIdl.h there is a new enum PBM_PLAY_STATE with member PS_PAUSED.
This conflicts with the identically named entry in your PluginSDK/Far*/plugin.hpp. I suggest updating your old far api files.

Code: Select all

drkns 02.03.2012 13:58:31 +0200 - build 2515
2. Microsoft has played a dirty trick by adding PS_PAUSED to shobjidl.h, so constants form PROGRESSTATE have TBPS_ prefix now.

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

Posted: Thu 08 Aug, 2013 07:29
by KlepetoX
I confirm the same problem as Darkman (http://forum.farmanager.com/viewtopic.p ... 30#p112155), when I copy large files (even small files with slow connection) there's always error at the end. I must use old Ansi FTP plugin. But there are other bugs - I can't see and set attributes on Filezilla based FTP servers (old FTP plugin can) - the same bug is in WinSCP. And last - time on files after copy on FTP is shifted (timezones?) by whole hours while old FTP plugin shows right time. I like this plugin but I can hardly use it :-(

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

Posted: Sat 05 Oct, 2013 17:42
by campingcheese
Is it possible to refer a netbox stored session in a cmd or macro script? I would like to write a user menu command that archives the current folder and copies it to webdav.

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

Posted: Mon 07 Oct, 2013 10:26
by HaRT
campingcheese wrote:Is it possible to refer a netbox stored session in a cmd or macro script?
CMD — no.
Macro (Lua) — yes, but you'll need to simulate user commands as NetBox doesn't expose any API of its own AFAIK.

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

Posted: Sun 20 Oct, 2013 08:03
by pandronic
Another NetBox bug. I'm using 2.1.31 build 271 on Far 3.0 build 3525 x86
Whenever I try to move (F6) a file from the local HDD to a SFTP server, the file get copied, but the local copy is not deleted. Instead I get the message:

Code: Select all

╔═════════════════════════ Error ═════════════════════════╗
║ Copying files to remote side failed.                    ║
╟─────────────────────────────────────────────────────────╢
║ System Error.  Code: 32.                                ║
║ The process cannot access the file because it is being  ║
║ used by another process                                 ║
╟─────────────────────────────────────────────────────────╢
║                           Ok                            ║
╚═════════════════════════════════════════════════════════╝
Needless to say that the file is not used by any process. On FTP it works fine.