473,395 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

ftpmirror.py in reverse?

I maintain a website on a local machine, and want to maintain a clone
of it on a www-visible remote machine via ftp. I.e., local to remote.

Going remote to local, ftpmirror.py would (I understand) do the job.

Is there some tool available (or even a parameter for ftpmirror.py)
which can do local-->remote?

--
ha************@boeing.com
6-6M21 BCA CompArch Design Engineering
Phone: (425) 342-0007
Jul 18 '05 #1
4 1812
i don't understand if u would use a python program...
However rsync is very nice and useful for site-mirroring...

Hi

"Harry George" <ha************@boeing.com> ha scritto nel messaggio
news:xq*************@cola2.ca.boeing.com...
I maintain a website on a local machine, and want to maintain a clone
of it on a www-visible remote machine via ftp. I.e., local to remote.

Going remote to local, ftpmirror.py would (I understand) do the job.

Is there some tool available (or even a parameter for ftpmirror.py)
which can do local-->remote?

--
ha************@boeing.com
6-6M21 BCA CompArch Design Engineering
Phone: (425) 342-0007
--
http://mail.python.org/mailman/listinfo/python-list



Jul 18 '05 #2
Harry George wrote:
I maintain a website on a local machine, and want to maintain a clone
of it on a www-visible remote machine via ftp. I.e., local to remote.

Going remote to local, ftpmirror.py would (I understand) do the job.

Is there some tool available (or even a parameter for ftpmirror.py)
which can do local-->remote?

I've written such a script.

http://www.aerojockey.com/software/#ftpupsync

It's public domain, use at your own risk, n' at. It probably doesn't
work on Windows, but wouldn't be hard to modify it to. Sorry, no
documentation. I really should document it, tie up loose ends and
package it.

Sorry about the tabs^H^H^H^H Unicode indent characters.
--
CARL BANKS http://www.aerojockey.com/software
"If you believe in yourself, drink your school, stay on drugs, and
don't do milk, you can get work."
-- Parody of Mr. T from a Robert Smigel Cartoon
Jul 18 '05 #3
Carl Banks <im*****@aerojockey.invalid> writes:
Harry George wrote:
I maintain a website on a local machine, and want to maintain a clone
of it on a www-visible remote machine via ftp. I.e., local to remote.

Going remote to local, ftpmirror.py would (I understand) do the job.

Is there some tool available (or even a parameter for ftpmirror.py)
which can do local-->remote?

I've written such a script.

http://www.aerojockey.com/software/#ftpupsync

It's public domain, use at your own risk, n' at. It probably doesn't
work on Windows, but wouldn't be hard to modify it to. Sorry, no
documentation. I really should document it, tie up loose ends and
package it.

Sorry about the tabs^H^H^H^H Unicode indent characters.
--
CARL BANKS http://www.aerojockey.com/software
"If you believe in yourself, drink your school, stay on drugs, and
don't do milk, you can get work."
-- Parody of Mr. T from a Robert Smigel Cartoon

Excellent; looks just right. I'll give it a try.

--
ha************@boeing.com
6-6M21 BCA CompArch Design Engineering
Phone: (425) 342-0007
Jul 18 '05 #4
"Gianluca Trombetta" <gi****************@tin.it> writes:
i don't understand if u would use a python program...
However rsync is very nice and useful for site-mirroring...

Hi

I love rsync, but there is no rsync at the other end. Just ftp.
"Harry George" <ha************@boeing.com> ha scritto nel messaggio
news:xq*************@cola2.ca.boeing.com...
I maintain a website on a local machine, and want to maintain a clone
of it on a www-visible remote machine via ftp. I.e., local to remote.

Going remote to local, ftpmirror.py would (I understand) do the job.

Is there some tool available (or even a parameter for ftpmirror.py)
which can do local-->remote?

--
ha************@boeing.com
6-6M21 BCA CompArch Design Engineering
Phone: (425) 342-0007
--
http://mail.python.org/mailman/listinfo/python-list



--
ha************@boeing.com
6-6M21 BCA CompArch Design Engineering
Phone: (425) 342-0007
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

35
by: Raymond Hettinger | last post by:
Here is a discussion draft of a potential PEP. The ideas grew out of the discussion on pep-284. Comments are invited. Dart throwing is optional. Raymond Hettinger ...
59
by: Raymond Hettinger | last post by:
Please comment on the new PEP for reverse iteration methods. Basically, the idea looks like this: for i in xrange(10).iter_backwards(): # 9,8,7,6,5,4,3,2,1,0 <do something with i> The...
14
by: ford_desperado | last post by:
Why isn't ALLOW REVERSE SCANS the default? Why do we have to - drop PK - create an index - recreate PK What are the advantages of indexes that do not allow reverse scans?
15
by: Fady Anwar | last post by:
Hi while browsing the net i noticed that there is sites publishing some software that claim that it can decompile .net applications i didn't bleave it in fact but after trying it i was surprised...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.