Discussion:
[Notepad-plus-plus] [notepad-plus - Plugin Development] New Plugin available: FTP_synchronize
SourceForge.net
2007-07-06 17:19:05 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4400064
By: nobody

Hi there,

I made a small and very simple plugin to quickly upload and download files from
a single FTP server. The zip archive with the DLL and a simple readme can be
found here:
http://www.mediafire.com/?2mlillnywuq
(not exactly SourceForge but it does the job)
Tell me what you think about it.

This exact post is also in FTP thread, but I think its being missed since Ive
seen numerous people request it.

Harry

PS donho,I saw somewhere you mentioned notifying the plugin when notepad++ has
saved a file, could you implement that so the plugin can auto-upload? Or is
it already available?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-06 20:07:30 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4400531
By: vor0nwe

Hi Harry,

That looks nice!

Unfortunately, it doesn't work for me: in the messages window, I see the
following:

Response (331): Password required for vor0nwe.
Response (230): User vor0nwe logged in.
Response (257): "/vor0nwe" is current directory.

But in the FTP Folders list, I only see the '/' root folder. I can't navigate
to the writeable folders which are all under /vor0nwe/...

Could you fix this?


Another issue: while connecting to the FTP server, Notepad++ doesn't respond
any more. Could you have your FTP access occur on a separate thread or something,
to prevent it from blocking the entire app?
Also, when I try to connect to the FTP server and it times out, Notepad++ never
comes back to life...

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-07 14:51:12 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4401306
By: nobody

Thank you for your reply. I know of the login threading issue, ill add a seperate
thread for it and some timeout checks (currently, there are some INFINITE waits
because all servers I tested with were very reliable, mistake of me, the Internet
is very unreliable). As for the '/' issue, could you give me some more info?
For example, how a part of you directory _should_ look and what server you use
(if you can, try loggin in with some other FTP application, usually itll display
what servre is running), maybe it uses some format I havent seen yet (if its
a public server, could you give the address).

-Harry

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-07 15:06:43 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4401320
By: vor0nwe

Well, when I connect using FileZilla, I get the following log:

[16:59:38] Status: Connected with www.server.com. Waiting for welcome
message...
[16:59:38] Response: 220 Microsoft FTP Service
[16:59:38] Command: USER name
[16:59:39] Response: 331 Password required for name.
[16:59:39] Command: PASS *****
[16:59:39] Response: 230 User name logged in.
[16:59:39] Command: FEAT
[16:59:39] Response: 211-FEAT
[16:59:39] Response: SIZE
[16:59:39] Response: MDTM
[16:59:39] Response: 211 END
[16:59:39] Command: SYST
[16:59:39] Response: 215 Windows_NT
[16:59:39] Status: Connected
[16:59:39] Status: Retrieving directory listing...
[16:59:39] Command: PWD
[16:59:40] Response: 257 "/" is current directory.
[16:59:40] Command: LIST
[16:59:40] Response: 125 Data connection already open; Transfer starting.
[16:59:41] Response: 226 Transfer complete.
[16:59:41] Status: Directory listing successful


So it would seem the root folder is indeed "/". I'd expect the subfolders to
be shown, however. The listing I get when using Windows' command-line
FTP client:

ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
06-10-07 06:33AM <DIR> coppoolse.com
06-10-07 08:08AM <DIR> martijn.coppoolse.com
06-09-07 09:28PM <DIR> tolkienlist.net
226 Transfer complete.

(which corresponds with the folders listed in FileZilla)

Thanks for looking into it!
--
Martijn

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-07 15:15:57 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4401331
By: harrybharry

Doesnt the tree show a small '+' next to the '/' directory? Its hould always
show and disappear when no subdirectories arent present, it doesnt expand by
default, considering the log you psoted of the plugin doesnt show any directory
access replies (atleast 1 passive connection should be made)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-07 15:33:19 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4401353
By: vor0nwe

Well, yes, it does show a little plus next to the root. When I expand that,
the following is added to the log...
Response (257): "/vor0nwe" is current directory.
Response (250): CWD command successful.
Response (227): Entering Passive Mode (72,35,94,15,4,34).
Response (200): Type set to A.
Response (125): Data connection already open; Transfer starting.
Response (226): Transfer complete.
Response (250): CWD command successful.
...and the plus sign disappears. However, no additional folders show up.

It's funny also that the message log says "/vor0nwe" is the current directory,
whereas the folder list only shows "/". I'd like to try to go up one folder,
but the UI doesn't provide that option.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-07 15:44:32 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4401359
By: harrybharry

Yeah its quite confusing, it will always show '/' as main folder instead of
the '/vor0nwe' you expect. Ill rebuild it with the root showing the full path.
The reason I chose the '/' was because the root can get quite lengthy if its
deep inside the directorytree, might make an option out of it. Do you have any
private message channels? I dont think this forum is meant for this type of
discussion, although I do not mind posting here :P.
Ill post a debug version showing what directory data is being recieved and what
text the app sends to the server, if you can copy that and give it to me it
would help a great deal (if the + jsut disappears it means its unable to parse
any directory of the given list (or the list is empty, in which case the requests
are bad)). Im currently fixing the timeout, or atleast trying to :P

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-07 16:32:20 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4401407
By: vor0nwe

You can send me e-mail at my sourceforge.net address: vor0nwe @at@
users.sourceforge.net.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-18 19:43:13 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4420383
By: nobody

I updated the plugin, its mroe stable and adds needed functionality, you can
now manage the files a bit more.
Download at
http://rapidshare.com/files/43671295/FTP_synchronize.dll.html

v0.8.1.5

Harry

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-21 11:29:31 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4424283
By: nobody

Please change the design. It's ugly! It do not fit into Notepad++ style! Add
for example a toolbar into your plugin to add the upload and download icons.
Use at best icons from famfamfam for your plugin:
http://www.famfamfam.com/lab/icons/silk/preview.php

Regarding the clear button. Please think about to find another solution. Maybe
right mouse botton menu to clear/copy the log messages.

Best Regards
Jens

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-23 13:04:48 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4427566
By: clyfe

would be nice to give the source code so people can improve it, maybe make a
project.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-23 14:54:54 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4427765
By: nobody

@Jens: Im working the fast I can to fix what you said. I wasnt aware of the
fact the N++ icons were "creative commons" and where they resided, Im adding
them as we speak. Ill fix the clear button and the toolbar aswell.

@clyfe: Yes I was thinking about it but I wanted a moire solid product and feedback
before posting a half complete project and above that see how far I could get
w/o help but the Internet ;). It'll be uploaded sometime soon. If Jens would
allow I'd like to see it with the other plugins, but else I'll make it a new
project (but first fix the uglyness, Jens is totally right, I just kind of forgot
about that=).

I do have one question for anyone who knows something about treeviews, currently
when you expand an empty folder the little '+' icon is supposed to disappear,
but it doesnt get redraw properly untill the item is reselected or the entire
treeview is redraw. Anyone know how to fix this?

-Harry

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-23 20:03:13 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4428194
By: nobody

And a new update is here:
http://rapidshare.com/files/44611719/FTP_synchronize.dll.html
ill make a project soon. Toolbar added and context menu

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-24 07:09:50 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4428793
By: nobody

Hello again,

you are fast ;). It's better than before. But some hints/suggestions at this
point:

- The tab icons are smaller than normal: 12x12 pix!
- Please use for the "Show FTP Folders" my icon of Explorer (Favorites).
- Remove the annoying comment "nppcm". BTW: What does cm means?
- I think "Show FTP Messages" is only necessary if you are opened a connection,
so my suggestion, remove it to icon bar of "FTP Folders" dialog.
- Remove the status of connection to title bar of "FTP Folders".
- Add the progress field to the icon bar above the list.
- Remove the dialog message "INI file is missing ... will be created".
- Use to create and load the ini file the new Notepad message
NPPM_GETPLUGINSCONFIGDIR.
- On connect a profile manager will be nice. Look e.g. into Total Commander
or PsPad.

