This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 245571 - Unable to download files. They are marked as symbolic link
Summary: Unable to download files. They are marked as symbolic link
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 8.0
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-10 20:56 UTC by kandalf
Modified: 2019-07-10 10:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kandalf 2014-07-10 20:56:53 UTC
I'm working on a remote project, I start on netbeans 8.0 on Windows and then change to netbeans 8.0 on Mac, I sync the projects using Git Pull.

In my project I never create any symbolic link, the download process runs without problem um Windows but on Mac I receive the following message:
Summary
====================
Ignored:
dir       backend/helpers                File backend/helpers is a symbolic link.
file      backend/helpers/Social.php     Some parent of file backend/helpers/Social.php is a symbolic link.
file      backend/helpers/Upload.php     Some parent of file backend/helpers/Upload.php is a symbolic link.

I have multiple folders in the project but I will put here only an example, in my project I have the Source Files -> backend -> helpers -> 2 files (social.php and upload.php)

If I click on backend folder or helpers folder and select "Download..." then check the box and run I'm unable to download cause the symbolic link error

Although if I click on Source Files then "Download..." and then only select the folder helpers inside backend and run it the files are downloaded without any issue.

In both procedures I'm trying to download the same files, in one case everything works great in the other case I get the symbolic link problem.

Any clue?
Comment 1 Tomas Mysik 2014-07-15 14:31:14 UTC
Hmm, hard to say - are you sure that there are really no symbolic links on the path? BTW Windows does not (officially) support symbolic links so the detection there likely does not work.

@vriha: Láďo, could you please try it on Mac? Simply create some symlinks in the project and "above" the project (somewhere in the parent path of the project directory).

Thanks.
Comment 2 Vladimir Riha 2014-07-16 09:18:26 UTC
Where are the symbolic links supposed to be? On remote server or local files? 

I tried following setup on FTP server:
 -- [folderX]
 -- [projectFolder]
    |-- backend
       |-- helpers ... symbolic link to [folderX]
    |-- index.php

and create a new remote project. And it behaves the same for me no matter how I try, the Download action fails for the [helpers] saying 

link     backend/helpers     File backend/helpers is a symbolic link

Note it doesn't say "dir" though. I cannot reproduce the message with "Some parent of file... is a symbolic link". I guess since the parent helpers is not being downloaded, then files inside cannot be downloaded as well.


NetBeans Dev 201407160001
JDK7u65 64b
MacOS X 10.9.2 x86_64
Comment 3 Vladimir Riha 2014-07-16 09:21:24 UTC
OK, so the symbolic links are on local machine. Now I can reproduce it as well
Comment 4 kandalf 2014-07-17 00:07:04 UTC
I don't know what was the cause of the problem, but I remove the project from netbeans, then add it again and download from server and now its ok.

I have sure that my server have no symbolic links, something happened but I don't know what.
Comment 5 Tomas Mysik 2015-05-13 07:55:27 UTC
(In reply to kandalf from comment #4)
> I don't know what was the cause of the problem, but I remove the project
> from netbeans, then add it again and download from server and now its ok.

If you newly downloaded the files then it means that there are no *local* symlinks in the project.

> I have sure that my server have no symbolic links, something happened but I
> don't know what.

As we wrote, we think that the symlinks were *local* and not remote.

Thanks for reporting.
Comment 6 KGF123 2019-07-10 10:33:37 UTC
How to open saved passwords in microsoft edge http://windowstuts.net/remember-passwords Edge is a web browser and millions of users like and used this app.