Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

MikeDe wrote:

And what happens when, let's imagine, both dirs are empty and the file is added to remote server?
Will it then be transferred to local folder?
If no - how I can achieve this goal?

The "keepuptodate" works local => server only. For opposite direction, you can use "synchronize" only.
MikeDe

>>3) if one file is added on local the file gets added on server

And what happens when, let's imagine, both dirs are empty and the file is added to remote server?
Will it then be transferred to local folder?
If no - how I can achieve this goal?
trinath89

Thanks This worked

Excellent job and thanks a lot :)
trinath89

Can you please tell me how to add delete switch please

- delete remote

is this correct?
martin

Re: Need assistance on what "Keepuptodate" command do

Correct. For 2) you need to add the -delete switch.
trinath89

Need assistance on what "Keepuptodate" command do

Hi,

as per my knowledge keepmeuptodate command does the following things,

1) my local and sftp location will be constantly in synchronization
2) if one file got deleted on local the file gets deleted on server
3) if one file is added on local the file gets added on server
4) if one file got appended with extra information on local that file gets appended on sftp

and viceversa.

Please correct me if i am wrong or any of the above mentioned things cannot be done with the specified command

Thanks and Regards
Trinath