Thanks for your time. You are invited to host your project on:
http://sourceforge.net/projects/npp-plugins/

Sent me an e-mail to clarify further details!

Best Regards
Jens

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-24 15:30:14 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4429541
By: nobody

Wow alot of suggestions, thanks :).

-I have no idea why the 12x12 issue is in Notepad, I think all tabs have it
(my icons are 16x16, but are always rendered smaller, I think it comes from
notepad, but I will look into it, you do mean the little tabs in the docking
dialogs?).

-Doesnt 2 same icons confuse users? I'd be happy to change it if its better,
I'm just not sure if thats a good idea. I picked the chain it indicate its "linked"
to something external.

-I have no idea where the "nppcm" comes from, where and when do you see it?
It might be some memory issue, as I cant see it in the DLL anywhere if I open
it with Notepad++ =).

-Very good suggestion indeed

-Possible, maybe make it so that the download percentage (and upload) shows
there aswell like with the FunctionList?

-See above

-Will do

-Never heard about it, I'll see if I can get it to work

-I suppose you mean that you can choose from a list of servers? In that case
I think the FileZilla approach works very good, with a dropdownlist of predefined
servers. I'll see what I can do.

That email will be send shortly, thank you.

-Harry






______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-07-24 15:38:48 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4429554
By: harrybharry

Quick search later on nppcm: nppcm is the DLL used for the contextmenu in windows
ofr the "Edit with notepad++" message. Maybe its windows?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-08-13 08:04:48 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4461610
By: nobody

Yop!

Answome plugin: I've always been obliged to use other editors instead of NP++
when editing remote files, and I often do: I have to places of work, and all
files are on a computer at one location, so when working in the second, I need
to work by remote! Now I can from NP++, thank you ;)

I am very impatient to see this plugin to automatically upload the file when
saving: would make it completely transparent!

One question: when you download file, it shows in NP++. Where does it put it?
For example, if I DL it, then disconnect, modify it, save it... and close NP++?
The modified and saved file will remain available? Not too much risk to see
it overwriten?

Thanks!

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-08-19 00:49:06 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4472358
By: donho

Harry,

Impressive!
I notice that it doesn't work yet to upload on save, right?
NPPM_SAVECURRENTFILE is what you need.

BTW, is sftp is available?

Feel free to contact me to :
don . h @ free . fr
if you have any question or need support.

Don

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-08-23 15:18:20 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4480915
By: nobody

being currently on vacation development is at a halt, but thatll change withing
2 weeks hopefully, its the first time in 3 weeks I have Internet.

Auto-upload is not yet available, neither is SFTP (I doiubt SFTP will be anytimne
soon, I believe its an entire different protocol if I may believe wikipedia).

Stay tuned

-Harry

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-03 22:22:42 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4498878
By: harrybharry

A new test-release for the plugin, v. 0.9.0.0 (although idk if the version numbering
is applicable)
http://www.mediafire.com/?5zwgjtfyyfr
More stable (I hope),
loads of bugs fixed,
profile support,
more options,
GUI cleanup,
autosave,
as good as all requests added.

I feel its pretty usable atm

About that cache: if you download a file to it, its just a file on you computer,
the only time something happens is if you download it again (or upload to the
server). It resides in notepad++/plugins/FTP_synchronize (depending on DLL name)

I really have to put it on SourceForge some time ;)

-Harry

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-09 23:15:16 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4509455
By: harrybharry

The plugin is now opensourced, GNU if I did it correctly.
It can be found on the npp-plugins CVS on sourceforge:
http://sourceforge.net/projects/npp-plugins/
a prebuild DLL is on there aswell in the /build/ directory, it should be the
very latest (although as of yet I havent made any changes)

-Harry

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-10 00:04:01 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4509480
By: donho

Great! I can finally publish your FTP_sychronize on Notepad++'s download
section.

Just one thing remains :
Could you provide your zipped binary here :
http://sourceforge.net/project/showfiles.php?group_id=189927
so that I can link to FTP_sychronize binary download page?

Don

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-10 10:53:04 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4509967
By: harrybharry

Done, you should be able to download the package(s)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 08:45:29 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4512042
By: nobody

Nice plugin!!
Should be able to up folder. When I connect to a ftp server, the default folder
is "/qsdf/azer/". I've tried to go up to this folder and I cannot. It would
be nice to have this possibility :)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 13:06:27 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4512375
By: harrybharry

I fixed some Windows 9X support. Some function were passed parameters 9x did
not support where XP did. I also added an ANSI build so people without the "Microsoft
Layer for Unicode" (unicows.dll) can still use the plugin. In fact, ANSI probably
does the same on windows 9x as unicode but faster as nothing has to be wrapped.
People with Windows NT based systems such as WinNT, Win2000 or WinXP should
use the normal build.

Currently you cannot go up because once logged in the current folder will be
used as a root for both the FTP engine and the treeview. I'll see if I can add
it in somehow

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 15:48:53 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4512685
By: nobody

With new version 0.9 I get a crash when I quit NPP:
"The instruction at 0x01034ff2 referenced memory at 0x01034ff2. The memory could
not be read."

If I disable BOTH SearchInFiles.dll v1.11 and HexEditor.dll 0.8.3 the crash
goes away. Disabling just one still causes the crash.

However, I still can't connect to my web site. I get "Could not login to server"
message and this is the contents of the messages:

Response (220): PLEASE NOTE: If you have a non-subscription account you
-> USER myusername

Response (220): will only be able to login to this ftp server if you are
-> QUIT

Response (220): dialled into our network.
Response (220):
Response (220): A Maximum of 4 concurrent connections are allowed to this
Response (220): server, each session is limited to 64KB/s downloads and
Response (220): 32KB/s uploads.
Response (220): Freeonline FTP2 Server #1 ready
Response (331): Password required for myusername.
Response (221): Goodbye.


Looks like my password isn't being sent. The password contains letters - lower
and uppercase, numbers and symbols =<*

This all works from ftp command in Command Prompt and scripted in a batch file
and in other ftp programs.

My system is Win2K SP4 up to date on Athlon dual core Opteron.

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 15:57:27 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4512696
By: harrybharry

It seems on this server a message consisting of multiple replies is being read
as different messages isntead of one. As soon as the USER command is sent, a
220 command is replied which the plugin reads as failure. Could you try another
FTP client and see if you could dump the messages from the server? Theres only
a select number of FTP server I know that I can test with, so any output would
be welcome.

As for the bug: Ive noticed notepad doing it at times, but it seems to be at
random. Breaking on the error points back to the function responsible for saving
GUI data (or docking data). If Don could help I'd appreciate it :P

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 16:06:14 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4512711
By: donho
Breaking on the error points back to the function responsible for saving GUI
data
(or docking data). If Don could help I'd appreciate it :P
Sure.
But I don't quite understand what you need.
What can I do for you?

Don

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 16:24:26 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4512734
By: nobody

Thanks for reply Harry.
ftp
ftp> open ftp2.free-online.net
Connected to ftp2.free-online.net.
220-PLEASE NOTE: If you have a non-subscription account you
220-will only be able to login to this ftp server if you are
220-dialled into our network.
220-
220-A Maximum of 4 concurrent connections are allowed to this
220-server, each session is limited to 64KB/s downloads and
220-32KB/s uploads.
220 Freeonline FTP2 Server #2 ready
User (ftp2.free-online.net:(none)): myusername
331 Password required for myusername.
Password:
230 User myusername logged in.
ftp> disconnect
221 Goodbye.
ftp>

