mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 03:15:33 +02:00
[398988] [ftp] FTP Only support to zVM
This commit is contained in:
parent
b6496126ab
commit
c5a71ccd56
2 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2002, 2012 IBM Corporation and others.
|
||||
* Copyright (c) 2002, 2013 IBM Corporation and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -79,6 +79,7 @@
|
|||
* Rick Sawyer (IBM) - [376535] RSE does not respect editor overrides
|
||||
* David McKnight (IBM) - [389838] Fast folder transfer does not account for code page
|
||||
* David Mcknight (IBM) - [374681] Incorrect number of children on the properties page of a directory
|
||||
* Samuel Wu (IBM) - [398988] [ftp] FTP Only support to zVM
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.files.ui.view;
|
||||
|
@ -2153,6 +2154,8 @@ public class SystemViewRemoteFileAdapter
|
|||
{
|
||||
//targetFolder.markStale(true);
|
||||
targetFolder = targetFS.getRemoteFileObject(targetFolder.getAbsolutePath(), monitor);
|
||||
if (targetFolder == null)
|
||||
targetFolder = (IRemoteFile)target;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -2593,6 +2596,8 @@ public class SystemViewRemoteFileAdapter
|
|||
{
|
||||
//targetFolder.markStale(true);
|
||||
targetFolder = targetFS.getRemoteFileObject(targetFolder.getAbsolutePath(), monitor);
|
||||
if (targetFolder == null)
|
||||
targetFolder = (IRemoteFile)target;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2005, 2008 IBM Corporation and others.
|
||||
* Copyright (c) 2005, 2013 IBM Corporation and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -23,6 +23,7 @@
|
|||
* Javier Montalvo Orus (Symbian) - [198692] FTP should mark files starting with "." as hidden
|
||||
* David McKnight (IBM) - [209593] [api] add support for "file permissions" and "owner" properties for unix files
|
||||
* Martin Oberhuber (Wind River) - [235360][ftp][ssh][local] Return proper "Root" IHostFile
|
||||
* Samuel Wu (IBM) - [398988] [ftp] FTP Only support to zVM
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.services.files.ftp;
|
||||
|
@ -67,7 +68,7 @@ public class FTPHostFile implements IHostFile, IHostFilePermissionsContainer
|
|||
_size = size;
|
||||
_isArchive = internalIsArchive();
|
||||
_canRead = true;
|
||||
_canWrite = false;
|
||||
_canWrite = true;
|
||||
_isRoot = isRoot;
|
||||
_exists = exists;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue