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

Here you can discuss about your favorite plug-in.
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 »

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
User avatar
Michael Lukashov
Posts: 517
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.
pdan_pdan
Posts: 15
Joined: Tue 30 Nov, 2010 12:00

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

Post 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
far_gg
Posts: 2
Joined: Sun 25 Nov, 2012 05:01

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

Post 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.
Last edited by far_gg on Thu 01 Jan, 1970 01:00, edited 0 times in total.
Reason: Fixed log formatting
far_gg
Posts: 2
Joined: Sun 25 Nov, 2012 05:01

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

Post 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.
pandronic
Posts: 30
Joined: Tue 23 Mar, 2010 12:04

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

Post 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
User avatar
John Doe
Бюрократ
Posts: 13847
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 73 times
Been thanked: 428 times
Contact:

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

Post by John Doe »

All this topic is about NetBox.

You should look here: http://code.google.com/p/conemu-maximus ... ssues?tm=3
pandronic
Posts: 30
Joined: Tue 23 Mar, 2010 12:04

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

Post 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
User avatar
Michael Lukashov
Posts: 517
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 »

I cannot see "100% Copying" bug with latest ConEmu and Far2.
Filenames issue is fixed in 2.1.26, you can try it.
pandronic
Posts: 30
Joined: Tue 23 Mar, 2010 12:04

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

Post 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
User avatar
HaRT
Moderator
Posts: 10854
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

Post 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
Фар есть инструмент, а не нянька. © 2009 DrKnS
ultramage
Posts: 6
Joined: Sat 01 Nov, 2008 01:43

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

Post 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.
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 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 :-(
campingcheese
Posts: 1
Joined: Sat 05 Oct, 2013 13:42

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

Post 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.
User avatar
HaRT
Moderator
Posts: 10854
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 221 times
Been thanked: 358 times

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

Post 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.
Фар есть инструмент, а не нянька. © 2009 DrKnS
pandronic
Posts: 30
Joined: Tue 23 Mar, 2010 12:04

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

Post 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.
Post Reply

Return to “General Plug-In Discussions”