List Info

Thread: Looking for a FTP sync'er suggestion




Looking for a FTP sync'er suggestion
country flaguser name
France
2008-03-11 10:48:32
Hi,

I am looking for a program able to make a remote FTP site
look like a 
copy of a local dir. I feel as if I were dunce-cap-awards(R)
nominated, 
but I really did not find one!

In ports/ftp many programs say they do the reverse, and a
few say they 
``mirror'' without more explanation. I gave a tried to
mirror, ftpmirror 
and ftpsync (among others), all of them broke or failed to
be useful.


I need this to publish a web site on a space allocated to me
by my ISP, 
I am writing a script that automates publication, and at the
very end, I 
  noticed the key-piece was missing!
-- 
Cheers,
Michal

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Looking for a FTP sync'er suggestion
country flaguser name
China
2008-03-11 11:10:23
Try rsync

Luke Jee
Prevantage Inc.

On 2008-3-11, at 下午11:48, Michaël Grünewald
<michael.grunewaldlapos 
te.net> wrote:

> Hi,
>
> I am looking for a program able to make a remote FTP
site look like  
> a copy of a local dir. I feel as if I were
dunce-cap-awards(R)  
> nominated, but I really did not find one!
>
> In ports/ftp many programs say they do the reverse, and
a few say  
> they ``mirror'' without more explanation. I gave a
tried to mirror,  
> ftpmirror and ftpsync (among others), all of them broke
or failed to  
> be useful.
>
>
> I need this to publish a web site on a space allocated
to me by my  
> ISP, I am writing a script that automates publication,
and at the  
> very end, I  noticed the key-piece was missing!
> -- 
> Cheers,
> Michaël
>
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org 
> "
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Looking for a FTP sync'er suggestion
country flaguser name
United States
2008-03-11 11:20:48
On Tuesday 11 March 2008 16:48:32 Michal Grnewald wrote:

> I need this to publish a web site on a space allocated
to me by my ISP,
> I am writing a script that automates publication, and
at the very end, I
>   noticed the key-piece was missing!

If you use KDEwebdev (formerly Quanta), define a project and
you will have the 
option to publish it to remote site, which will do exactly
what you want.

-- 
Mel

Problem with today's modular software: they start with the
modules
    and never get to the software part.
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Looking for a FTP sync'er suggestion
country flaguser name
Germany
2008-03-11 11:27:07
Michal Grnewald schrieb:
> Hi,
> 
> I am looking for a program able to make a remote FTP
site look like a 
> copy of a local dir. I feel as if I were
dunce-cap-awards(R) nominated, 
> but I really did not find one!
> 
> In ports/ftp many programs say they do the reverse, and
a few say they 
> ``mirror'' without more explanation. I gave a tried to
mirror, ftpmirror 
> and ftpsync (among others), all of them broke or failed
to be useful.
> 
> 
> I need this to publish a web site on a space allocated
to me by my ISP, 
> I am writing a script that automates publication, and
at the very end, I 
>  noticed the key-piece was missing!

I usually do it with lftp, in a script like:

[michaelserafina ~]$ cat work/websites/foobar/lftp.upload
#!/usr/local/bin/lftp -f
debug 3;

set dns:fatal-timeout 30;

set ftp:ssl-allow true;

open -u username,password host;

put upload/updating.php -o /index.php || exit 1

mirror --verbose=1 --parallel=1 --delete --reverse 
--exclude ".htaccess" --exclude
".htpasswd" 
--exclude "index.php" --exclude
"updating.php" 
upload / || exit 1

put upload/index.php -o /index.php || exit 1


Then I'll call ./lftp.upload and be done.


Michael
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Looking for a FTP sync'er suggestion
country flaguser name
United States
2008-03-11 11:35:02
On Wed, Mar 12, 2008 at 12:10:23AM +0800, Luke Jee
top-posted:
> Try rsync

[...]

> >I am looking for a program able to make a remote
FTP site look like  
> >a copy of a local dir. I feel as if I were
dunce-cap-awards(R)  
> >nominated, but I really did not find one!

rsync isn't going to work unless one has more control over
the http
server than one usually gets. Must install rsync on each
end. If one has
that much control then I'd say use svn or cvs to keep the
website in
sync. You need version control anyway, might as well use it
as your
synchronization utility.

-- 
David Kelly N4HHE, dkellyHiWAAY.net
============================================================
============
Whom computers would destroy, they must first drive mad.
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Looking for a FTP sync'er suggestion
country flaguser name
France
2008-03-11 11:52:25
Michael Ross a crit :
> Michal Grnewald schrieb:
>> Hi,
>>
>> I am looking for a program able to make a remote
FTP site look like a 
>> copy of a local dir. I feel as if I were
dunce-cap-awards(R) 
>> nominated, but I really did not find one!
>>
>> In ports/ftp many programs say they do the reverse,
and a few say they 
>> ``mirror'' without more explanation. I gave a tried
to mirror, 
>> ftpmirror and ftpsync (among others), all of them
broke or failed to 
>> be useful.
>>
>>
>> I need this to publish a web site on a space
allocated to me by my 
>> ISP, I am writing a script that automates
publication, and at the very 
>> end, I  noticed the key-piece was missing!
> 
> I usually do it with lftp, in a script like:
> 
> [michaelserafina ~]$ cat
work/websites/foobar/lftp.upload
> #!/usr/local/bin/lftp -f
> debug 3;
> 
> set dns:fatal-timeout 30;
> 
> set ftp:ssl-allow true;
> 
> open -u username,password host;
> 
> put upload/updating.php -o /index.php || exit 1
> 
> mirror --verbose=1 --parallel=1 --delete --reverse 
> --exclude ".htaccess" --exclude
".htpasswd" 
> --exclude "index.php" --exclude
"updating.php" 
> upload / || exit 1
> 
> put upload/index.php -o /index.php || exit 1
> 
> 
> Then I'll call ./lftp.upload and be done.

