Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > ftp synchronization

Reply
Thread Tools

ftp synchronization

 
 
paul
Guest
Posts: n/a
 
      03-11-2005
Can anyone recommend a program for synchronizing my local copy with the
active web site? I've got myself a nightmarishly complex web site &
there's no way I can do it manually anymore.

It's actually going to be pretty tricky because people can leave
comments so I need to download files as well as upload & I've been known
to rename or move things so it'd have to delete things on the web side
if none exists locally (except new comments) & download to local if the
date is newer than a same-named local version. The deleted or renamed
files thing is probably impossible to implement without a record of
previous names but as close as I can get.

Just to give a clue what I'm dealing with:
<http://localhost/1/?SC=go.php&DIR=Species/Eukarya/Plantae/Anthophyta/Dicots>
These are all nested folders creating the system. There's about 2,000
files & folders at this early stage.

As a kludge, I can remember what I've renamed or deleted but at least I
need to be able to upload all files with a date past the previous
upload. I suppose I might be able to check "don't overwrite all" & drag
the whole thing up.

It's php driven, so worst case is I have to program my own updater. I'm
not a very vigorous programmer <g>. Maybe someone has already written
such a thing? I have a bit more of a 'control panel' for the local
version where I could add such a feature.
 
Reply With Quote
 
 
 
 
juglesh
Guest
Posts: n/a
 
      03-11-2005

"paul" <> wrote in message
news:8sadnf3v7N1tU6zfRVn-...
> Can anyone recommend a program for synchronizing my local copy with the
> active web site? I've got myself a nightmarishly complex web site &


> Just to give a clue what I'm dealing with:
> <http://localhost/1/?SC=go.php&DIR=Species/Eukarya/Plantae/Anthophyta/Dicots>


haha, i dont seem to have that site on *my* local host!

But, i do have have a scientific web site coming up(hermit crabs), and I'd
like to see what you have.

To answer your question, how bout dreamweaver? Its nice cuz it has a
preview of what it will do, so you can make sure of what you are uploading.
I found this
http://www.primaftp.com/ftp_features...pload_site.htm.

--
juglesh




 
Reply With Quote
 
 
 
 
paul
Guest
Posts: n/a
 
      03-11-2005
juglesh wrote:

> paul wrote:
>
>>Can anyone recommend a program for synchronizing my local copy with the
>>active web site? I've got myself a nightmarishly complex web site &

>
>
>>Just to give a clue what I'm dealing with:

<http://www.edgehill.net/1/?SC=go.php&DIR=Species/Eukarya/Plantae/Anthophyta/Dicots>
>
>
> haha, i dont seem to have that site on *my* local host!
>



Oops, I fixed the link above now.


> But, i do have have a scientific web site coming up(hermit crabs), and I'd
> like to see what you have.



In fact a have one Hermit Crab:
<http://www.edgehill.net/1/?SC=go.php&DIR=Species/Eukarya/Animalia/Arthropoda/Crustacea>


>
> To answer your question, how bout dreamweaver? Its nice cuz it has a
> preview of what it will do, so you can make sure of what you are uploading.


I really don't want to do dreamweaver but maybe if it can do what I
want. I thought it's like a few hundred dollars though.



> I found this
> http://www.primaftp.com/ftp_features...pload_site.htm.



Thanks, I'll check into it. $100 after trial download.
 
Reply With Quote
 
Carolyn Marenger
Guest
Posts: n/a
 
      03-11-2005
On Fri, 11 Mar 2005 09:01:36 -0800, paul wrote:

> Can anyone recommend a program for synchronizing my local copy with the
> active web site? I've got myself a nightmarishly complex web site &
> there's no way I can do it manually anymore.


What OS are you using? Do you want a GUI interface or Command Line? Do
you want something that is automated or just runs when you tell it to?
There are lots of options, but without some of the above answered, not
much point in offering suggestions.

