You are here: PSPad forum > Developer forum - new builds > PSPad unicode 4.5.8 (2485) English

PSPad unicode 4.5.8 (2485) English

Goto Page: 1 2 3 4 5 Next

#1 PSPad unicode 4.5.8 (2485) English

Posted by: pspad | Date: 2014-06-23 20:36 | IP: IP Logged

Download links (2.7 MB):
code.fosshub.com
pspad.poradna.net

This archive contains modified files only. The correct way how to get full functionality:
1. Download and install latest full version
2. Replace existing files with content of archive

Tip: If you want to speed up start and you don't use FTPS connection, delete files libssl32.dll and libeay32.dll in the root of PSPad.

Changes to 4.5.8 (2482)

News
Implemented file locking system. In the Program settings / Tools you can choose between locking using R/O attribute or lock file.
FTP - implemented MLSD command support (new file list command). If command isn't supported by FTP server, PSPad will use LIST command instead automaticaly.

Fixes:
FTP - folder '.' was removed for MLSD listing
FTP - CHMOD form is prefilled with current file attribute for MLSD file listing
FTP - fixed file sorting for date on Windows 8 and Windows 2012 server and higher
File locking - fixed problem with LCK file method

Options: Reply | Quote | Up ^


#2 Re: PSPad unicode 4.5.8 (2485) English

Posted by: PGomersall | Date: 2014-06-24 04:10 | IP: IP Logged

Jan,
Still problems with file locking.
W8.1.1 x64 Ent.
Set PSPad to lock file method. Open file in PSPad (lock file now created) then open file in Notepad and make changes in Notepad and save. Go back to PSPad; PSPad recognizes changes. Note this is by same user.
Now same happens with R\O method. With both methods no dialog is raised to say file is locked for editing. So as far as I can see no actual locking takes place.
Lastly UI "Apply" button never becomes active if you change this setting.
Pete

Options: Reply | Quote | Up ^


#3 Re: PSPad unicode 4.5.8 (2485) English

Posted by: pspad | Date: 2014-06-24 07:12 | IP: IP Logged

Hello

I don't understand. You are the one, who editing the file - you lock it. Nobody else shoudn't edit it.
If file is changed, PSPad will tell you it and allows you to reload it. You are the one who edits file, so there is no information about file is locked.

External programs don't know nothing about LCK files. You can use R/O attribute method, if you want to edit file in different editors.

Options: Reply | Quote | Up ^


#4 Re: PSPad unicode 4.5.8 (2485) English

Posted by: hhoefling | Date: 2014-06-24 08:24 | IP: IP Logged

Quote:
Fixes:
FTP - folder '.' was removed for MLSD listing

On MLSD Listing,
You have now removed "." AND ".." Elems.
There is no way to go one level up
yawning smileyyawning smiley

--
by HH

Edited 1 time(s). Last edit at 2014-06-24 08:25 by hhoefling.

Options: Reply | Quote | Up ^


#5 Re: PSPad unicode 4.5.8 (2485) English

Posted by: pspad | Date: 2014-06-24 09:08 | IP: IP Logged

Switch it temporary to old list.
It will depends of the server. My FTP returns '.' and '..' in MLSD list. It looks like your FTP server doesn't return it in listing.
Open FTP log and press LIST button. You will see RAW file list output

Options: Reply | Quote | Up ^


#6 Re: PSPad unicode 4.5.8 (2485) English

Posted by: hhoefling | Date: 2014-06-24 11:58 | IP: IP Logged

No, it returns the lines.

I have seen the "." and 2 ".." befor.
you remmber.

--
by HH

Options: Reply | Quote | Up ^


#7 Re: PSPad unicode 4.5.8 (2485) English

Posted by: PGomersall | Date: 2014-06-24 14:42 | IP: IP Logged

pspad:
Hello

I don't understand. You are the one, who editing the file - you lock it. Nobody else shoudn't edit it.
If file is changed, PSPad will tell you it and allows you to reload it. You are the one who edits file, so there is no information about file is locked.

External programs don't know nothing about LCK files. You can use R/O attribute method, if you want to edit file in different editors.

Jan,
Shouldn't this work regardless of who opens the file in another application?
Just did more tests with another user on another machine opening the locked file - no warnings that the file is open and read only and none again when file saved. However reopening the file shows nothing was saved. This feature just doesn't work properly.
Pete

Options: Reply | Quote | Up ^


#8 Re: PSPad unicode 4.5.8 (2485) English

Posted by: pspad | Date: 2014-06-24 17:14 | IP: IP Logged

LCK file is create d by PSPad. If you want to edito your file outside PSPad, you can't use this method. No other application recognize LCK file meaning.

How it should work:
User 1 opens the file.txt, lock file file.txt.lck is created
User 2 opens file.txt and he gets information the file is edited by User1. He can see the content. but he can't modify file, cause file is open as ReadOnly.

If user 1 reopen file he don't get any information, cause he doesn't need it. He still edits the file. In the moment he closes the file, file.txt.lck file is removed and anybody else is able to edit file.

Is there anything from this description what doesn't work? Do you think the behavior should be different?

Options: Reply | Quote | Up ^


#9 Re: PSPad unicode 4.5.8 (2485) English

Posted by: pspad | Date: 2014-06-24 21:25 | IP: IP Logged

hhoefling:
No, it returns the lines.

I have seen the "." and 2 ".." befor.
you remmber.

I will fix it to make it independent of the returned file list from FTP server.

Options: Reply | Quote | Up ^


#10 Re: PSPad unicode 4.5.8 (2485) English

Posted by: PGomersall | Date: 2014-06-26 15:23 | IP: IP Logged

pspad:
LCK file is create d by PSPad. If you want to edito your file outside PSPad, you can't use this method. No other application recognize LCK file meaning.

How it should work:
User 1 opens the file.txt, lock file file.txt.lck is created
User 2 opens file.txt and he gets information the file is edited by User1. He can see the content. but he can't modify file, cause file is open as ReadOnly.

If user 1 reopen file he don't get any information, cause he doesn't need it. He still edits the file. In the moment he closes the file, file.txt.lck file is removed and anybody else is able to edit file.

Is there anything from this description what doesn't work? Do you think the behavior should be different?

Jan,
Sorry for delay been busy. With 2485 this now works as the steps you describe.
Pete

Options: Reply | Quote | Up ^


Goto Page: 1 2 3 4 5 Next





Editor PSPad - freeware editor, © 2001 - 2021 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR