View previous topic :: View next topic
|
Author |
Message |
Karthikeswari
New User
Joined: 12 Jun 2007 Posts: 1 Location: India
|
|
|
|
Hi,
I have a control card / PS file which has the following details for FTP
login name
password
put 'USERID.FILE.NAME' receiving.file.20070404:062205
QUIT
/*
I am trying to override the date and time sufficed to the file name to the current date and time without giving the exact position where the value occurs .For ex.value can be overridden by using Overlay with the position and IF THEN statement with 1 to 3 char as 'PUT'.
But ,my scenario is trying to replace the value irrespective of the position to the current date and time.
for ex :My solution should be applicable to the case :say if the file name changes to receiving.20070404:062205.file
Is there any way this can be done ? |
|
Back to top |
|
|
bansal
New User
Joined: 03 Jan 2007 Posts: 27 Location: Hyderabad
|
|
|
|
You need the timestamp on the file name. That can be done by using the control card to calculate the timestamp.
But for the FTP purpose, i think u have to hardcore the file name. You can not use any substitute there. So you cannot do it. |
|
Back to top |
|
|
|