* echo current date while in ftp
@ 2001-11-30 21:05 Andy Cohen
0 siblings, 0 replies; only message in thread
From: Andy Cohen @ 2001-11-30 21:05 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
I have a ksh script that invokes ftp and sends many large files. After each
file, while still in ftp, the script issues the following command:
!echo ftp finished third disk at `date`
and then when it finishes and exits ftp it issues:
echo finished ftp at `date`
What is strange is that the `date` that is echo'ed while in ftp is always
the same even though the whole process takes several hours. Here's a
snippet from the log:
starting ftp at Fri Nov 30 00:15:10 EST 2001 {this is echo'ed right before
invoking ftp}
...
ftp start first disk at Fri Nov 30 00:15:10 EST 2001 {this is echo'ed from
within ftp right before the first 'mput *' command}
...
ftp start second disk at Fri Nov 30 00:15:10 EST 2001 {this is echo'ed from
within ftp after transferring several dozen mb for about 10 different files
and right before the next 'mput *' command}
...
ftp finished third disk at Fri Nov 30 00:15:10 EST 2001 {this echo'ed from
within ftp right before exiting -- `date` still 00:15:10 }
1382317813 bytes sent in 1.1e+04 seconds (1.2e+02 Kbytes/s)
221 Goodbye.
finished ftp at Fri Nov 30 04:22:31 EST 2001 {this is echo'ed right after
exiting ftp `date` is now 04:22:31 -- 4+ hours after starting }
Is this expected behavior?
Thanks alot!
Andy
============================
Andy Cohen
Database Systems Administrator
Cognex Corporation
1 Vision Drive
Natick, MA 01760
----------------------------------------------
e-mail: andy.cohen@cognex.com
voice: 508-650-3079
cell: 617-470-0034
fax: 508-650-3337
.........................................................
Happiness is not getting what you want,
it's wanting what you've got........
The best things in life....aren't things
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-11-30 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-30 21:05 echo current date while in ftp Andy Cohen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox