dichaelen / ftpsync2d Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/ftpsync2d
Automatically exported from code.google.com/p/ftpsync2d
Hi guys, thanks for this script! I'm using it and it's being really helpful in
my project.
I just wanted to give you my own version in which I added an option to use for
removing files at FTP which are no longer present on your local machine.
You need to use it with the --upload option to perform deletions.
Just wanted to share with you in case it could help anybody else.
Barbara
Original issue reported on code.google.com by [email protected]
on 30 Jan 2014 at 7:57
Attachments:
Hello,
your example "ftpsync.py ftp://ftp.example.com/rdir ldir --download" gives an
assertion error. I just cant work out in what format the login and folder
details need to be put. Could you give an example with user name and password
please.
Cheers
Original issue reported on code.google.com by [email protected]
on 25 Oct 2011 at 11:38
When I'm running the script to sync a folder with one or more filenames
with colon in it.
For example:
photos/album1:picture1.jpg
photos/album1:picture2.jpg
photos/album2:picture1.jpg
The script raises an exception saying that the a lambda function should
receive 2 arguments but is receiving 3 instead.
It happens because there is a split(":") to get the file size for each one
of the lines which break the filename in the middle.
This is happening in the version 1.0 but in a quick check in the SVN
version seems to have the same problem.
The fix I'm using is replace the split by a rsplit with a limit of 1 as
follow:
- return dict([func(*line.rsplit(':', 1)) for line in l.splitlines()])
+ return dict([func(*line.split(':')) for line in l.splitlines()])
Let me know if you need any further info.
Original issue reported on code.google.com by seocam
on 23 Feb 2010 at 5:46
What steps will reproduce the problem?
1. be on Windows
2. start a synchronization
What is the expected output? What do you see instead?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "disk\ftpsync.py", line 668, in main
session = FtpSession(remote_path)
File "disk\ftpsync.py", line 546, in __init__
assert remote_path.startswith('/'),`remote_path`
AssertionError: '\\dirtosync'
What version of the product are you using? On what operating system?
Version 1.1-svn on Windows XP SP3
Please provide any additional information below.
I wrote here to try this feature of Google Code! :-)
Original issue reported on code.google.com by [email protected]
on 5 Jan 2009 at 11:07
If no password is given, we check if gnomekeyring is available and we try
to retrieve the password associed to the host and username.
Unfortunatly, it has not -yet- been tested. (must be soon)
Original issue reported on code.google.com by [email protected]
on 21 Dec 2009 at 2:30
Attachments:
Hi,
I had problems running the client on windows, so I have made some modifications
to it. Mainly to handle the client side path separator correctly.
Check it and merge it if you want. There is no problems existing, so I only
create this ticket to share the code for you.
Other: I plan to modify the whole function to be able to follow server side
changes fluently. That means to store the .listing files locally and use the
"MDTM" stuff only when the files are changed on both sides (conflicts). But
those are bigger changes.
Brgds,
Viktor
Original issue reported on code.google.com by [email protected]
on 26 Jun 2010 at 8:27
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.