some directories won't upload with exclude mask

Advertisement

kanonji
Guest

some directories won't upload with exclude mask

Hi there.

C:\htdocs\example\.svn\

here I have example directory that has a subdirectory named .svn.
There aren't any files or directories in the example directory.

I want to upload the example directory to /var/www/htdocs/ on my server.
so, I opened 'C:\htdocs' for local, '/var/www/htdocs' for remote with WinSCP.
When I drag the example directory, Synchronize with exclude mask such as below.

.svn
.svn/
*/.svn
*/.svn/

The example directory isn't uploaded unexpectedly.
Is this supposed action or not?
In addtion, it's happened there is only one directory that is indicated not to be uploaded by exclude mask in a directory.
Not only for '.svn'.
For example, 'templates', 'templates_c', '.settings' and more.

I use winscp418.exe that is Portable executable version on WindowsXP.
I try to upload via FTP.

Thanks a lot.
And please, no flames about my bad English.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,317
Location:
Prague, Czechia

Re: some directories won't upload with exclude mask

kanonji wrote:

When I drag the example directory, Synchronize with exclude mask such as below.
So have you used upload (copy) or synchronize?

.svn
.svn/
*/.svn
*/.svn/
Can you post your exclude mask literally?
_________________
Martin Prikryl

Reply with quote

kanonji
Guest

So have you used upload (copy) or synchronize?

On C:\htdocs' for local, '/var/www/htdocs' for remote,
I try to upload by draging the example directory to remote.
And I also try to synchronize.
Both two ways doesn't work.

Can you post your exclude mask literally?

I usually use this exclude mask.

.project;.buildpath;.cache;.settings;.cvsignore;CVS;.svn;

I tried these also.

.project;.buildpath;.cache/;.settings/;.cvsignore;CVS/;.svn/;
.project;.buildpath;*/.cache;*/.settings;.cvsignore;*/CVS;*/.svn;
.project;.buildpath;*/.cache/;*/.settings/;.cvsignore;*/CVS/;*/.svn/;

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,317
Location:
Prague, Czechia

I've tried to reproduce the problem with the exactly same paths and the the first exclude mask and it works.
Can you post a screenshot showing the panels and synchronize dialog with all the options?
_________________
Martin Prikryl

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,317
Location:
Prague, Czechia

I cannot try that atm. However I would guess that the trouble is caused by trailing semicolon of the exclude mask. It effectively adds one move empty mask which excludes everything. Can you try to remove the trailing semicolon?
_________________
Martin Prikryl

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,317
Location:
Prague, Czechia

Can you provide me your email address, so I can send you a debug version of WinSCP to track the problem? If you do not want to post the address here, you can send me an email. You will find my address (if you log in) in my forum profile. Please include link to this topic. Thanks.
_________________
Martin Prikryl

Reply with quote

kanonji
Joined:
Posts:
5

Can you provide me your email address, so I can send you a debug version of WinSCP to track the problem? If you do not want to post the address here, you can send me an email. You will find my address (if you log in) in my forum profile. Please include link to this topic. Thanks.

I've just sent an email.
If it'd not reach, please remaind me.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,317
Location:
Prague, Czechia

kanonji wrote:

I've just sent an email.
If it'd not reach, please remaind me.
I have replied to your email already.
_________________
Martin Prikryl

Reply with quote

kanonji
Joined:
Posts:
5

I have already sent the report of debugger version few days ago, but sorry about not reply in this forum.
Have you received it?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,317
Location:
Prague, Czechia

kanonji wrote:

I have already sent the report of debugger version few days ago, but sorry about not reply in this forum.
Have you received it?
No I haven't. Please try to send it again. Thanks.
_________________
Martin Prikryl

Reply with quote

kanonji
Joined:
Posts:
5

martin wrote:

No I haven't. Please try to send it again. Thanks.

I've sent it again just few minutes ago.
I hope it's reach to you.

Reply with quote

Advertisement

mrjmh
Guest

This is a very old thread but I am posting an answer in case anyone else finds the same problem.

The issue is the OP wants to exclude files but has specified an include filter.

The filters need to begin with the pipe "|" character.

Reply with quote

Advertisement

You can post new topics in this forum