Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: Calum on 25 November 2002, 18:19
-
i got in shit for quoting before, so fuck it, you'll just have to click the link. Nevertheless this is VERY cool, i have been wondering how to do this for a while...
http://www.unix.com/showthread.php?s=&threadid=9174 (http://www.unix.com/showthread.php?s=&threadid=9174)
i haven't used this yet, so i don't know how good it is et c.
[ November 25, 2002: Message edited by: Calum ]
-
Or he could have just done an "ncftpget -R". (http://smile.gif) Unless maybe that doesn't work with NT/IIS's ftp server but I think it does. But since they have higher access to both machines in the examples I would have opted for "scp -r" over ftp. But I digress.
[edit]
Yep, just tried it with Win2k's FTP server. "ncftpget -R <url>" and "wget -r <url>" both will recursively copy a directory from a Windows 2000 (and I assume NT) FTP server. I applaud the effort on the script though. (http://smile.gif)
[/edit]
[ November 25, 2002: Message edited by: void main ]
-
so do you mean that the script is worthless in practice?
oh well, thanks for pointing out how to do it anyway, as i say i was wondering about that.
-
quote:
Originally posted by Calum:
so do you mean that the script is worthless in practice?
oh well, thanks for pointing out how to do it anyway, as i say i was wondering about that.
Not all UNIX systems include ncftpget or wget. But you can install them on most UNIX systems, just like you can install that script. I didn't see either of those two commands mentioned so I have to assume that the author of the script didn't realize they existed. I wouldn't say the effort is wasted though because it's a good example of Korn shell programming, something people should learn.