Bug: Empty Files

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
User avatar
Capricorn
Posts: 63
Joined: Fri Aug 06, 2010 11:37 am
Location: Germany!
Contact:

Bug: Empty Files

Post by Capricorn »

If there is an empty file (0 byte) in the project folder Rapid PHP always updates it when using the "Publish project to FTP" function is used. The file didn't change or anything, but RapidPHP always uploads it again.

If there is just one space in the file (1 byte filesize) the problem disappears.

Capricorn
Last edited by Capricorn on Sat Jan 08, 2011 9:10 pm, edited 1 time in total.
davenz

Re: Bug: Empty Files

Post by davenz »

Sorry, just to clarify your report; when you say all true 0-byte files are 'updated', is that what you mean or do you mean 'uploaded'? Updated may mean the file's time and date attributes are changed (which they could be if being uploaded anyway). Uploaded implies they are being uploaded regardless of whether you have selected them or not.

What settings do you have set as default (if any) for 'publish project to FTP'?

Interesting bug, I am trying to replicate using WeBuilder to see if this software shares the issue.

Cheers

Dave
davethompson.co.nz
User avatar
Capricorn
Posts: 63
Joined: Fri Aug 06, 2010 11:37 am
Location: Germany!
Contact:

Re: Bug: Empty Files

Post by Capricorn »

It is selected by default, because it seems that RapidPHP thinks the file has been updated (but nothing changed it, no editor, user or program). If I de-select it it gets not uploaded, but it is selected always by default when opening the "Publish project to FTP" dialog.

Try this:
Create a project or open an old one
Use the Contextmenu-Function "New File" to create an empty file
Press the "Publish project to FTP Button"
Now the new file should appear, no publish it
Then publish it again and the file is in the list again (although it didn't change).

Hope it helps
Post Reply