Commit Graph
48 Commits
Author SHA1 Message Date
Kenneth Skovhede d3f4058057 Fixed various minor issues with backends 2013-05-06 20:36:26 +02:00
Kenneth Skovhede e5b3f0ea93 Rewrote all backends to use the new Uri parser.
Updated the regex to be a little more forgiving.
Does not handle paths with @, like "ftp://server/@folder"
2013-05-05 23:46:00 +02:00
Kenneth Skovhede 62c75d9af9 Removed all informs code (no more 1.3.x UI) 2013-05-05 17:07:24 +02:00
Kenneth Skovhede 9d09cb473d Renamed ftp-password to auth-password and ftp-username to auth-username 2013-05-05 16:40:37 +02:00
kenneth@hexad.dk f8dc5bbafd Added the "Password" type to argument types for simplified handling of password masking.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1509 59da171f-624f-0410-aa54-27559c288bec
2013-01-22 09:28:43 +00:00
kenneth@hexad.dk c74092f8a9 Fixed some timeout/abort issues by implementing everything by hand, on top of the async methods.
Now the WebRequest.Timeout property ONLY affects the GetRequestStream() and GetResponse() methods as the documentation says it SHOULD.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1331 59da171f-624f-0410-aa54-27559c288bec
2012-06-06 12:55:48 +00:00
kenneth@hexad.dk 59da039337 Update issue #560
Status: Fixed

The domain is now set to empty instead of null

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1207 59da171f-624f-0410-aa54-27559c288bec
2012-04-19 18:49:37 +00:00
kenneth@hexad.dk 577ac0b82c Fixed a bug where the FTP upload verification fails due to FTP servers returning full path rather than relative path for filename
git-svn-id: https://duplicati.googlecode.com/svn/trunk@1118 59da171f-624f-0410-aa54-27559c288bec
2012-02-03 07:30:42 +00:00
kenneth@hexad.dk 50fd449b33 Improved performance of the FTP upload by issuing a simplified LIST command.
Fixed a problem with creating folders on FTP.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@1105 59da171f-624f-0410-aa54-27559c288bec
2012-01-19 19:04:56 +00:00
kenneth.skovhede@gmail.com 1048994973 Removed some unused storage of options, this fixes a connection bug in FTP, and TahoeLAFS
git-svn-id: https://duplicati.googlecode.com/svn/trunk@938 59da171f-624f-0410-aa54-27559c288bec
2011-10-19 05:42:32 +00:00
kenneth.skovhede@gmail.com 1d6235f998 Fixup for r917
git-svn-id: https://duplicati.googlecode.com/svn/trunk@919 59da171f-624f-0410-aa54-27559c288bec
2011-09-27 06:59:17 +00:00
kenneth.skovhede@gmail.com 0b8b0d44ea Update issue #392
Status: Fixed

There is now a more consistent parsing of boolean commandline parameters.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@918 59da171f-624f-0410-aa54-27559c288bec
2011-09-27 05:35:49 +00:00
kenneth.skovhede@gmail.com 7ef7a98918 Update issue #251
Status: Fixed

The backend connections are now re-used.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@913 59da171f-624f-0410-aa54-27559c288bec
2011-09-24 11:39:50 +00:00
kenneth.skovhede@gmail.com c518a3dd59 Fixed a reverse setting of the flag --list-verify-uploads
git-svn-id: https://duplicati.googlecode.com/svn/trunk@815 59da171f-624f-0410-aa54-27559c288bec
2011-06-26 10:22:03 +00:00
kenneth.skovhede@gmail.com b0a359fd27 Updated license text
git-svn-id: https://duplicati.googlecode.com/svn/trunk@770 59da171f-624f-0410-aa54-27559c288bec
2011-05-09 19:52:28 +00:00
kenneth.skovhede@gmail.com 579f68cbfe Update issue #406
Status: Fixed

That turned out to be a problem with Tahoe-LAFS as well.
Both are now fixed, I will put up a new preview in a few minutes.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@766 59da171f-624f-0410-aa54-27559c288bec
2011-05-03 15:52:00 +00:00
kenneth.skovhede@gmail.com 3f3394af3c Update issue #383
Status: Fixed

A minor change caused SSL to be disabled for FTP, TahoeLAFS and WEBDAV unless the option was set to "--use-ssl=true".

git-svn-id: https://duplicati.googlecode.com/svn/trunk@726 59da171f-624f-0410-aa54-27559c288bec
2011-03-14 18:54:54 +00:00
kenneth.skovhede@gmail.com b149736c81 Added an option to verify uploads by issuing a list after each put.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@715 59da171f-624f-0410-aa54-27559c288bec
2011-03-10 21:33:44 +00:00
kenneth.skovhede@gmail.com a478f9d155 Update issue #378
Status: Fixed

I have now added a module called http-options which can be used to
configure http options, notably the 100-Expect.

I am unsure if it will break existing installations if I disable
it by default, so it is still enabled but can be disabled by the
switch --disable-expect100-continue.