I'm not familiar with these command numbers. Are all 220 commands just text
messages for information only? Can you ignore them?

As for the crashes, they don't seem to affect functionality as far as I can
see, just crash when I quit NPP (may affect writing of various config files
perhaps?).
Oh, and they aren't random here, consistent every time.

all the best
Mark B



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 17:16:54 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4512812
By: harrybharry

Well, Notepad++ sometimes crashes on closure, but I am having a difficult time
finding out where it comes from. It did happen sometimes when my plugin was
loaded, sometimes it happened without it, but it might have originated from
some plugin. Its just too random at my computer to properly debug it, but sometimes
when I catch it its in the unloading of GUI elements. So I thought maybe you
(Don) would know a little bit more about it.

As for the FTP commands, the application should support this type of reply,
so this is definatly a bug, ill see what I can do about it. The commands are
not really of any importance. 220 means its a welcome message, having lots of
them just allows the server to send multiple messages at once.
Thanks for the text, ill get on it right away.

My plugin writes all information when you click Ok on the settings dialog, but
it may affect other plugins when they save data on exit. And its jsut a bit
annoying :P

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 17:30:32 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4512828
By: harrybharry

please download fix here:
http://npp-plugins.cvs.sourceforge.net/*checkout*/npp-plugins/NppPlugins/FTP_syn
chronize/build/FTP_synchronize.dll
and tell me if it works. Changed some algorithm and multiline was overlooked
(damn you, code folding), should be fixed now.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 18:38:42 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4513038
By: nobody

Great work Harry.

OK, the good news is that NPP doesn't crash on exit any more!

Also I now connect to the server. For your information the messages look like
this:

Multiline Response (220): PLEASE NOTE: If you have a non-subscription account
you
Multiline Response (220): will only be able to login to this ftp server if you
are
Multiline Response (220): dialled into our network.
Multiline Response (220):
Multiline Response (220): A Maximum of 4 concurrent connections are allowed
to this
Multiline Response (220): server, each session is limited to 64KB/s downloads
and
Multiline Response (220): 32KB/s uploads.
Response (220): Freeonline FTP2 Server #2 ready
-> USER myusername

Response (331): Password required for myusername.
-> PASS mypassword

Response (230): User myusername logged in.
-> SYST

Response (215): UNIX Type: L8
-> PWD

Response (257): "/" is current directory.

By the way, Select All doesn't work in right-click menu in Messages window now.

When I click on the + symbol in the FTP Folders window it crashes I'm afraid.

"The instruction at 0x01038d51 referenced memory at 0x018ab8ac, couldn't be
read."

The messages window showed additional lines:

Response (257): "/" is current directory.
-> CWD /

Response (250): CWD command successful
-> PASV

Response (227): Entering Passive Mode (84,92,0,102,140,243).

No further contents showed in the Folders window but the root / folder.

This is entirely repeatable. NPP closes but sometimes still appears in Task
Manager for about 10 seconds then it finally closes (I hear the 'click' sound
effect).

Ah, bugger whilst writing this I opened NPP without opening up FTP and then
closed it and got another crash "The instruction at 0x01034fed referenced memory
at 0x01034fed, couldn't be read." Doesn't happen every time.

Just tried it in Active mode. It didn't crash but is still sitting there "Getting
directory contents". Messages show:

Multiline Response (220): PLEASE NOTE: If you have a non-subscription account
you
Multiline Response (220): will only be able to login to this ftp server if you
are
Multiline Response (220): dialled into our network.
Multiline Response (220):
Multiline Response (220): A Maximum of 4 concurrent connections are allowed
to this
Multiline Response (220): server, each session is limited to 64KB/s downloads
and
Multiline Response (220): 32KB/s uploads.
Response (220): Freeonline FTP2 Server #2 ready
-> USER myusername

Response (331): Password required for myusername.
-> PASS mypassword

Response (230): User myusername logged in.
-> SYST

Response (215): UNIX Type: L8
-> PWD

Response (257): "/" is current directory.
-> PWD

Response (257): "/" is current directory.
-> CWD /

Response (250): CWD command successful
-> PORT 192,168,1,2,9,5

Response (200): PORT command successful
-> TYPE A

Response (200): Type set to A
-> LIST

Response (150): Opening ASCII mode data connection for file list

After a few minutes I again clicked on the * icon and the folder opened showing
the two sub folders although it still tells me it is "Getting directory contents".
When I tried to open one of the sub folders I get "Error: Unable to retrieve
treeItem data".

Response (226): Transfer complete.
-> CWD /

Response (250): CWD command successful
-> PWD

Response (257): "/" is current directory.
-> CWD /logs

Response (250): CWD command successful
-> PORT 192,168,1,2,9,51

Response (200): PORT command successful
-> TYPE A

Response (200): Type set to A
-> LIST

Response (150): Opening ASCII mode data connection for file list
Error creating directory thread: 1816

I then clicked on your red stop current operation icon and I get this and and
"Error Couldn't open file".

-> ABOR

Response (226): Transfer complete.
-> CWD /

Response (226): Abort successful
-> PWD

Response (250): CWD command successful
Response (257): "/" is current directory.

Then a crash. The instruction at "0x01034a16" referenced memory at "0x00000000".
The memory could not be "read".

I'm not sure if any of this helps :-)

Whilst the latter was happening AVG 7.5 Professional threw up a wobbly and turned
itself off, problem with Shell Extension not being installed and some Remote
Admin (or something) extension I'd not seen before. When NPP crashed and closed,
AVG came back again OK. Perhaps a conflict there? Odd... Maybe a red herring.

I'll go now before you shout at me to stop! :-)

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 22:00:24 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4513308
By: donho

It seems that you fixed the crash issue on your latest update :
https://sourceforge.net/forum/message.php?msg_id=4513038

Could you confirm me that?
but sometimes when I catch it its in the unloading of GUI elements.
It crashes in which function exactly?

Don

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 22:17:11 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4513385
By: harrybharry

No as stated in the post, the crash actually came back again (jsut above the
active connection part).

I cant steadily reproduce the crash anymore, sometimes I open notepad and close
it immediatly and it crashes, sometimes I do the exact same and it doesnt. I
think it happens somewhere at the WM_DESTROY message, when I set a breakpoint
there the crash stops appearing. I think that it might be somehow thread related
(and unfortunatly FTP is full of them so that might be the cause) as setting
a breakpoint seems to avoid the crash because I think the thread is given more
time to do its thing. That might also be the reason Visual Studio put a break
in Notepad.cpp where it actually should be somewhere else.

That FTP issue seems very difficult. I am unable to recreate such behaviour
at my computer so that makes debugging very hard, but Im adding in more error
messages so maybe it can be caught. I also noticed a thread failed to start
with an errorcode that, I think, means there was not enough memory (maybe causing
other applications to crash/behave erroneously aswell). Please check memory
usage of notepad when running the plugin, and see what happens if you perform
certain actions.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-11 22:48:46 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4513426
By: harrybharry

Mark, could try to redownload
http://npp-plugins.cvs.sourceforge.net/*checkout*/npp-plugins/NppPlugins/FTP_syn
chronize/build/FTP_synchronize.dll
and see what happens?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-12 00:18:10 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4513511
By: donho

Harry,

Strangely, I can not reproduce the crash at all (With AMD 64 Dual core 2.21
Ghz + 2 GB memory + 32 bits vista).

The Plugin Manager of Notepad++ does 2 things essentially :
1. Load dlls after its launch.
2. Free dlls before it quits.

It means you should do all initialization on the DLL_PROCESS_ATTACH (that you
do it well) and all the clean up on the DLL_PROCESS_DETACH.