I like this way, thank you,
-- 
Michal

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Looking for a FTP sync'er suggestion
country flaguser name
United Kingdom
2008-03-11 11:49:03
On Tue, March 11, 2008 16:27, Michael Ross wrote:
> Michal Grnewald schrieb:
>> Hi,
>>
>> I am looking for a program able to make a remote
FTP site look like
>> a
>> copy of a local dir. I feel as if I were
dunce-cap-awards(R)
>> nominated,
>> but I really did not find one!
>>
>> In ports/ftp many programs say they do the reverse,
and a few say
>> they
>> ``mirror'' without more explanation. I gave a tried
to mirror,
>> ftpmirror
>> and ftpsync (among others), all of them broke or
failed to be
>> useful.
>>
>>
>> I need this to publish a web site on a space
allocated to me by my
>> ISP,
>> I am writing a script that automates publication,
and at the very
>> end, I
>>  noticed the key-piece was missing!
>
> I usually do it with lftp, in a script like:
>
> [michaelserafina ~]$ cat
work/websites/foobar/lftp.upload
> #!/usr/local/bin/lftp -f
> debug 3;
>
> set dns:fatal-timeout 30;
>
> set ftp:ssl-allow true;
>
> open -u username,password host;
>
> put upload/updating.php -o /index.php || exit 1
>
> mirror --verbose=1 --parallel=1 --delete --reverse 
> --exclude ".htaccess" --exclude
".htpasswd" 
> --exclude "index.php" --exclude
"updating.php" 
> upload / || exit 1
>
> put upload/index.php -o /index.php || exit 1
>
>
> Then I'll call ./lftp.upload and be done.
>
>
> Michael
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribefreebsd.org"
>

I'd support this suggestion as well. Using lftp (from the
ports tree)
requires nothing more that an FTP server at the remote end
(i.e. the
ISP). It can "mirror" in both directions, i.e.
client -> server and
server -> client.

-- 
Kelvin


_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: Looking for a FTP sync'er suggestion
user name
2008-03-11 13:17:57
>
> I am looking for a program able to make a remote FTP
site look like a copy of 
> a local dir. I feel as if I were dunce-cap-awards(R)
nominated, but I really

mirror -R in lftp


> did not find one!
>
> In ports/ftp many programs say they do the reverse, and
a few say they 
> ``mirror'' without more explanation. I gave a tried to
mirror, ftpmirror and 
> ftpsync (among others), all of them broke or failed to
be useful.
>
>
> I need this to publish a web site on a space allocated
to me by my ISP, I am 
> writing a script that automates publication, and at the
very end, I  noticed 
> the key-piece was missing!
> -- 
> Cheers,
> Michal
>
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
>
>
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Re: Looking for a FTP sync'er suggestion
country flaguser name
United States
2008-03-11 13:04:21
On Tue, 11 Mar 2008, Kelvin Woods wrote:

> On Tue, March 11, 2008 16:27, Michael Ross wrote:
>> Michal Grnewald schrieb:
>>> Hi,
>>>
>>> I am looking for a program able to make a
remote FTP site look like a copy 
>>> of a local dir. I feel as if I were
dunce-cap-awards(R) nominated, but I 
>>> really did not find one!
>>>
>>> In ports/ftp many programs say they do the
reverse, and a few say they 
>>> ``mirror'' without more explanation. I gave a
tried to mirror, ftpmirror and 
>>> ftpsync (among others), all of them broke or
failed to be useful.
>>>
>>>
>>> I need this to publish a web site on a space
allocated to me by my ISP, I am 
>>> writing a script that automates publication,
and at the very end, I
>>>  noticed the key-piece was missing!
>>
>> I usually do it with lftp, in a script like:
>>
>> [michaelserafina ~]$ cat
work/websites/foobar/lftp.upload
>> #!/usr/local/bin/lftp -f
>> debug 3;
>> set dns:fatal-timeout 30;
>> set ftp:ssl-allow true;
>> open -u username,password host;
>> put upload/updating.php -o /index.php || exit 1
>> mirror --verbose=1 --parallel=1 --delete --reverse

>> --exclude ".htaccess" --exclude
".htpasswd" 
>> --exclude "index.php" --exclude
"updating.php" 
>> upload / || exit 1
>> put upload/index.php -o /index.php || exit 1
>>
>> Then I'll call ./lftp.upload and be done.
>>
>> Michael
>> _______________________________________________
>> freebsd-questionsfreebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribefreebsd.org"
>>
>
> I'd support this suggestion as well. Using lftp (from
the ports tree)
> requires nothing more that an FTP server at the remote
end (i.e. the
> ISP). It can "mirror" in both directions,
i.e. client -> server and
> server -> client.
>
lftp is neat and new (to me). It reminds me of the advice
given by Evi Nemeth 
gave in the first Unix book I read some years ago,
paraphrased as, "look at all 
the man pages every so often".

If the ISP supports ssh, putting a key on the server allows
easy update for a 
few files:

   scp [-r] [path-to-file/]newfile.html idisp.server.com:/path-to-html/

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Re: Looking for a FTP sync'er suggestion
user name
2008-03-11 13:35:04
> all the man pages every so often".
>
> If the ISP supports ssh, putting a key on the server
allows easy update for a 
> few files:
>
>  scp [-r] [path-to-file/]newfile.html idisp.server.com:/path-to-html/
>
for more use rsync -e "ssh -C"
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-10] [11-12]

about | contact  Other archives ( Real Estate discussion Medical topics )