![]() ![]() |
How to attach CurrentDatetime to filename in XIB FTP script, XIB 211 |
May 26 2009, 04:54 PM
Post
#1
|
|
|
Visitor ![]() Group: Members Posts: 2 Joined: 22-May 09 From: Bangalore Member No.: 530 |
Hi Everybody,
I have a question regrading the Datetime in FTP Script of XIB. Is it possible to get the currentdate time in the FTP Script and attach it to the file name. Anybody had experience in doing this kind of requirement ? For Example: CD $CORE_DATA"/ftp/public/alert"; -LIST "." INTO %F { -RECV %F; GET %F TO $CORE_ROOT"/archive/" %datetime%F; IF(%FTPSTATUS IN "200"-"299") { DELETE %F; } } I tried like this in FTP script to get hours and minutes: %hour=!$(date '+%H'); %min=!$(date '+%M'); but it is giving syntax error in retrieve method when I press OK button itself Please suggest me. Thanks in advance. |
|
|
|
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
Lo-Fi Version | Time is now: 30th July 2010 - 01:10 PM |
Skin designed by IPB Forum Skins
Expand / Collapse Navigation



May 26 2009, 04:54 PM