After a quick view Ftp_Synchronize source code, I can imagine such scenario :
- User clicks close button of Notepad++.
- Plugin Manager unloads each plugin, including Ftp_Synchronize.
- Ftp_Synchronize do a clean up without waiting all threads terminated.

so I have 2 suggestions :
1. First of all, remove all the cleanup (including "delete") in DLL_PROCESS_DETACH,
then see if the crash still happens.
2. Try to wait for all the thread terminates in DLL_PROCESS_DETACH by using
a Mutex.

Don


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-12 01:11:54 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4513569
By: harrybharry

I have removed every single plugin and used a fresh installation and still the
crash sometimes occurs. When I run the app from the debugger, the callstack
shows GDI32, kernel32 and gdi32 in that order, but nothing more (the actual
break has no sourcecode). When I run Win32DASM over GDI32.dll at the given address
at the stack, I see MultiByteToWideChar with reference to kernel32, so it seems
that some GDI function gets some ascii string which it wants to convert to unicode
(because its winXP) but it goes wrong somewhere? Do you know of any GDI function
that wants a string?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-12 09:54:35 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4514132
By: nobody

Remove FunctionList plugin and I think you should get rid of this issue. I remember
Don told me that it sometimes crash on shut down during it. Please tell me if
I am correct.

Best Regards
Jens

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-12 13:37:45 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4514434
By: harrybharry

Well, it seems it actually might have been FTP sync after all. I renamed the
plugin by appending another character after the extension (like .dlld), but
Notepad actually was still loading it (very strange and it applies too all plugins,
seems FindFirstFile isnt very accurate).
I havent seen the error for a while now though, so it might be fixed (added
more cleanup)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-12 14:19:10 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4514531
By: nobody

Hi!
I was happy when I noticed that there is a FTP plugin to work remote. My problem
is that I can not go up the tree to the root of the server if I don't want to
edit files only in my home directory.
Is there any possibility navigating up the tree or is the user limited to the
directory where you start and the directories under it?

Thanks!

Haefti

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-12 15:46:19 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4514680
By: harrybharry

I actually just changed that behaviour. Now there is an option for each profile
you can check so it creates subdirectories for the root. When you uncheck you
get the old behaviour.

The download is available from the npp-plugins project. Make sure you use the
correct version

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-12 16:19:48 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4514749
By: nobody

OK, today I checked a few things, not least pinging my ftp server. It was down!
So I tried an alternative address and lo and behold the plugin logs on and downloads
the contents of folder correctly without any delay etc. So most of the hassle
I reported yesterday looks like a fault on the ftp server - typical! I'm sorry
for that.

Both version 0.9.0.2 and 0.9.1.0 work OK but still cause a crash every time
I close NPP whether I use the plugin or not.

Generally the behaviour is so:
If I use the plug-in, login in (optionally get a file) and disconnect, NPP closes
but is still present in Task Manager for 10 seconds or more before it finally
closes. I usually don't always get an error dialog but once I had:

Application popup: notepad++.exe - Application Error : The instruction
at "0x77f87fc6" referenced memory at "0x00000008". The memory could not
be "written".

If I just open NPP and close it I get:
Application popup: notepad++.exe - Application Error : The instruction
at "0x01035345" referenced memory at "0x01035345". The memory could not be "read".
NPP closes instantly.

Hope that helps

Mark B


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-12 16:32:25 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4514780
By: harrybharry

Well, the biggest problem is is that I cannot seem to reproduce these errors
on my machine.
When notepad hangs it could mean the connection with the server keeps lingering.
Could you try to connect to some other servers and see what happens (for example,
the microsoft server).

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-12 16:38:52 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4514793
By: nobody

Same behaviour with ftp.microsoft.com. I disconnect before I close NPP and still
get the long delay before it closes. I usually see no error dialog so not sure
if it has really crashed to be honest.

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-12 17:52:10 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4514922
By: harrybharry

Could you sendm e a copy of your N++ isntallation with the plugin and everything
else? Considering it happens on all servers I think it must be some local issue.
You could also try to completely reinstall N++ perhaps?
Also, if you decrease the timeout of the server, connect and disconnect and
then exit, does that decrease the exit time of notepad?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-12 19:56:23 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4515294
By: nobody

nice job again, short delay :)
It would be nice to have the choice of the ftp directory in configuration connexion.
And maybe have an explorer view than a tree view (or to have the both it will
be better in 2 windows with a up-parent button)

nice job, all the best!

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-13 16:57:17 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4516949
By: nobody

After a little experimenting, the delay in NPP finally closing and removing
itself from the Task Manager process list is exactly the Timeout value.
I connect, look at a file, close it, and disconnect. It confirms it has disconnected
and no folders are shown before I close NPP.

Mark B


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-13 18:38:15 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4517105
By: nobody

N++ installation sent in email at 19:37.

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-13 18:47:13 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4517113
By: harrybharry

Could you try this version?
http://npp-plugins.cvs.sourceforge.net/*checkout*/npp-plugins/NppPlugins/FTP_syn
chronize/build/FTP_synchronize.dll
and see if it still hangs? It shouldn't tho =]

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-14 17:22:54 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4518730
By: harrybharry

For the initial directory option, please download the latest CVS version here
http://npp-plugins.cvs.sourceforge.net/*checkout*/npp-plugins/NppPlugins/FTP_syn
chronize/build/FTP_synchronize.dll

As for the crashes: still nothing on my own system, but because its so random
I think it may be the message thread. Ill see if I can change that so its not
threaded anymore. Ill also see if I can cleanup the cleanup ;)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-14 15:37:01 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4518582
By: nobody

No hang! But I do get a crash when N++ closed (not every time).
Application popup: notepad++.exe - Application Error : The instruction
at "0x77f87eeb" referenced memory at "0x00000014". The memory could not
be "read".

Application popup: notepad++.exe - Application Error : The instruction
at "0x0103545f" referenced memory at "0x0103545f". The memory could not
be "read".

This is after a FTP server connect and disconnect.

If I just open N++ and close it I still get a crash every time:
Application popup: notepad++.exe - Application Error : The instruction
at "0x010353d8" referenced memory at "0x010353d8". The memory could not
be "read".

If I disable all other plug-ins I still get the crash but not every time.

Getting there ;-)

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-15 13:35:54 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4519952
By: nobody

Thanks for new version. Tried plug-in on XP Home based laptop and no crashes.
So possibly some Win2K issue?

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-15 20:42:26 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4520282
By: nobody

I know this is hard, my server is behind a firewall and I am behind another
firewall.
I connect to server, but I can't get folder contents.

Here are the logs:
Response (220): ProFTPD 1.3.0 Server (Expromo FTP Server) [192.168.1.23]
-> USER versus
Response (331): Password required for versus.
-> PASS ***
Response (230): User versus logged in.
-> SYST
Response (215): UNIX Type: L8
-> PWD
Response (257): "/" is current directory.
-> PWD
Response (257): "/" is current directory.
-> CWD /
Response (250): CWD command successful
-> PASV
Response (227): Entering Passive Mode (192,168,1,23,78,43).

And that's it. Silence.
The situation is tricky. MSIE can not connect to the FTP server too, but ZEND
Studio does.

I would highly appreciate any comments or help.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-15 21:08:04 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4520305
By: nobody

Just noticed that one more PHP editing tool is able to connect to my server
without any problem:
HTML-Kit

If a developer is interested, I might provide an access to my FTP for testing
purposes.
E-mail to beliakov(at)expromo.lv

Brgds,
Dmitrii

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-16 22:28:30 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4521347
By: harrybharry

Have you tried active mode connection? You seem to be behind NAT and some routers
do support active FTP connections, maybe thats why the other tools work. The
plugin relies on Winsock to do the connection so it should be the same on all
programs, unless they use some tricks.

