dslreports logo
Search similar:


uniqs
981

inGearX
3.1415 9265
join:2000-06-11
New York

1 edit

inGearX

Member

help - command line to sync FTP folders ? start / stop sync ?

hi

is there any FTP client you can recommend with a command line to sync folders ?
and to start / stop this sync ?

hmmmmmmmmmmmmmmmm how would you achieve this?

I have a "screensaver" that can call start / stop of scripts on PC idle/resume time respectively - »www.autohotkey.com/board ··· ettimer/

now point is what are the commands?

and problem I see is that I call the first script like .bat on idle and second script like .bat when to stop hmmmmmmm - how do I get the initial script to stop?

or any other way to script this?

thank you ..

cowboyro
Premium Member
join:2000-10-11
CT

cowboyro

Premium Member

I highly doubt that there is a way to sync. Timestamps will almost never be the same unless the 2 systems have a very precise time source and there is no way to check if a FTP folder has been changed without downloading the entire content.
You can add new files though based on a schedule.

darcilicious
Cyber Librarian
Premium Member
join:2001-01-02
Forest Grove, OR

darcilicious to inGearX

Premium Member

to inGearX
What are the two systems involved (OS, etc)? You want some kind of sync application/service and FTP is not that.

inGearX
3.1415 9265
join:2000-06-11
New York

inGearX

Member

said by darcilicious:

What are the two systems involved (OS, etc)? You want some kind of sync application/service and FTP is not that.

oooooooooooooooooooooooppppppppppppppsssssss

actually I want to do a one directional upload (backup) from my PC to FTP

not a sync ..

cowboyro
Premium Member
join:2000-10-11
CT

cowboyro

Premium Member

That changes the scope completely. There are many FTP utilities/clients that can do that. Of course it still assumes that no other system will modify the remote files.
Take a look at this one:
»winscp.net/eng/docs/commandline

However if you control the server, then setting up a VPN and doing proper file system copy might be a better alternative.