Microsoft
Software
Hardware
Network
Question : FTP
I am trying to ftp all files in a folder on a unix server over to my windows server. The problem is that trying to use an ftp client like WS_FTP freezes up just trying to display all the files in the directory. The directory contains thousands of files which total about 1GB in size. I even tried ftp through a command line and ftp does not support *.* with the get command. How can I copy thousands of files totalling over 1GB from a Unix server to a Windows server??????
Answer : FTP
Looking at:
http://www-new.experts-exc
hange.com/
OS/Unix/Q_
22062349.h
tml
You should be able to create a file called fput.sh with the following:
# !/bin/sh
## fput -- automatic procedure to put a file via ftp
# usage: fput {source} [dest]
ftp -n
<
user login password
prompt
put $1$2
quit
EOF
# end of procedure
If you need to do a binary transfer you need to add "bin" before the put command.
Then from the directory with all of the files you should be able to issue the command:
find -name * -prune -exec ./fput.sh {} \;
I have NOT tested this, so you may need to play with it a bit.
Random Solutions
Losing network connection in xp
How to check wins server is working from client PC
Call Transfer not working
Intergrade Asterisk, Snom, and outlook
bracket completion in Eclipse
How to set Program or Current Module names
Network Wide Broadcast Storm with mostly Managed Switches
How do I connect two routers (two different networks), so that computer on each can see each other?
Outlook 2003 Repeat Email
Recommendations for VoIP.