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 161520 - scp: upload an empty folder do not work
Summary: scp: upload an empty folder do not work
Status: RESOLVED WONTFIX
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-30 21:46 UTC by ingoreinhart
Modified: 2009-07-22 13:15 UTC (History)
0 users

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 ingoreinhart 2009-03-30 21:46:03 UTC
I have in some projects empty folder. I can not upload the empty folder to the webserver.
Comment 1 Tomas Mysik 2009-04-23 13:53:28 UTC
Yes, this is intentional. Could you please describe your use case why do yo want to upload an empty directory? Thanks.
Comment 2 ingoreinhart 2009-04-23 15:06:32 UTC
Hello tmysik!

Some apps like z-push, magento, serendipity and sometimes Zend Framework include empty folder. This apps won't work if
the empty folder not exist on the server (often you need to change the rights for the folders). Sorry, that not my demand.

It's very confusing if you upload a folder from your IDE and than the folder dosen't exsist on the server. Looks like an
error!

Bye,
Ingo

Comment 3 Tomas Mysik 2009-04-23 16:41:48 UTC
> [...] (often you need to change the rights for the folders) [...]

That's exactly the reason why we don't do so - there's no way to change permissions of remote files/folders from NetBeans (please notice
that option Preserve Remote File Permissions is something different) so you anyway need some another FTP client to fix this.
Another reason is that the Upload/Download window would be _much_ longer because of folders (now, only files are listed).

Simple work around could be to create a dummy file in such folder.

I will look at this issue whether it's possible or not.
Comment 4 Tomas Mysik 2009-07-22 13:15:08 UTC
I decided to close this issue as WONTFIX, for reasons please read my last comment. I think that the work aroud with some ".keep" file works well if you
really need this functionality. Feel free to reopen this issue if you strongly disagree.

Thanks for reporting.