If active doesnt work either, i'd be interested for a testing account. It'll
help development too a little, as I can get better compatibility if I can test
on more servers.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-17 19:54:12 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4522869
By: harrybharry

Released a new package for those interested (0.9.1.2). You can now fill in the
password on connect, and passwords are hidden, along with some other minor
bugfixes.

Also, a FTP_synchronize forum exists in the npp-plugins project on SourceForge.
If you have a new issue or something else to tell you can use that forum too,
to avoid clutter here.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-18 17:00:11 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4524915
By: nobody

Thanks Harry
I still get crashes. If I just open N++ and close immediately I don't get a
crash. But if I open a file or use the plug in then it crashes.

Can't logon to my FTP servers with this version but I can with previous one.
I get:

Multiline Response (220): PLEASE NOTE: If you have a non-subscription account
you
Multiline Response (220): will only be able to login to this ftp server if you
are
Multiline Response (220): dialled into our network.
Multiline Response (220):
Multiline Response (220): A Maximum of 4 concurrent connections are allowed
to this
Multiline Response (220): server, each session is limited to 64KB/s downloads
and
Multiline Response (220): 32KB/s uploads.
Response (220): Freeonline FTP Server #5 ready
-> USER myusername
Response (331): Password required for myusername.
->PASS *HIDDEN*
Response (530): Login incorrect.
-> QUIT
Response (221): Goodbye.

Message window "Select All" now works.

Mark B


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-18 20:31:38 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4525363
By: harrybharry

You have to reenter your password. Someone asked to make them less obvious so
they're made a bit unreadable now. Just go to options and reenter.
I think the crashes are a bit OS specific. Im doing something that Windows XP
seems to accept most of the time, but other OS'es dont. Ill see if I can get
another OS to test on.

ANd yeah, I fixed the selectall, was some focus issue ;).

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-18 22:25:34 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4525531
By: harrybharry

I may (stress may) have a solution for the crash. This gets technical, so you
may want to skip ahead =]. On uninitialisation, the thread responsible for displaying
all the text output stops and starts deleting memory. However, the DllMain function
that makes the thread stop did not wait for this to finish (for some reason
I got timeouts waiting for the thread). In some cases, the thread would end
before Notepad++ main process exits, but after FreeLibrary returns (called when
notepad closes and stops the plugins). The address space (if that says anything)
of the DLL would become invalid (I think) so all memory operations of the DLL
would give an error, thus the crash. If Notepad closes faster so the thread
has actually no time to do the memory operations, Windows would clean everything
up and everything would be sunshine and green hills :) (btw I tested this by
addign a sleep after the freelibrary in Notepad++ to enforce a delay).

I uploaded a testversion that waits for the thread to stop, could you please
test it out, its here:

http://npp-plugins.cvs.sourceforge.net/*checkout*/npp-plugins/NppPlugins/FTP_syn
chronize/build/FTP_synchronize.dll?revision=1.16

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-18 23:20:46 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4525585
By: donho

Notepad++ call FreeLibrary() to release the loaded plugins, at that moment,
you should do the clean up in the dllmain().
The problem, IMO, is there'are still undead threads even after the clean up,
that causes the crash.

If you can terminate all the threads (by using the Mutex) before you clean up,
then I think the crash problem will be cured.

Don

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-19 16:34:07 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4526823
By: nobody

Hurrah! So far no crashes at all whatever I do, using the plug-in or not, logging
on, editing files, all other plug-ins loaded - all OK so far.

I knew if I kept nagging you'd get there in the end :-))

Well done Harry

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-19 19:47:36 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4527138
By: aingworth

FTP Fas to Connect
OK - I know this sounds crazy but...
I can connect to FTPservA from NPP and all works fine.
I can connect to FTPservB from a Win XP Pro Command Prompt using "ftp
FTPservB".
But from NPP, I don't even see any responses from FTPservB. (No Connection is
made at all)
I suspect something something differs btwn FTPservA & FTPservB. Most obvious
is that they reside on different subnets, but when Win ftp works, I think just
about any ftp should work. Maybe you can help me by explaining how the NPP ftp
differs from the Win ftp - if at all?

I really love this plug-in!!!

Ask for Password
Two things here:
1. Should focus automatically be moved to the prompt dialogue box?
2. I do not get a remote dir display when I enter the password.

I don't normally use this feature, but thought I would try it for the connect
problem.

Thanks
Brian

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-19 21:17:07 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4527377
By: harrybharry

Well the main connection itself should be exactly the same. Only one port is
opened for the control connection (thats the main connection) directly with
the server (that is, if no NAT is being used, if so than it still should work),
I believe that most FTP applications do this. Is there any response from the
server at all? What does the messagelog display? If it shows nothing, could
you give me the address of the FTP server, no username or password is needed,
jsut to check the connection. If its private then ofcourse I'd have to figure
something else out ;).

As for the password thing, do you mean the focus should go to the edit box?
I personally think so aswell, hadn't noticed it yet.
I do see the password gets send incorrectly, I'll go fix that

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-19 22:58:15 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4527534
By: aingworth

Thanks,
For the "Ask for Password", could you check if the FTP Folders pane is populated
with the a directory structure after entering the password? Mine does not display
any folders at all.

For the FTP Fails to Connect: There is no response indicating that the host
was never connected to, yet from Win Cmd Prompt I can ping, telnet, and ftp
to this same host. That's why I am having trouble figuring this out. If Win
ftp failed then I would be looking at other causes. What ftp command does the
plug-in use?
Thanks,
Brian

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-19 23:14:04 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4527773
By: harrybharry

Could you enable the messages dialog and posts its contents after connecting
(or attempting to). Also, in the bottom of the pane should be the last thing
that happened, such as "Connecting" or "Could not login to server".
The reason the pane stays empty is because there is no FTP connection (or not
a valid one atleast) and so there are no directories to list. The ask for password
now works for the servers I use.
The plugin waits for a 220 response from the server after connecting, then sends
the USER and PASS commands and wait for an additional 230 to verify it has been
connected (with an 331 in between if a password is actually needed, but most
servers ask for it at all times I think)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-20 15:34:07 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4528888
By: nobody

I've had a few crashes again with 0.9.2 released today when closing N++ which
I didn't get with 0.9.1.2 (released above).

Not easy to duplicate, it has become intermittent.

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-20 16:17:18 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4528973
By: aingworth

Wow!
I installed the latest and after re-entering the PWs all works fine.
Not sure excactly what I was doing wrong, but I think some of my wounds were
self-inflicted :-o!!!

Good fix on the "Ask for Password" focus request!!!

Thanks
Brian




______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-20 18:18:24 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4529147
By: harrybharry

Well, back to the drawing board I guess. Does this only happen if you connect
or does it happen when you do nothing?
Such a shame, thought I nailed that bug.

Typical, your post seems a bit out of order (timestamp wise)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-20 19:00:01 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4529201
By: nobody

You have nailed it in 0.9.1.2 - I've had NO crashes with that at all, I'm currently
using it as it is so stable! So you did something in 0.9.2 to undo it??

Doesn't always crash, mostly it is OK. I can open N++ and close again OK. If
I open N++ and change from Favorites tab to Explorer tab I can get a crash.
Open up N++ with the new Explorer version tab on top and it crashes every time.
Entirely repeatable. Change back to Favorites tab and it doesn't crash.

Logging on to my server is all OK and fast. Close N++ with the FTP_synchronise
tab on top and NO crash. (I have moved FTP_Synchronise from the right over to
the left to join Explorer and Favorites, hence use of tabs.)

Hope that helps

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-20 20:24:50 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4529313
By: harrybharry