You can set this option in the GUI under "Advanced options".

git-svn-id: https://duplicati.googlecode.com/svn/trunk@713 59da171f-624f-0410-aa54-27559c288bec
2011-03-10 19:08:16 +00:00
kenneth.skovhede@gmail.com 3229cf6ee5 Update issue #302
Status: Fixed

The FTP backend now verifies the size of the uploaded files.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@685 59da171f-624f-0410-aa54-27559c288bec
2011-02-06 13:37:07 +00:00
kenneth.skovhede@gmail.com e7dc268fad Renamed the Duplicati.Library.Core dll to Duplicati.Library.Utility as the "Core" name was misleading.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@591 59da171f-624f-0410-aa54-27559c288bec
2010-11-21 11:08:15 +00:00
kenneth.skovhede@gmail.com 6cbe503d28 The logic for missing folders on the backends have changed.
Previously some backends autocreated a missing folder, and some threw an exception.

The new standard is that all backends throw the FolderMissingException on all access (except delete).
This means that the Test() and List() methods are now the same for all stock backends.
Third-party applications that use the backends should implement custom logic to auto-create the folders,
when the FolderMissingException is encountered.

Duplicati auto-creates missing folders, but this can be toggled through the new flag --disable-autocreate-folders.
In case the auto-create fails to detect a missing folder, there is now a "create-folder" action in the commandline version.

Update issue #102
Status: Fixed
The IBackend_v2 interface has the CreateFolder and Test methods.
The CreateFolder is exposed to the commandline interface with the action create-folder.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@558 59da171f-624f-0410-aa54-27559c288bec
2010-10-23 11:40:43 +00:00
kenneth.skovhede@gmail.com a40f6acf37 A fairly large refactoring of the code.
This was based on the idea that the interfaces should remain static.
I hope this change is enough to ensure stable interfaces until release 1.2.

Overview of changes:
Moved all interfaces into the same dll.
Encryption and compression is now plugable modules, just as the backends.
Encryption/compression can now register an UI.
Encryption now uses AESCrypt as a default.
GPG does not default to using the --armor option.
Added support for generic modules, but none are written yet.
Added support for plugable settings pages in the "Options" dialog.

Fixed issue #148.
Duplicati now uses AESCrypt as the default encryption format.

Fixed issue #199.
GPG now supports custom commandline options.

Fixed issue #207.
Encryption modules are now plugable.

Fixed issue #118.
S3 credentials are now stored.

Fixed issue #151.
Backends can now register system wide options.


git-svn-id: https://duplicati.googlecode.com/svn/trunk@427 59da171f-624f-0410-aa54-27559c288bec
2010-06-19 21:08:21 +00:00
kenneth.skovhede@gmail.com 7579199350 Possible fix to the FTP backend for issue #209
git-svn-id: https://duplicati.googlecode.com/svn/trunk@425 59da171f-624f-0410-aa54-27559c288bec
2010-06-09 10:54:58 +00:00
kenneth.skovhede@gmail.com a91397ddfc Possible fix for issue #209
git-svn-id: https://duplicati.googlecode.com/svn/trunk@420 59da171f-624f-0410-aa54-27559c288bec
2010-05-27 19:37:14 +00:00
kenneth.skovhede@gmail.com 66ea524105 Fixed issue #202.
This was a timeout bug that was triggered after 100 seconds.
Also added a timeout control to the WEBDAV and FTP backends, in case they have the same bug.
Made a few string localizable in the CloudFiles backend.
Added the code to do local MD5 generation, but commented it out as there are issues with this.
Added Duplicati version string to the WEBDAV backend user agent identification.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@394 59da171f-624f-0410-aa54-27559c288bec
2010-04-23 16:34:22 +00:00
kenneth.skovhede@gmail.com c094073aa0 Fixed issue #166.
Fixed various items where ".Peek() < 0" was used instead of ".EndOfStream".
Added transfer time to the SSH List command, to support larger lists.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@372 59da171f-624f-0410-aa54-27559c288bec
2010-02-14 22:27:51 +00:00
kenneth.skovhede@gmail.com e421cabf67 Fixed bug with FTP after introduction of SSL support.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@369 59da171f-624f-0410-aa54-27559c288bec
2010-02-12 19:44:02 +00:00
kenneth.skovhede@gmail.com 20fdd52df8 Fixed issue #170.
It is not well tested, but it is basically a copy of the WEBDAV SSL code.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@361 59da171f-624f-0410-aa54-27559c288bec
2010-02-10 20:44:48 +00:00
kenneth.skovhede@gmail.com 52924703bc Support for CreateFolder in FTP and WEBDAV backends.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@338 59da171f-624f-0410-aa54-27559c288bec
2010-01-17 20:22:14 +00:00
kenneth.skovhede@gmail.com 05bfadbc41 Updated License notice to 2010
git-svn-id: https://duplicati.googlecode.com/svn/trunk@311 59da171f-624f-0410-aa54-27559c288bec
2010-01-03 22:57:13 +00:00
kenneth.skovhede@gmail.com 293311b68f All backends are now ported, needs a lot of testing before it can go into trunk
git-svn-id: https://duplicati.googlecode.com/svn/branches/Issue77@286 59da171f-624f-0410-aa54-27559c288bec
2009-09-20 20:58:49 +00:00
kenneth.skovhede@gmail.com 1c4153b8d8 Implemented the FTP UI for issue 77.
Fixed various bugs with the 77 implementation.