> It's actually going to be pretty tricky because people can leave
> comments so I need to download files as well as upload & I've been known
> to rename or move things so it'd have to delete things on the web side
> if none exists locally (except new comments) & download to local if the
> date is newer than a same-named local version. The deleted or renamed
> files thing is probably impossible to implement without a record of
> previous names but as close as I can get.


Some of the software can handle that. It is just a matter of it being
logged as it changes.

> Just to give a clue what I'm dealing with:
> <http://localhost/1/?SC=go.php&DIR=Species/Eukarya/Plantae/Anthophyta/Dicots>
> These are all nested folders creating the system. There's about 2,000
> files & folders at this early stage.


I try and I try, but I can't get to your localhost. What is public url?

Carolyn
 
Reply With Quote
 
Michael De Tomaso
Guest
Posts: n/a
 
      03-11-2005
Paul,

I use the following:

FTP sync w/Local files via: http://www.scootersoftware.com/moreinfo.php Home
of Beyond Compare

Use it to manage source code, keep folders in sync, compare program output,
and validate copies of your data. Beyond Compare can create a snapshot of a
live directory structure, and compare it against the live copy at a later
date.

Beyond Compare helps you analyze differences in detail and carefully
reconcile them. It commands a wide range of file and text operations, as
well as script commands for automating tasks.

- Thanks & take care M.D.


"paul" <> wrote in message
news:8sadnf3v7N1tU6zfRVn-...
> Can anyone recommend a program for synchronizing my local copy with the
> active web site? I've got myself a nightmarishly complex web site &
> there's no way I can do it manually anymore.
>
> It's actually going to be pretty tricky because people can leave comments
> so I need to download files as well as upload & I've been known to rename
> or move things so it'd have to delete things on the web side if none
> exists locally (except new comments) & download to local if the date is
> newer than a same-named local version. The deleted or renamed files thing
> is probably impossible to implement without a record of previous names but
> as close as I can get.
>
> Just to give a clue what I'm dealing with:
> <http://localhost/1/?SC=go.php&DIR=Species/Eukarya/Plantae/Anthophyta/Dicots>
> These are all nested folders creating the system. There's about 2,000
> files & folders at this early stage.
>
> As a kludge, I can remember what I've renamed or deleted but at least I
> need to be able to upload all files with a date past the previous upload.
> I suppose I might be able to check "don't overwrite all" & drag the whole
> thing up.
>
> It's php driven, so worst case is I have to program my own updater. I'm
> not a very vigorous programmer <g>. Maybe someone has already written such
> a thing? I have a bit more of a 'control panel' for the local version
> where I could add such a feature.



 
Reply With Quote
 
juglesh
Guest
Posts: n/a
 
      03-11-2005

"paul" <> wrote in message
news:LJCdnRehN7BydazfRVn-...
> juglesh wrote:
>
>> paul wrote:
>>
>>>Can anyone recommend a program for synchronizing my local copy with the
>>>active web site? I've got myself a nightmarishly complex web site &

>>
>>
>>>Just to give a clue what I'm dealing with:

> <http://www.edgehill.net/1/?SC=go.php&DIR=Species/Eukarya/Plantae/Anthophyta/Dicots>
>>
>>
>> haha, i dont seem to have that site on *my* local host!
>>

>
>
> Oops, I fixed the link above now.


Ahh, ok thats working...HEY-you just called me an idiot!

At first i was confused that you have *species*/domain/kingdom/etc, but now
i see that you are supposed to drill down to the specie...
>
>> But, i do have have a scientific web site coming up(hermit crabs), and
>> I'd like to see what you have.

>
>
> In fact a have one Hermit Crab:
> <http://www.edgehill.net/1/?SC=go.php&DIR=Species/Eukarya/Animalia/Arthropoda/Crustacea>


