NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Excluding Folders Smart Download


Joined: 06 Mar 2007
Posts: 6
Reply with quote
Hi,

i'm testing nusphere and I'm verry happy so far.

I have one problem:
I have a project with HUUUUGE amount of images on the server (about 16k) and i like to receive the project with the Smart Download function.
But I dont need the Images Wink

How can I get all php and HTML Files without the images???

THX, pixelmeister
View user's profileFind all posts by pixelmeisterSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
not a big deal. Right click on the directory in the workspace window, select properties and enter appropriate file extensions into the Publishing filter.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 06 Mar 2007
Posts: 6
Reply with quote
Hello dmitri,

thanks for your answer.


I have added a few folders to the don't publish directories field an it works.
But it didn't exclude files by typing in file-extensions like: .jpg;.gif;.log

Is there an other field for that?

Anyway I could exclude the directory with the 16k images Wink And that was the important Point for now.

Thanks a lot. I really like Nusphere and when I get the Debugging on enxternal Server up and running i will buy it.

Cu, pixelmeister
View user's profileFind all posts by pixelmeisterSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
I meant you need file masks there, not only extensions.
So .jpg should be *.jpg

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 06 Mar 2007
Posts: 6
Reply with quote
Thanks again that worked Smile
View user's profileFind all posts by pixelmeisterSend private message
Problem again


Joined: 06 Mar 2007
Posts: 6
Reply with quote
Hello,
i tried this with a new project and have the same problems with downloading imagefiles again.

Here is a screenshot of my project setup:



But when I click on "Smart Download" ist loads gif and jpg files also.
What am i doing wrong?


Thanks for help,

pixelmeister
View user's profileFind all posts by pixelmeisterSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
These are file extensions but you entered them into "directories". That's not correct. Please click on the button next to Publishing Directory input and update settings in the dialog.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 11 May 2007
Posts: 7
Reply with quote
dmitri wrote:
not a big deal. Right click on the directory in the workspace window, select properties and enter appropriate file extensions into the Publishing filter.


I want to exclude *.sql; *.gz files from being published. I tried like you described it (see attached picture). But the files "slsys_klautern.sql" and "slsys_klautern.sql.gz" are uploaded everytime I smart sync (upload) the folder "administration". What am I doing wrong?

View user's profileFind all posts by marmulSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
would you please submit the screenshot with window where you added the extensions to be filtered out?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 11 May 2007
Posts: 7
Reply with quote
It is on the screenshot already, isn't it? Publishing filter -> Disallow files(masks): *.sql;*.gz
View user's profileFind all posts by marmulSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
oh! i didn't see that image as it wasn't displayed and thought I'd ask for it first Smile


according the the screenshot:
-there is one non-related problem: you may not have something like http:// blah blah blah as remote directory. It must be remote file system path, something like /var/www/htdosc/administration. Please check the project properties.

-filter is applied for just one directory (and possibly for the directories below it). Please try to upload this directory alone and check if any gz files are picked Smile

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 11 May 2007
Posts: 7
Reply with quote
dmitri wrote:
oh! i didn't see that image as it wasn't displayed and thought I'd ask for it first Smile


according the the screenshot:
-there is one non-related problem: you may not have something like http:// blah blah blah as remote directory. It must be remote file system path, something like /var/www/htdosc/administration. Please check the project properties.

Ok, I fixed it.

-filter is applied for just one directory (and possibly for the directories below it). Please try to upload this directory alone and check if any gz files are picked Smile


I did nothing but smart sync (upload) this directory ("administration") alone, but the disallowed files are picked.
View user's profileFind all posts by marmulSend private message
Excluding Folders Smart Download
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 vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 2  

  
  
 Reply to topic