Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
adding date to ftp script...urgent
Name: guru Date: July 24, 2003 at 08:35:49 Pacific OS: sun CPU/Ram: sparc
Comment:
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 server on basis of present day/month/year formats /home/user1/(230703) (ddmmyy) format.And i need to daily copy file automatically to that particular directory through ftp script.
I seen that, dir='date +'%d0703'';$dir 220703 will give the exact day and format i require but...if I add $dir in ftp script it won't do any good (e.g., cd /$HOME/user1/$dir $dir will yield - date +'%d0703 and not 220703 .
Summary: I have written a script to automatically ftp a file from one server to another. I want to add the date and time to the extension of my file name. If my script has target_name=library. how do I add...
Summary: I need an FTP script that would take a file from one Windows Server to put in another Windows Server. I am not looking for a batch script here... is this possible through an FTP script ? For Example: ...