yes, and a few dungy's for the dinner table as well!
>
>
>>
>> To answer your question, how bout dreamweaver? Its nice cuz it has a
>> preview of what it will do, so you can make sure of what you are
>> uploading.

>
> I really don't want to do dreamweaver but maybe if it can do what I want.
> I thought it's like a few hundred dollars though.
>
>
>
>> I found this
>> http://www.primaftp.com/ftp_features...pload_site.htm.

>
>
> Thanks, I'll check into it. $100 after trial download.


familiar with cnet, tucows, etc? you might find cheaper/free'er ftp clients
out there. And you may know this, but you could use your computers' Find
feature to get a list of all files modified between such and such dates,
then drag those onto a ftp client or similar method.



 
Reply With Quote
 
paul
Guest
Posts: n/a
 
      03-11-2005
Carolyn Marenger wrote:

> On Fri, 11 Mar 2005 09:01:36 -0800, paul wrote:
>
>
>>Can anyone recommend a program for synchronizing my local copy with the
>>active web site? I've got myself a nightmarishly complex web site &
>>there's no way I can do it manually anymore.

>
>
> What OS are you using?


WinXP with Apache server at home. I think the host must be Apache on
linux because it sorts differently than mine in some cases.


> Do you want a GUI interface or Command Line?



I'm not real good with command line dos, but I could put a button on my
local version to run through php.

Dialogue boxes & an option list would be nice <g>.


> Do you want something that is automated or just runs when you tell it to?



"just runs when I tell it to"


>>It's actually going to be pretty tricky because people can leave
>>comments so I need to download files as well as upload & I've been known
>>to rename or move things so it'd have to delete things on the web side
>>if none exists locally (except new comments) & download to local if the
>>date is newer than a same-named local version. The deleted or renamed
>>files thing is probably impossible to implement without a record of
>>previous names but as close as I can get.

>
>
> Some of the software can handle that. It is just a matter of it being
> logged as it changes.



Ouch that sounds like a lot of programming (for me). Probably more than
I'm up for.

Is it possible to just do a little common sense using the archive
attribute scanning the files on both sides with a simple if statements?
Maybe it's not that hard really. If I pick up comments manually (rarely
get any, and I get email notice) then it's a simple as mirroring but
that's still more complicated than deleting & re-copying the whole
thing. And that's way too slow. Surely there are programs available to
run the mirroring (must delete orphans) if I keep it that simple. First
check for new comments, then mirror back.

I don't think logging would work because I'm using all kinds of programs
to re-name & move files.

>
>>Just to give a clue what I'm dealing with:

<http://www.edgehill.net/1/?SC=go.php&DIR=Species/Eukarya/Plantae/Anthophyta/Dicots>
>>These are all nested folders creating the system. There's about 2,000
>>files & folders at this early stage.

>
>
> I try and I try, but I can't get to your localhost. What is public url?



If you had the IP number you could

: - )


I wonder if this thing is a mistaken structure to use anyways, versus a
database, but that's another discussion <g>. I think I'll need a
database to create a search index. Right now you can only step up and
down the nested levels.

 
Reply With Quote
 
paul
Guest
Posts: n/a
 
      03-11-2005
Michael De Tomaso wrote:

> Paul,
>
> I use the following:
>
> FTP sync w/Local files via: http://www.scootersoftware.com/moreinfo.php
> Home of Beyond Compare



I tried Beyond Compare once in a file emergency & it saved my skin!
Sounds like you mostly use it to more easily manually update as a browser.

Well, I'm trying it now. It's taking a while to load up about 2000 files
& folders and it'll grow much more than that. It took about 5 minutes to
load. Hmm, it works but it's a big chore. I think I need a script of
some sort to automate it! I'll study it.

Thanks.


>
> Use it to manage source code, keep folders in sync, compare program output,
> and validate copies of your data. Beyond Compare can create a snapshot of a
> live directory structure, and compare it against the live copy at a later
> date.
>
> Beyond Compare helps you analyze differences in detail and carefully
> reconcile them. It commands a wide range of file and text operations, as
> well as script commands for automating tasks.
>
> - Thanks & take care M.D.

 
Reply With Quote
 
