![]() |
![]() |
![]() |
CLI FTP client for Windows? I just tried the open-source NCFtp (NCFtpPut), but it uploads all the files, even those that didn't change on my client host, simply due to the files using the server's time when they were uploaded.
Frederic Faure
Hi
Martin
Thx but PSFTP is just NCFTP, ie. interactive FTP, doesn't seem to support recursion, the documentation says nothing about the time/date issue, and it seems like it only works through a SSH tunnel :-)
Frederic Faure
check out if curl <http://curl.haxx.se/> supports the features you need. it definately lets you automated upload and download, but it may not have synchronization features.
mb
NcFTP does support recursion using the -R flag. I can't see a way to compare local/remote files built into the client, though. Is a scriptable ftp client necessarily what you want? There are plenty of mirror scripts/packages out there that use ftp for transport, check out CPAN for some exmaples of PERL ones.
Anonymously yours
Yes, I know about -R in NcFTP, but this software will upload all the files from the client hosts, even those that didn't change (but NcFTP thinks otherwise since files are often saved on the FTP server using the date/time on the server).
Frederic Faure
OK, for those interested, download the latest Windows (now, Total) Commander, connect to an FTP server, and choose Commands | Synchronize Dirs. Make sure you check "Ignore date", or this might cause problems, as explained in the help file. Check Subdirs if you want WC to dive into sub-directories also. You'll get a list of any change in the tree, however deep the location.
Frederic Faure
NetLoad is a FTP client which is especially designed for this, and does it well.
MX
Cool :-) Looks just as good as WC. Thx!
Frederic Faure
Beyond Compare does this sort of thing too.
mb
Indeed, except it's much slower. Looks like it downloads each file locally to perform a byte-per-byte comparison to check if the files are indeed different. Maybe this is optional.
Frederic Faure
Regarding NetLoad and Total Commander, am I missing something? Does CLI mean something other than "command line interface"?
Philo
|