AutoHotkey Community

It is currently May 27th, 2012, 1:57 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: January 27th, 2010, 12:29 pm 
Offline

Joined: January 12th, 2007, 4:30 am
Posts: 531
Location: Norway
While trying to find out how to synchronize a remote FTP site with a local folder, I found the following utilities rsync, richcopy, deltacopy, FTPsync, ftpdrive. I thought it might be worth posting their links here.

I need something to run on my business server so the only source I know I can trust is Richcopy (Microsoft), but so far I haven't been able to make it work with any FTP sites. Does anyone by any chance have any experience in using RichCopy to synchronize via FTP?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 27th, 2010, 12:46 pm 
Offline

Joined: May 12th, 2009, 2:37 pm
Posts: 640
Location: Gloucester UK
If you could get ssh set up on your server you could use one of the sftp programs such as putty sftp of filezilla

These would be more secure for your business as passwords get sent in plain text with ftp but are encrypted with sftp.

I'm sure it wouldn't be too much effort to create an ahk script which monitors a folder on your computer and syncronises it with your server, a la Dropbox, or simply runs a specified command every half hour or so to keep your two machines syncronised. (As both psftp and fzsftp run from the command line you could have them run in the background)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 27th, 2010, 12:54 pm 
Offline

Joined: January 12th, 2007, 4:30 am
Posts: 531
Location: Norway
wooly_sammoth: Thanks for your reply, but the remote FTP site isn't my own. I believe it's a windows machine and I have no experience using SSH. I've been using the FileZilla client for many years to download/upload to FTP sites. When you say they can both be run from the command line, you pretty much just mean they can be started/stopped from the command line as described here:
http://wiki.filezilla-project.org/Comma ... ts_(Client)

Or did you mean they can be "automated" through the command line to upload/download specific files for examples?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 27th, 2010, 1:48 pm 
Offline

Joined: May 12th, 2009, 2:37 pm
Posts: 640
Location: Gloucester UK
Not 100% sure about the Filezilla option but putty sftp is just a command line executable. I haven't used it for anything other than uploading and downloading but I'm sure that with other arguments it could be made to download all but skip any files which already exist on the target machine for example. you could create an autohotkey app that could automate the command for you.

Just re-read your post and realised that you are talking about just filezilla ftp not sftp in which case I'm even less sure. I have used standalone fzsftp.exe on the command line but not the full ftp client.

Have you considered setting up your own remote server? A simple virtual server just running ssh could act as your backup. It would be more secure in transit and you'd be in control of the data rather than relying on another companys server


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 27th, 2010, 2:37 pm 
Offline

Joined: January 12th, 2007, 4:30 am
Posts: 531
Location: Norway
wooly_sammoth wrote:
...putty sftp is just a command line executable... ...it could be made to download all but skip any files which already exist on the target machine for example. you could create an autohotkey app that could automate the command for you.
I'll have to look into this!

wooly_sammoth wrote:
Just re-read your post and realised that you are talking about just filezilla ftp not sftp in which case I'm even less sure. I have used standalone fzsftp.exe on the command line but not the full ftp client.
We both seem to be confusing fzsftp/FileZilla, I thought you were refering to the standard FileZilla FTP client, but you mean to say that fzsftp can be used as a standalone FTP utility? I've tried finding out how to use fzsftp, but all I found was http://man.cx/fzsftp(1 which isn't very informative at all. When I run fzsftp, it gives me an error message saying that it can only be run from FileZilla, do I need to have FileZilla running? If not, where can I find more information on how to use fzsftp?

wooly_sammoth wrote:
Have you considered setting up your own remote server? A simple virtual server just running ssh could act as your backup. It would be more secure in transit and you'd be in control of the data rather than relying on another companys server
Unfortunately, this is a collaboration project between two different companies who intend to share project files over FTP so that's not really a viable option.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 28th, 2010, 11:34 am 
Offline

Joined: May 12th, 2009, 2:37 pm
Posts: 640
Location: Gloucester UK
fzsftp is the sftp module for the filezilla client. It is bundled with the client when you download it. I'm not sure (and your searches seem to back this up) that you could download it seperately. I have used it as a command line utility though but I had Filezilla installed at the time.

I had a quick look at http://man.cx/fzsftp and noticed this line

Quote:
fzsftp is based on the psftp component of PuTTY


so it seems that by using one you are using the other anyway


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group