Carolyn Marenger
Guest
Posts: n/a
 
      03-11-2005
On Fri, 11 Mar 2005 11:25:58 -0800, paul wrote:

> Carolyn Marenger wrote:
>
>> On Fri, 11 Mar 2005 09:01:36 -0800, paul wrote:
>>
>>>Can anyone recommend a program for synchronizing my local copy with the
>>>active web site? I've got myself a nightmarishly complex web site &
>>>there's no way I can do it manually anymore.

>>
>> What OS are you using?

>
> WinXP with Apache server at home. I think the host must be Apache on
> linux because it sorts differently than mine in some cases.


Then I can't help you. I might be able to point out some linux apps, but
they won't do you much good.

>>>It's actually going to be pretty tricky because people can leave
>>>comments so I need to download files as well as upload & I've been known
>>>to rename or move things so it'd have to delete things on the web side
>>>if none exists locally (except new comments) & download to local if the
>>>date is newer than a same-named local version. The deleted or renamed
>>>files thing is probably impossible to implement without a record of
>>>previous names but as close as I can get.

>>
>> Some of the software can handle that. It is just a matter of it being
>> logged as it changes.

>
> Ouch that sounds like a lot of programming (for me). Probably more than
> I'm up for.


It is actually quite easy with half decent revision control software. I
don't know what you would use in Windows, but I am sure there are lots of
possibilities.

Basically, you set the RCS to monitor all the documents, including
directories within a driectory tree. After that, it handles noting what
has changes and what hasn't. After that it communicates with your ftp or
site management software and tells it what has changed. The site
management software then uploads/makes the changes.

A little more complicated with the other end also changing, but not too
much. Gets a bunch more complicated when for example you have a page,
..../myFancyStuff/index.html and you change the directory to
/myTrickyStuff/. Do you then want an automatically generated page to
point out the new location?

> Is it possible to just do a little common sense using the archive
> attribute scanning the files on both sides with a simple if statements?
> Maybe it's not that hard really. If I pick up comments manually (rarely
> get any, and I get email notice) then it's a simple as mirroring but
> that's still more complicated than deleting & re-copying the whole
> thing. And that's way too slow. Surely there are programs available to
> run the mirroring (must delete orphans) if I keep it that simple. First
> check for new comments, then mirror back.


Attribute scanning will work for files that have been altered, but what
happens when both files have been altered? Checking latest versions -
date last modified leads to the same issues.

> I don't think logging would work because I'm using all kinds of programs
> to re-name & move files.


If an app is monitoring the entire contents of a directory tree, then it
will.

Carolyn
 
Reply With Quote
 
Spartanicus
Guest
Posts: n/a
 
      03-11-2005
paul <> wrote:

>Can anyone recommend a program for synchronizing my local copy with the
>active web site? I've got myself a nightmarishly complex web site &
>there's no way I can do it manually anymore.


I use Netload FTP, it's homepage appears to have disappeared from the
net, but it may be possible to find a copy somewhere.

--
Spartanicus
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sun.net.ftp.FtpProtocolException: Error reading FTP pending reply long990802@gmail.com Java 3 12-11-2005 02:46 AM
Re: ftplib question - ftp.dir() returns something and ftp.nlst()does not Nico Grubert Python 0 11-25-2005 10:09 AM
ftplib question - ftp.dir() returns something and ftp.nlst() does not Nico Grubert Python 0 11-24-2005 02:00 PM
Net::FTP problems getting files from Windows FTP server, but not Linux FTP Server. D. Buck Perl Misc 2 06-29-2004 02:05 PM
FTP over SSL vs FTP over SSH someone Java 1 04-25-2004 03:30 PM



Advertisments