I suppose with crash you mean crash on exit in all cases? I tried to reproduce
it, but, you can guess it, nothing. 'Clean' exit. Moved FTP tab to the left,
opened favorites, opened explorer, nothing. However, after very quickly and
repeaditly opening en closing notepad I did get that crash again so it is still
there, somewhere.

The only thing that changed from 9.1.2 to 9.2.0 is the fix for the passwords
dialog, doesnt really sound like anything that changes this behaviour.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-22 13:04:34 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4531964
By: nobody
Post by SourceForge.net
I suppose with crash you mean crash on exit in all cases?
Yes.
0.9.1.2 was crashing more often yesterday. I had a crash out-of-the-blue (no
crashes for maybe 20-30 uses before) then (and I've seen this before) it crashed
every time after that for the rest of the evening. It's almost as though something
gets corrupted in memory/on disk (an ini file?) and it crashes until it is cleared
somehow.

Today is OK so far. At least it is much more intermittent now and not every
time.
Did you follow up Don's comments on 2007-09-18 16:20?

all the best

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-22 13:20:10 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4531980
By: nobody

Is there any way you could write me a plug-in with debugging info in it to give
you an idea whereabouts it is crashing?

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-22 14:33:11 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4532052
By: nobody

Well, there are builds with debug symbols in the CVS, so you can check that
out (same files but with _D appended in their name). Dons reply was just what
I did in the post above so that didnt really do anything ;). However, I've noticed
some strange behaviour in Win98 when exiting with some connection still open,
so I got to check that out sometime.
The only thing stored is in the ini file (not much of anything that can cause
these crashes imo) and in config.xml to store the docking information (not a
very likely candidate aswell).

Also, what system are you running on? Maybe that can lead to something

Harry

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-22 18:30:55 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4532261
By: nobody

System is Win2K, SP4 Athlon Dual-Core Opteron 185, SCSI main drive.

I'll have a look at the debug versions, see if they reveal anything.

Mark B



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-23 15:27:30 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4532909
By: nobody

Hey Harry this is the plug in that will make everyone a NPP++ user for everything,
good job! Now can we have the source so we can help fix/add bugs/features?
SVN/CVS?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-23 19:16:43 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4533093
By: harrybharry

The source has been available for quite some time, its at the npp-plugins project
CVS, you can check it out if you wish, if you find that crash on exit, let me
know (that kind of priority no1).

I dont see why your system would behave differently from mine Mark, so I guess
its something else (apart from the Win2K instead of my XP Pro, although I dont
think they behave much differently).
I think of adding some try catches at some key locations see if that results
in anything

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-25 15:57:36 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4536851
By: nobody
Post by SourceForge.net
I dont see why your system would behave differently from mine Mark,
When I was testing the "Search In Files" plugin we discovered behaviour on my
system not seen on my XP laptop, so who knows?
Post by SourceForge.net
I think of adding some try catches at some key locations see if that results
in anything
Please do that.

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-26 20:08:40 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4538945
By: harrybharry

Well, I tried some exception handling but that didnt get me far (ie no errors
for me and forced errors would give me other messages such as access violation
instead of that annoying one you get. I'm really bad at debuggin this kind of
thing so if anyone has any ideas please dont hesitate to share them). But,
considering you can get it to crash once and then again repeaditly (with some
'luck'), maybe it is some notepad setting. I believe you tried emailing some
files some time ago but I actually never recieved it. Could you see if you can
get such a crashing setup again, compress as files and send them (with the exception
of private information ;)) so I can see if its reproducable on my machine?

I did fix an issue where the app would hang when exiting on windows 98, but
that was only when you exited with a live connection. Still, maybe its worth
to try the latest CVS version?
http://npp-plugins.cvs.sourceforge.net/npp-plugins/NppPlugins/FTP_synchronize/bu
ild/

Oh and I'm working on drag and drop with the windows explorer, hopefully that
works out, might be a nice addition.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-26 23:41:03 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4539192
By: harrybharry

Been fiddling with Drag n Drop and hit some problem.

Don Ho, if you're reading this, do you know of any way so my docked dialog can
work with DnD without the WM_DROPFILES interfering? If I drag a file to a section
of my dialog that does not accept files (for instance dragging a file on a FTP
file, thats not allowed, only folders), The cursor gets the copy icon and the
file is opened in Notepad++. If my window does accept the file, its properly
handled and notepad does nothing.

If I disable Notepads DnD ( DragAcceptFiles(nppData._nppHandle, FALSE) ) everything
works as it should for me, but then you cannot, obviously, open any file by
dragging it onto notepad. Maybe by using IDropTarget OLE system instead and
when telling windows if DnD is supported, say no on a dockable dialog and let
the dialog itself take care of it? I tried doing so from within the plugin and
it worked, so I reckon it should work too when done in Notepad itself. It probably
is alot of work though so I guess my request is kind of a longshot but im going
to try anyway;)

Maybe its easiest if you would create one IDropTarget object, have it call one
main function to test if DnD should be done by notepad++ and perform the register
for each window with that targetobject inside the base window class (I suppose
most notepad++ windows are derived from a base?). Send To should still function
if im correct, the only way I got it to work was by creatign a shortcut and
that just works as opening a new instance of Notepad++ with a filepath, so DnD
has no effect on it.

WM_DROPFILES is old anyway ;)

-Harry

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-27 18:39:17 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4540662
By: m-a-r-k

Hi Harry

Latest version above behaves much the same. I'm having problems opening folders
(sometimes even the root folder) when connected to my web site. It says "Getting
directory contents" and message window is sitting on:
Response (200): Type set to A
-> LIST
Response (150): Opening ASCII mode data connection for file list

Click on root folder again and subfolders appear, click on them and nothing
happens however many times I try. If I click to disconnect I get a "Disconnect
problem" and no messages.

I can do that without any problem with version 0.9.1.2 created 18 September
2007 19:54:50. Works perfectly.

I can get crashes if I make the Explorer tab on top and close N++ but not always,
some improvement as before it did it every time.

So generally on the crash issue more stable than version 0.9.2.0 created 21
September 2007 16:14:12 but not as good as 0.9.1.2 although here I can get crashes
if I connect, get a file, disconnect and close N++. Again not always.

Not much use to you I know, it is so unpredictable now. The main issue is that
it doesn't work now :-(
So still using 0.9.1.2.

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-28 17:12:04 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4542301
By: harrybharry

Hmm now theres something I might be able to fix. Seems the socket was taking
very long to connect ot the server (probably on the verge of a timeout) and
you then tried to disconnect. When I emulate this I get the exact same behaviour.
Its very bad and I'll see what I can do about it to fix it (the socket connection
is one of the few things I hadn't taken control over so it was all up to winsock
to do the timeout, and that can take very long.

You might try using active mode instead. Not sure if your server is behind some
NAT or a firewall, but active turns everything around making you the server.
There is a bug where the mode doesnt get saved properly (more specific: it gets
saved, but not loaded) so you have to change it while the plugin runs, as long
as you dont quit N++ its all fine. CVS has a fixed version, you'll probably
know by now how to reach it ;)

Oh and you can try drag and drop if you wish (into folders that is). Notepad
kind of bugs it by opening the file aswell, not much I can do about it but disable
N++ drag and drop completely, and thats not a good thing to do ;)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-29 14:08:40 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4543789
By: harrybharry

New CVS version. DUnno if you downlaoded the one of the previous post but it
had a broken Passive mode. I also tried to stabilise the disconnect when doing
something so that shouldn't crash that bad anymore. See if its a bit more
stable.

I jsut noticed CVS wasnt updating the builds after revision 1.18 for some reason.
I hope I fixed this, get it here
http://npp-plugins.cvs.sourceforge.net/npp-plugins/NppPlugins/FTP_synchronize/bu
ild/

