Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to get for your free account now!
FTP Script
Name: Ishmael Diale Date: September 6, 2002 at 09:16:10 Pacific OS: HP-UX CPU/Ram: HP11
Comment:
How can I write a unix script to ftp file from one machine to the other but exclude file already being transferred. The script runs under cron and only transfer new files.
Name: ishmael Date: September 9, 2002 at 00:32:28 Pacific
Reply:
I wrote the following script to ftp files from machineA to machineB. #!/usr/bin/sh { echo "open machineB user login password hash cd /directory/ mget * close" } | ftp -i -n -v 2>&1 | tee /tmp/ftplog
How do I make the script copy new files and exclude files I have already copied.
Summary: Hi. Although what u r trying to say is not very difficult by If I am at you position I will use this approach In place of - cd to the most recently created subdirectory under the one that I'm place...
Summary: I like the resources that you provided with FTP question. I need help with parsing a file on an IRMFTP server with a name like "FAU.PB1.budget". How do I write an FTP script to parse the filename "b...
Summary: hi all, This is regarding ksh script. I have a ftp script which does fine job in copying files to remote server. But i still have a small problem to solve. Directories are been created in the ser...