git-svn-id: https://duplicati.googlecode.com/svn/branches/Issue77@284 59da171f-624f-0410-aa54-27559c288bec
2009-09-17 17:44:59 +00:00
kenneth.skovhede@gmail.com 6167b04e75 Removed unused code, thanks to the warnings given by MonoDevelop.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@270 59da171f-624f-0410-aa54-27559c288bec
2009-08-27 20:40:31 +00:00
kenneth.skovhede@gmail.com 55ca654e73 Support for compiling under MonoDevelop
git-svn-id: https://duplicati.googlecode.com/svn/trunk@241 59da171f-624f-0410-aa54-27559c288bec
2009-07-25 09:03:37 +00:00
kenneth.skovhede@gmail.com 9b13c60a01 Added a FTP_USERNAME environment variable and corresponding --ftp-username option.
Fixed issue #86.
Fixed issue #87.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@225 59da171f-624f-0410-aa54-27559c288bec
2009-07-16 20:36:49 +00:00
kenneth.skovhede@gmail.com 79c99336ab A heavy chunk of work on the translation support.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@196 59da171f-624f-0410-aa54-27559c288bec
2009-06-14 21:51:06 +00:00
kenneth.skovhede@gmail.com 056b2be346 Fixed issue #36.
Fixed issue #28.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@133 59da171f-624f-0410-aa54-27559c288bec
2009-03-28 22:33:44 +00:00
kenneth.skovhede@gmail.com 365f8d7f30 Improved the usage dialog greatly, and added some missing options.
Still needs to describe the filter system.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@129 59da171f-624f-0410-aa54-27559c288bec
2009-03-22 22:55:04 +00:00
kenneth.skovhede@gmail.com 0cd0b4d1c8 Added the cleanup method, this closes #16.
Fixed a bug where non-modified files were marked as deleted.
Cleaned up the ListContent method to use the same code as the Backup method, this closes #31.
Added a WEBDAV backend for #28, but there is no UI for it yet.
Made most of the work for documenting commandline options, #14.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@123 59da171f-624f-0410-aa54-27559c288bec
2009-03-21 12:46:54 +00:00
kenneth.skovhede@gmail.com 5bb75df28d Added passive/active option to the FTP backend.
Added button to create the remote folder, when using FTP.
This closes #2.
Added progressbars and status text to the status window.
This closes #7.
Fixed issues with interrupted uploads, if there were files, but the manifest was incomplete.
The FTP connection now has keep-alive disabled.
This closes #15.
Fixed #12 for now, the fix could have more grace, but works for now.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@112 59da171f-624f-0410-aa54-27559c288bec
2009-03-11 20:56:01 +00:00
kenneth.skovhede@gmail.com 8babf1d616 Updated license notices.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@85 59da171f-624f-0410-aa54-27559c288bec
2009-02-10 23:36:15 +00:00
kenneth.skovhede@gmail.com c9ce3a3216 Added options to throttle up and download.
GPG encryption now works correctly.
Asyncronous uploads now work as expected.

git-svn-id: https://duplicati.googlecode.com/svn/trunk@73 59da171f-624f-0410-aa54-27559c288bec
2009-01-25 19:33:36 +00:00
kenneth.skovhede@gmail.com ea82284a78 A not-so-robust-but-working version of the SSH backend is ready.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@65 59da171f-624f-0410-aa54-27559c288bec
2009-01-15 14:47:05 +00:00
kenneth.skovhede@gmail.com c4fec09e6a Now supports the FTP backend.
git-svn-id: https://duplicati.googlecode.com/svn/trunk@64 59da171f-624f-0410-aa54-27559c288bec
2009-01-15 12:57:52 +00:00
kenneth.skovhede@gmail.com 987086e8f0 temp commit
git-svn-id: https://duplicati.googlecode.com/svn/trunk@57 59da171f-624f-0410-aa54-27559c288bec
2009-01-14 17:29:30 +00:00
kenneth.skovhede@gmail.com 35b30faf04 temp commit
git-svn-id: https://duplicati.googlecode.com/svn/trunk@56 59da171f-624f-0410-aa54-27559c288bec
2009-01-14 17:28:09 +00:00
kenneth.skovhede@gmail.com 207287d9be git-svn-id: https://duplicati.googlecode.com/svn/trunk@55 59da171f-624f-0410-aa54-27559c288bec 2009-01-14 17:14:37 +00:00