I probably introduced a ton of new bugs, see what it does ;)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-29 15:19:57 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4543839
By: m-a-r-k

v0.9.2.1 Time Stamp 29 September 2007 15:11:17 CVS v1.19

Got "Could not log in to Server" at first. Tried resetting ini file and starting
again and seems you've changed the password storage algorithm?

Operation is same as before, when I try to log in I can't open root folder.
"Getting directory contents" and message window says:

Connecting to ftp.free-online.net
Established connection with ftp.free-online.net
Multiline Response (220): PLEASE NOTE: If you have a non-subscription account
you
Multiline Response (220): will only be able to login to this ftp server if you
are
Multiline Response (220): dialled into our network.
Multiline Response (220):
Multiline Response (220): A Maximum of 4 concurrent connections are allowed
to this
Multiline Response (220): server, each session is limited to 64KB/s downloads
and
Multiline Response (220): 32KB/s uploads.
Response (220): Freeonline FTP Server #1 ready
-> USER myusername
Response (331): Password required for myusername.
->PASS *HIDDEN*
Response (230): User myusername logged in.
-> SYST
Response (215): UNIX Type: L8
-> PWD
Response (257): "/" is current directory.
-> PWD
Response (257): "/" is current directory.
-> CWD /
Response (250): CWD command successful
-> PORT 192,168,1,2,7,155
Response (200): PORT command successful
-> TYPE A
Response (200): Type set to A
-> LIST
Response (150): Opening ASCII mode data connection for file list

and it sits there and I get bored :-)

When I try to quit message window says
-> QUIT
but nothing happens. I often get a crash when closing N++ when this happens.

Once I had: "Directory Operation Failed" when trying to open root folder.
Message window says:

Connecting to ftp2.free-online.net
Established connection with ftp2.free-online.net
Multiline Response (220): PLEASE NOTE: If you have a non-subscription account
you
Multiline Response (220): will only be able to login to this ftp server if you
are
Multiline Response (220): dialled into our network.
Multiline Response (220):
Multiline Response (220): A Maximum of 4 concurrent connections are allowed
to this
Multiline Response (220): server, each session is limited to 64KB/s downloads
and
Multiline Response (220): 32KB/s uploads.
Response (220): Freeonline FTP2 Server #2 ready
-> USER myusername
Response (331): Password required for myusername.
->PASS *HIDDEN*
Response (230): User myusername logged in.
-> SYST
Response (215): UNIX Type: L8
-> PWD
Response (257): "/" is current directory.
-> PWD
Response (257): "/" is current directory.
-> CWD /
Response (250): CWD command successful
-> PASV
Response (227): Entering Passive Mode (84,92,0,102,167,154).
Unable to establish a passive connection with the server


If I change settings to Active mode (setting seems to be saved between sessions
at least in dialog), I get the same. My firewall picks up the connections and
TCP ports being opened which I sanction.

So active mode no better here.

On plus side crashes seem far less!

Logging in in passive mode using other software is OK. Using v0.9.1.2 is OK.

If I try ftp.microsoft.com passive mode works OK and I can get folder contents
and download files into N++. So it looks like some peculiarity with my ftp server.
BUT, 0.9.1.2 works OK so something has changed here.

As an aside, is there any chance of displaying full file details such as file
length, date stamp etc? It's not urgent but on some sites it would be nice to
know if I'm downloading a 2K file or a 2GB file :-)

Can't test drag and drop as I can't see folders to drag into :-)

cheers

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-29 19:13:58 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4544045
By: nobody

-> PORT 192,168,1,2,7,155

are you sure your NAT supports active FTP connections? Passive mode was created
just for this, but it could very well be the plgin considering other applications
work. I just dont get why it would fail just on opening a connection, its more
or less a standard procedure.

The password algorithm was indeed changed, the previous one was broken (uneven
length passwords were not saved correctly). The file do have a properties item
in the contextmenu but currently it only shows permissions in UNIX filelistings,
but I could jsut as well give the entire line, maybe ill make that more fancy
but right now I want to get those crashes gone, current behaviour on your system
(and maybe on others too) is highly unstable.

Ill add some code displaying where during passive connection it goes wrong,
maybe not much use to you but some for me ;). The active mode hasnt been changed
since last time so it doesnt have the timeout detection passive mode has, ill
try to change that.

What happens if you turn of your firewall if possible? Although you authorise
the plugin maybe something else gets in the way? DMZ in your NAT?

-Harry

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-09-29 19:32:48 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4544059
By: nobody

Uploaded a new CVS version. Added some text messages to help pin down the issue.
SourceForge.net
2007-09-30 14:27:20 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4544636
By: m-a-r-k

I don't have any problems with passive or active FTP connections with other
FTP software and v0.9.1.2.
I have a firewall in my router and a software one (Comodo). The router firewall
is strictly stateful inspection and there are no rules to stand in the way.
The Comodo firewall asks me for permission for N++ to act as a server and listen
and receive on certain TCP ports which I grant. With passive mode, of course,
my normal rules to allow any TCP out connection is all that is required (and
UDP port 53).

Turned off firewall, still can't get folder details in passive or active mode.
No, I'm convinced it's not the firewalls.

Understand about the folder details and wanting to get to the bottom of the
crashes etc. It would be a nice addition some time, no hurry.

I'm having problems connecting to the CVS folder to get the new build at the
moment. Can't get onto http://npp-plugins.cvs.sourceforge.net.
I'll get back to you when I get the new version.

One thing I do like is that there are far less crashes when I close N++. Don't
know what you did but it is better in that respect.

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-01 15:59:02 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4546062
By: m-a-r-k

Can any one else access http://npp-plugins.cvs.sourceforge.net? In IE and FF
I get server taking too long to respond.


Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-01 18:02:28 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4546237
By: harrybharry

Hmm, well since last uplaod I am unable to reach it aswell, seems we need some
SourceForge staff here, other CVS'es work just fine

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-01 22:35:44 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4546621
By: donho

It seems there's serious problem of cvs service for Npp-plugins project.
I just tried the cvs browsing pages of the other projects without any problem.

Don

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-02 08:29:42 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4547764
By: harrybharry

Seems to be fixed now, I can enter the CVS again. Maybe one of the mirrors of
SourceForge went bad, it probably ran FTP_sync ;)

Build can be reached again at
http://npp-plugins.cvs.sourceforge.net/npp-plugins/NppPlugins/FTP_synchronize/bu
ild/



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-02 15:50:48 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4548391
By: m-a-r-k

OK got your revision 1.21 v0.9.2.1 Time stamp 02 October 2007 16:27:17.

Passive mode - Connected to my server OK but still won't show folder contents,
exactly the same as before, same messages.
Disconnects OK now even when it can't show contents.

Active mode - turned off firewall, logged on and got your message dialog "Waiting
for incoming connection". Dismiss dialog and still no contents are shown on
root folder when I click on the + sign or folder. "Getting directory contents"
displayed and message window has this:

Connecting to ftp.free-online.net
Established connection with ftp.free-online.net
Multiline Response (220): PLEASE NOTE: If you have a non-subscription account
you
Multiline Response (220): will only be able to login to this ftp server if you
are
Multiline Response (220): dialled into our network.
Multiline Response (220):
Multiline Response (220): A Maximum of 4 concurrent connections are allowed
to this
Multiline Response (220): server, each session is limited to 64KB/s downloads
and
Multiline Response (220): 32KB/s uploads.
Response (220): Freeonline FTP Server #4 ready
-> USER myusername
Response (331): Password required for myusername.
->PASS *HIDDEN*
Response (230): User myusername logged in.
-> SYST
Response (215): UNIX Type: L8
-> PWD
Response (257): "/" is current directory.
-> PWD
Response (257): "/" is current directory.
-> CWD /
Response (250): CWD command successful
-> PORT 192,168,1,2,4,235
Response (200): PORT command successful
-> TYPE A
Listening for server on active connection
Response (200): Type set to A
-> LIST
Done listening
Response (150): Opening ASCII mode data connection for file list
Initiating phase 2 of active connection

