[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [jira] [Updated] (VFS-298) FTP: Exception is thrown when renaming a file
From: "Gary D. Gregory (Jira)" <jira () apache ! org>
Date: 2020-10-31 20:09:00
Message-ID: JIRA.12455187.1265215320000.119144.1604174940540 () Atlassian ! JIRA
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/VFS-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Gary D. Gregory updated VFS-298:
--------------------------------
Fix Version/s: (was: 2.7.1)
> FTP: Exception is thrown when renaming a file
> ---------------------------------------------
>
> Key: VFS-298
> URL: https://issues.apache.org/jira/browse/VFS-298
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: Nightly Builds
> Reporter: Kirill Safonov
> Priority: Major
> Labels: PatchAvailable
> Attachments: VFS-298-patch.txt
>
>
> java.lang.UnsupportedOperationException
> at java.util.Collections$UnmodifiableMap.remove(Collections.java:1289)
> at org.apache.commons.vfs.provider.ftp.FtpFileObject.onChildrenChanged(FtpFileObject.java:288)
> at org.apache.commons.vfs.provider.AbstractFileObject.childrenChanged(AbstractFileObject.java:1612)
> at org.apache.commons.vfs.provider.AbstractFileObject.notifyParent(AbstractFileObject.java:1633)
> at org.apache.commons.vfs.provider.AbstractFileObject.handleDelete(AbstractFileObject.java:1558)
> at org.apache.commons.vfs.provider.AbstractFileObject.moveTo(AbstractFileObject.java:1078)
> FtpFileObject.children may be an EMPTY_FTP_FILE_MAP if the last ls() returned \
> empty collection. This is the case for the move untitled36/src/com/test/Base.as -> \
> untitled36/src/Base.as:
> > CWD /opt/lampp/htdocs/ftp_root
> 250 Directory successfully changed.
> > RNFR untitled36/src/com/test/Base.as
> 350 Ready for RNTO.
> > RNTO untitled36/src/Base.as
> 250 Rename successful.
> > PWD
> 257 "/opt/lampp/htdocs/ftp_root"
> > CWD untitled36/src/com/test
> 250 Directory successfully changed.
> > PORT 192,168,0,112,51,217
> 200 PORT command successful. Consider using PASV.
> > LIST
> 150 Here comes the directory listing.
> 226 Directory send OK.
> (LIST returned no children)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic