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 176177 - ftp upload / too many cwd
Summary: ftp upload / too many cwd
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 02:50 UTC by gunzip
Modified: 2010-09-17 05:31 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gunzip 2009-11-09 02:50:00 UTC
i noticed that for almost every file that has to be uploaded there's (at least) one CWD command even if the files being uploaded belong to the same directory.

so if you have 100 files in directory foo there will be 100 commands "CWD foo" and this slows down the transfer. i think that bulk uploading first all the file in the same directory would speed up the transfer a lot.

moreover if CWD "/foo/bar/x/y" fails, ftp upload tries to CWD all the directories from the first to the last in the path (ie. CWD foo, CWD bar, CWD x, CWD y). Probably it will be more efficent to try the inverse sequence: CWD "/foo/bar/x/", CWD "/foo/bar", CWD "/foo" because 99% of time it fails on the latest directory in the path. This makes a big difference when there are many nested dirs.
Comment 1 Filip Zamboj 2010-09-15 12:36:48 UTC
batch reassigning