and sits there...

For both passive and active modes it eventually times out as I get "Unexpected
Disconnect" and folder window contents go blank. Nothing in message window.
It took far longer than the 30s set.

Crashes on a par with previous rev 1.19, good. Just one crash when closing N++
whilst still connected and trying to get folder contents.

Mark B


______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-02 18:24:25 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4548640
By: harrybharry

Well considering it takes longer than the 30 seconds, I think its some kind
of deadlock. Some people are getting poor transfer performance indicating the
application is hanging somewhere. All of the threadlocks wait 5 seconds before
timing out, with the exception of the waiting for responses (user timeout) and
the transfers (infinite timeout). Since all timeouts are passed, I think you
got at the infinite timeout. Somewhere this is good, it means a connection is
established. But it seems to stop responding on the data being transferred and
locks, never being able to return again. I'll see if I can find any condition
that may cause this issue.
I know this is a very long shot, but are you able to create a dummy test account
so I can try it myself? It might help.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-02 23:34:54 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4549361
By: harrybharry

Just uplaoded a version with a timeoutcheck on transfers. If it fires you know
where the problem is located (still doesnt fix any bugs probably, but ok). Also
fixed some sync problems when disconnecting, disconnect while tranferring or
not should now be safer and cleaner.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 16:47:31 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550500
By: harrybharry

Dumped a new version at
http://npp-plugins.cvs.sourceforge.net/npp-plugins/NppPlugins/FTP_synchronize/bu
ild/
hopefully fixing some lockups etc, please try that out.
The reason lockups didnt happen in the older version is because I added in more
synchronisation to allow unexpected events to be handled more cleanly. Probably
screwed it up so it locked up. Hope this one doesnt ;)

Harry

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 16:55:28 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550504
By: m-a-r-k

CVS rev 1.24

Same symptoms of course. Hanging at "Getting directory contents"

Connecting to ftp.free-online.net
Established connection with ftp.free-online.net
Multiline Response (220): PLEASE NOTE: If you have a non-subscription account
you
Multiline Response (220): will only be able to login to this ftp server if you
are
Multiline Response (220): dialled into our network.
Multiline Response (220):
Multiline Response (220): A Maximum of 4 concurrent connections are allowed
to this
Multiline Response (220): server, each session is limited to 64KB/s downloads
and
Multiline Response (220): 32KB/s uploads.
Response (220): Freeonline FTP Server #4 ready
-> USER myusername
Response (331): Password required for myusername.
->PASS *HIDDEN*
Response (230): User myusername logged in.
-> SYST
Response (215): UNIX Type: L8
-> PWD
Response (257): "/" is current directory.

I hit + symbol to open root folder:

-> PWD
Response (257): "/" is current directory.
-> CWD /
Response (250): CWD command successful
-> PASV
Response (227): Entering Passive Mode (212,159,9,130,167,112)
-> TYPE A
Response (200): Type set to A
-> LIST
Response (150): Opening ASCII mode data connection for file list
watchdog dies

The last line is displayed instantly - and sits there until it times out "Unexpected
Disconnect" after about 5 minutes. No other messages appear.


The ftp server is my ISP's where I have my web site so can't set up an account.
I've asked them if a guest account is possible, anonymous access just to test.

Can I gently remind you once again that v0.9.1.2 does access the web space fine
and display contents etc. There's got to be something there that changed.

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 18:26:02 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550632
By: harrybharry

The unexpected disconnect it probably the server kicking the idling client.
watchdog is the thread responsible for monitoring datatraffick to detect timeouts.
When it dies it means the contents have been recieved. For some reason the plugin
hangs when it waits for an reply from the server, which probably is being send
but not read. Guess I got to look into it more. Just so difficult when it doesnt
happen at home ;)

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 18:30:21 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550635
By: harrybharry

Lets hope we get aorund this bug at post 100 :)

I uploaded a version with an hack to check if it is what I think it is:) After
5 seconds it should continue processing. Probably with some issues but it shouldnt
lock.
At the regular CVS place

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 19:07:07 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550681
By: m-a-r-k

CVS 1.26

Connecting to ftp.free-online.net
Established connection with ftp.free-online.net
Multiline Response (220): PLEASE NOTE: If you have a non-subscription account
you
Multiline Response (220): will only be able to login to this ftp server if you
are
Multiline Response (220): dialled into our network.
Multiline Response (220):
Multiline Response (220): A Maximum of 4 concurrent connections are allowed
to this
Multiline Response (220): server, each session is limited to 64KB/s downloads
and
Multiline Response (220): 32KB/s uploads.
Response (220): Freeonline FTP Server #4 ready
-> USER myusername
Response (331): Password required for myusername.
->PASS *HIDDEN*
Response (230): User myusername logged in.
-> SYST
Response (215): UNIX Type: L8
-> PWD
Response (257): "/" is current directory.

Hit + sign to open root: "Getting Directory contents" displayed

-> PWD
Response (257): "/" is current directory.
-> CWD /
Response (250): CWD command successful
-> PASV
Response (227): Entering Passive Mode (212,159,9,130,158,90)
-> TYPE A
Response (200): Type set to A
-> LIST
Response (150): Opening ASCII mode data connection for file list
Killing watchdog
Killed watchdog
watchdog dies

Nothing and "Directory operation failed".

So just for the hell of it I hit the + again and the subfolders showed! Nothing
in message window.

Hit a + on a subfolder and get ->PWD in message window but again no contents.
+ symbol disappears when I refresh the N++ window (to go to here to type this
then back again). Happens again on another subfolder. Still no contents.

Then Unexpected Disconnect.
If I do it again and try to Disconnect I get your message dialog: Timeout when
waiting for noMoreBusyEvent on disconnect. It doesn't disconnect. Try again
and it does disconnect - Disconnected displayed and folder contents disappear
as expected.


When I tried anonymous connection to ftp.microsoft.com got:
Connecting to ftp.microsoft.com
Established connection with ftp.microsoft.com
Response (220): Microsoft FTP Service
-> USER anonymous
Response (331): Anonymous access allowed, send identity (e-mail name) as
password.
->PASS *HIDDEN*
Multiline Response (230): Welcome to FTP.MICROSOFT.COM. Also visit
http://www.microsoft.com/downloads.
Response (230): User anonymous logged in.
-> SYST
Response (215): Windows_NT
-> PWD
Response (257): "/" is current directory.

Hit root folder:

-> PWD
Response (257): "/" is current directory.
-> CWD /
Response (250): CWD command successful.
-> PASV
Response (227): Entering Passive Mode (207,46,236,102,214,61).
Error when connecting: 10060
Unable to establish a passive connection with the server

No folder contents and Disconnecting works.

Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 19:35:47 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550726
By: m-a-r-k

ISP reports no dummy test account or anonymous access :-((

Tried changing root folder to one of the subfolders /htdocs. This folder is
show immediately - OK.

Hit + symbol to open and the same "Directory operation failed". Hit + again
and folders show. But can't open any other subfolders nor download a file into
N++. Message window just displays ->PWD.


Mark B

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781
SourceForge.net
2007-10-03 19:41:19 UTC
Permalink
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4550736
By: nyxone

Hi,

i'd like to know if you plan to have a "keep alive" option for your pluggin
? I always get disconnected automatically after a short while without upload/download
forcing me to re-connect everytime ...

BTW, thanks for your work on this pluggin!!!

Charles D.



______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=482781

Loading...