Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Upload only changed iWeb files without .Mac' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Upload only changed iWeb files without .Mac
Authored by: TekkNick on May 25, '06 12:29:10PM

Shell access is pretty uncommon. But you should be able to work around that problem by rsyncing the directory locally like this:

rsync -rlpgovc Sites/mysite/ Sites/mysite_updated

Then you can use an FTP program that supports syncing to upload the files that have changed in mysite_updated to your web server. The only difference between the above rsync command and the original is that it will not update the timestamp on files that have the same checksum.



[ Reply to This | # ]
It will not work for me.
Authored by: uhlhorn2 on May 26, '06 07:44:30AM
I've tried this:
rsync -avc "/Applications/MAMP/htdocs/iWeb_upload/Website/" "user@xxx.xxx.xxx.xxx:AgenturALT/Website/"
(for "user" i use the user name, and for "xxx.xxx.xxx.xxx" I use the real IP)

But it will not work. I got this:

PowerBook-Gerhard-Uhlhorn:~ gerhard$ rsync -avc rssh "/Applications/MAMP/htdocs/iWeb_upload/Website/" "user@xxx.xxx.xxx.xxx:AgenturALT/Website/"
Address xxx.xxx.xxx.xxx maps to kundenserver.de, but this does not map back to the address - POSSIBLE BREAKIN ATTEMPT!
user@xxx.xxx.xxx.xxx's password: 

This account is restricted by rssh.
Allowed commands: sftp 

If you believe this is in error, please contact your system administrator.

rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-24/rsync/io.c(359)
PowerBook-Gerhard-Uhlhorn:~ gerhard$


What is the problem?

Greetings from Hamburg, Germany
Gerhard Uhlhorn

---
www.uhlhorn-agentur.de
www.uhlhorns.de

[ Reply to This | # ]

It will not work for me.
Authored by: ptone on May 26, '06 09:07:20AM

This looks like an issue with the machine your DNS on your computer. The host you are communicating with is checking whether the IP number you are sending from, matches the name it looks up to (and then is backchecking that name). Its a security check to make sure its not an IP spoof. But this could be getting you depending on how your ISP is set up. I'd send a copy to your webhost support with out the IP xxx'd out, and see if they agree - you may then need to go to your ISP and see if you can get a valid hostname assigned to your IP.

-ptone



[ Reply to This | # ]
Upload only changed iWeb files without .Mac
Authored by: Gabs on Jul 19, '06 03:50:14AM

I like your thinking!



[ Reply to This | # ]
Upload only changed iWeb files without .Mac
Authored by: Gabs on Jul 19, '06 05:25:24AM

[I like your thinking] ... TekkNick



[ Reply to This | # ]
It will not work for me.
Authored by: matx on May 29, '06 01:58:10PM

I would check that you can ssh into that machine... If it gives you the same error,
then delete .ssh/known_hosts... If not then maybe they don't support rsync.
Though if they support ssh, the you can use sftp, and a previous hint to sync local
changes.

---
Mat X -- VFX Mac Tech



[ Reply to This | # ]