Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 18326 Details for
Bug 85257
FTP can not view subdirectories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch for org/eclipse/ftp/internal/FTPClient.java v1.2
FTPClient-1.2.patch.txt (text/plain), 991 bytes, created by
Guillaume Boudreau
on 2005-02-25 16:48:36 EST
(
hide
)
Description:
Patch for org/eclipse/ftp/internal/FTPClient.java v1.2
Filename:
MIME Type:
Creator:
Guillaume Boudreau
Created:
2005-02-25 16:48:36 EST
Size:
991 bytes
patch
obsolete
>Index: FTPClient.java >=================================================================== >RCS file: /home/eclipse/platform-vcm-home/plugins/target/org.eclipse.ftp/src/org/eclipse/ftp/internal/FTPClient.java,v >retrieving revision 1.2 >diff -u -r1.2 FTPClient.java >--- FTPClient.java 25 Feb 2005 21:12:08 -0000 1.2 >+++ FTPClient.java 25 Feb 2005 21:46:58 -0000 >@@ -443,6 +443,10 @@ > monitor.subTask(title); > DataConnection manager = null; > try { >+ // Add a trailing slash to ensure we list the directory content, not the current directory filtered with directoryPath >+ if (directoryPath != null && !directoryPath.equals("") && directoryPath.charAt(directoryPath.length()-1) != '/') { //$NON-NLS-1$ >+ directoryPath = directoryPath + "/"; //$NON-NLS-1$ >+ } > // Initiate the data transfer > manager = initiateDataTransfer("LIST -a", directoryPath, false, 0, FtpPlugin.monitorFor(monitor)); //$NON-NLS-1$ > // Get the input stream from the data connection
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 85257
: 18326 |
18327