summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpurl.hxx
diff options
context:
space:
mode:
authorAndreas Bille <abi@openoffice.org>2002-10-21 12:13:00 +0000
committerAndreas Bille <abi@openoffice.org>2002-10-21 12:13:00 +0000
commitf025f32de9a26a1d266bff0378213225e00e2190 (patch)
tree9f5b54484343cf38f7ab48d67f8d9fbdf139f315 /ucb/source/ucp/ftp/ftpurl.hxx
parent6c9dc72591ceb79c65b8ce97b589c973892fa9df (diff)
#94588# throwing now exceptions if ReplaceExisting = false and resource exists
Diffstat (limited to 'ucb/source/ucp/ftp/ftpurl.hxx')
-rw-r--r--ucb/source/ucp/ftp/ftpurl.hxx16
1 files changed, 9 insertions, 7 deletions
diff --git a/ucb/source/ucp/ftp/ftpurl.hxx b/ucb/source/ucp/ftp/ftpurl.hxx
index d526fa215c5b..9327d454fd60 100644
--- a/ucb/source/ucp/ftp/ftpurl.hxx
+++ b/ucb/source/ucp/ftp/ftpurl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ftpurl.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: abi $ $Date: 2002-10-17 16:28:23 $
+ * last change: $Author: abi $ $Date: 2002-10-21 13:13:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -88,10 +88,8 @@ namespace ftp {
class FTPHandleProvider;
-
- enum FTPErrorCode {
- FTPCouldNotDetermineSystem = CURL_LAST + 1
- };
+ enum FTPErrors { FILE_EXIST_DURING_INSERT = CURL_LAST +1,
+ FOLDER_EXIST_DURING_INSERT };
class malformed_exception { };
@@ -151,10 +149,12 @@ namespace ftp {
/** returns the parent url.
*/
- rtl::OUString parent() const;
+ rtl::OUString parent(bool internal = false) const;
void child(const rtl::OUString& title);
+ rtl::OUString child(void) const;
+
std::vector<FTPDirentry> list(sal_Int16 nMode) const
throw(curl_exception);
@@ -167,6 +167,8 @@ namespace ftp {
void insert(bool ReplaceExisting,void* stream) const
throw(curl_exception);
+ void mkdir(bool ReplaceExisting) const
+ throw(curl_exception);
private: