Opening files beginning with a dot

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
TRiG
Posts: 6
Joined: Tue Oct 06, 2009 11:16 am

Opening files beginning with a dot

Post by TRiG »

I am using WeBuilder 2010 [Version 10.0 (10.0.0.116)].

I use this almost exclusively for editing PHP/CSS/JS files over FTP. I very rarely work on files stored locally.

Some of my PHP configuration files have names beginning with a dot (mainly so PHP's glob() function doesn't see them). I can see these files in WeBuilder, but I cannot open them. If I try to open them, I am presented with a blank file, as if the file contained no content. I can, however, open and edit .htaccess files. I did not have this problem with previous versions of WeBuilder, and my colleague, who uses the same software, does not have this problem with the current version of WeBuilder. (I'm on Vista; he's on XP.)

Presumably it's a configuration option somewhere in the program, but I couldn't find it. Options and Edit seemed the obvious places to look, but I can see nothing there.

TRiG. :)
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Opening files beginning with a dot

Post by Karlis »

What is the part after the dot? obviously this is related to particular file names because .htaccess is also file name beginning with a dot.

Works on my Vista.
Karlis Blumentals
Blumentals Software
www.blumentals.net
TRiG
Posts: 6
Joined: Tue Oct 06, 2009 11:16 am

Re: Opening files beginning with a dot

Post by TRiG »

We'd have files with names such as
.config.php
.user.php
.guest.php

And today I had a problem with another file that my colleague could open. But in this case, FileZilla on my machine was also refusing to download it, so it's probably a problem with my computer.

File name: "kelly_green.php".
WeBuilder: appeared to download (taking some time: it's a large enough file), but opened blank.
FileZilla: ditto, but then an error message appeared saying "Failed to modify file times for '<path>/kelly_green.php' (error 2: the system cannot find the file specified)" And the file doesn't appear in the place I was downloading it to.

FileZilla gives the file size as 66979 bytes.

I suspect that this is not a problem with WeBuilder, but with my computer or perhaps with the server.

TRiG. :)
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Opening files beginning with a dot

Post by Karlis »

Are you opening the files from FTP or local drive? I just tried saving/opening both localy and FTP and exactly the names you mentioned. All seems fine...

One thing I can tell is that you should be very careful with files that start with dot, due to ways how FTP work and files are handled it is a risky venture, there is a plenty of space for unexpected behavior dealing with such files both on the server side, on the ftp client side and even locally. Dot is a very special symbol, I believe on linux systems it hides the file and also dot means "current directory" and it is also file name separator.

It is no excuse, of course, all systems must be able to work with any types of file names, but it is better be on the safe side and use traditional names.
Karlis Blumentals
Blumentals Software
www.blumentals.net
TRiG
Posts: 6
Joined: Tue Oct 06, 2009 11:16 am

Re: Opening files beginning with a dot

Post by TRiG »

FTP. And, as I said, my colleague can open them fine, using the same version of WeBuidler. Must be just some problem with my computer.

If I was building my own CMS I wouldn't have configuration files beginning with a dot, but this was developed before I joined. It's no big problem. I rarely want to edit those files anyway, and if I do, I can download them with FileZilla, edit them locally, and throw them back up again. It's just a minor annoyance.

It's just slightly odd that it's just me having this problem. It's also odd that I can open and edit .htaccess files. Computers are funny things, aren't they?

TRiG. :)
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Opening files beginning with a dot

Post by Karlis »

TRiG wrote:Computers are funny things, aren't they?
Oh yes. "Miracles" (things that are impossible) happen all the time :)
Karlis Blumentals
Blumentals Software
www.blumentals.net
TRiG
Posts: 6
Joined: Tue Oct 06, 2009 11:16 am

Re: Opening files beginning with a dot

Post by TRiG »

I think I've worked it out. I'm pretty sure it's Norton Anti-Virus blocking the downloads.

TRiG.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Opening files beginning with a dot

Post by Karlis »

Off Topic:

If you need to change anti virus, try Nod32 it is really much faster and the only anti-virus that does not clog the computer or ruin performance.

I have used Norton, McAfee, Kaspersky and they all have been fairly terrible at performance, since somebody recommended to switch to Nod32, I have never suffered slowdowns due to anti-virus and what is more it does not install any "extras" and does not show any pop-ups in system tray it just does its auto-updates silently without screaming.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply