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 78297 Details for
Bug 199773
[ftp][regression] FTP always uploads remote files as binary
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch not checking remote encoding to force binary transfer
patch.txt (text/plain), 1.12 KB, created by
Javier Montalvo Orús
on 2007-09-13 07:20:44 EDT
(
hide
)
Description:
patch not checking remote encoding to force binary transfer
Filename:
MIME Type:
Creator:
Javier Montalvo Orús
Created:
2007-09-13 07:20:44 EDT
Size:
1.12 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.subsystems.files.core >Index: src/org/eclipse/rse/subsystems/files/core/servicesubsystem/FileServiceSubSystem.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.subsystems.files.core/src/org/eclipse/rse/subsystems/files/core/servicesubsystem/FileServiceSubSystem.java,v >retrieving revision 1.41 >diff -u -r1.41 FileServiceSubSystem.java >--- src/org/eclipse/rse/subsystems/files/core/servicesubsystem/FileServiceSubSystem.java 18 May 2007 00:53:52 -0000 1.41 >+++ src/org/eclipse/rse/subsystems/files/core/servicesubsystem/FileServiceSubSystem.java 13 Sep 2007 11:01:10 -0000 >@@ -452,8 +452,7 @@ > > protected boolean isBinary(String localEncoding, String hostEncoding, String remotePath) > { >- boolean isText = !hostEncoding.equals(localEncoding) && >- SystemFileTransferModeRegistry.getInstance().isText(remotePath) && >+ boolean isText = SystemFileTransferModeRegistry.getInstance().isText(remotePath) && > !SystemEncodingUtil.getInstance().isXML(remotePath) ; > return !isText; > }
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 199773
:
78177
|
78297
|
78307