CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Thu Mar 28, 2024 10:29 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Can't open local file when try to save FTP file
PostPosted: Fri May 20, 2016 5:21 pm 
Offline

Joined: Fri May 20, 2016 4:58 pm
Posts: 8
Somewhere in the forum I saw a post about not saving ftp files sometimes. Since i experience the same problem i decided to load codelobster in a debugger.

After 5 seconds i located the issue. In codelobster FileExplorer.dll, the winAPI CreateFileW is the problem here. This functions returns -1 and winAPI GetLastError() returns ERROR_SHARING_VIOLATION, 32 (0x20), which means: The process cannot access the file because it is being used by another process.

This trows an error message in the codelobster code inspector: Can't open local file.

Right now i can think about 2 reasons for that

- A handle is still open and not closed by winAPI CloseHandle(). Because according to MSDN:
Quote:
CreateFileW: dwShareMode
If this parameter is zero and CreateFile succeeds, the file or device cannot be shared and cannot be opened again until the handle to the file or device is closed.


- There are not enough privileges to open the file. Maybe you need to change dwDesiredAccess parameter.


I am a malware researcher and a cross platform software developer so if you need any assistance i'm glad to help. If you need virtual addresses or offsets just ask.


Top
 Profile  
 
 Post subject: Re: Can't open local file when try to save FTP file
PostPosted: Thu Jun 02, 2016 11:26 am 
Offline

Joined: Fri May 20, 2016 4:58 pm
Posts: 8
Since the new version has been released i didn't saw a bug fix for this. Let me know if you need help with anything.


Top
 Profile  
 
 Post subject: Re: Can't open local file when try to save FTP file
PostPosted: Thu Jun 02, 2016 11:57 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi, Dennis.

Does the problem on new version?
Do You able to reproduce it?

Could You, please, send us step-by-step instructions to duplicate it.

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Can't open local file when try to save FTP file
PostPosted: Fri Jun 03, 2016 11:38 am 
Offline

Joined: Fri May 20, 2016 4:58 pm
Posts: 8
Yes, the problem is still there is the new version.
Yes, I am able to reproduce it.
Also I made a short video about the problem.

Textual instruction:
1. Open Codelobster.
2. Connect to a FTP server.
3. Open/create an empty *.php file on the FTP server.
4. Copy some random code, in this example I used Lorem Ipsum from loripsum.net.
5. Paste the copied text in the opened FTP file in Codelobster. Until you have more then 1500 lines of code.
6. Save the file (Cntrl+S).
7. Codelobster throws an error in the 'output window' from Codelobster: Can not open local file.

Video instruction
http://rgho.st/private/75QqZzVdG/70a09dc435baf09513b9f5e228d8b192
Mirror: http://www107.zippyshare.com/v/HTmJ89es/file.html


Top
 Profile  
 
 Post subject: Re: Can't open local file when try to save FTP file
PostPosted: Wed Mar 14, 2018 2:04 pm 
Offline

Joined: Wed Mar 14, 2018 1:58 pm
Posts: 3
Any news with this topic? The problem is still there. I am using version 5.14.5 on Windows 10.

Thank you.


Top
 Profile  
 
 Post subject: Re: Can't open local file when try to save FTP file
PostPosted: Thu Mar 15, 2018 8:40 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

We can't reproduce this problem :(

1) Do You use FTP or SFTP connection?
2) Are your steps the same?
3) Could You, please, record a video too.

Many thanks,
Codelobster Team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 58 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2016 phpBB Group