Hi everyone
Example to illustrate my problem
In the same aft job I try to transfer 3 differents ( I cannot use *)files from the same share, 1st ftp correct but the 2nd = ko and the 3rd forget !
they use Control M6.3. They use too Control M6.1.3 and there are no problem with this kind ob job.
It is transfert between 2 windows servers, with unix
+ ********** Starting transfer #1 out of 2 ***************
Connection to FTP server on host ctmtest2 was established
Connection to FTP server on host ctmtest3 was established
Open data connection for command: RETR Synchro_ControlmEM_OUT.12201
ftp reply --->150 Opening ASCII mode data connection for Synchro_ControlmEM_OUT.12201(196949 bytes).
Transfer #1 transferring
Src file: '_var/aftuser2/data/Synchro_ControlmEM_OUT.12201' on host 'ctmtest2'
Dst file: '_var/aftuser1/data/Synchro_ControlmEM_OUT.12201' on host 'ctmtest3'
Open data connection for command: STOR Synchro_ControlmEM_OUT.12201
ftp reply --->150 Binary data connection for Synchro_ControlmEM_OUT.12201 (10.126.116.95,35521).
Transferred: 0 Elapsed: 0sec Percent: 0 status: In Progress
Transferred: 1196 Elapsed: 0sec Percent: 100 status: Ended OK
Source file 'Synchro_ControlmEM_OUT.12201' deleted successfully Transfer #1 completed successfully
+ ********** Starting transfer #2 out of 2 ***************
ftp reply --->550 _var/aftuser2/data: The system cannot\
find the path specified.
Unable to enter source directory '_var/aftuser2/data' on host ctmtest2
I check the box 'continue on failure' but nothing change
I check the box 'rerun from point of failure' but noting change too.
Any ideas ?
[/img]
Multiple FTP in the same job doen't work correctly
- philmalmaison
- Nouveau
- Posts: 1148
- Joined: 08 Jun 2007 12:00
- Location: Ile de France
the second transfert doesn't work because the source file as you ask for, has been deleted, the third because the second is KO
+ Job started at '0908 16:00:02:234' orderno - '000gl' runno - '00023'
Number of transfers - 2
+ Host1 'sapteus2'[Unix-LOCAL] username 'aftuser2' - Host2 'ctmtest2'[Unix-FTP\
] username 'aftuser1'
Local host is: sapteus2 - SunOS 5.10 Generic_142900-10 sun4v - SUNW,Sun-Blade\
-T6320 sparc
+ ********** Starting transfer #1 out of 2 ***************
Connection to FTP server on host ctmtest2 was established
Transfer #1 transferring
Src file: '/var/aftuser2/data/Synchro_ControlmEM_OUT.12201' on host 'sapteus2'
Dst file: '/var/aftuser1/data/Synchro_ControlmEM_OUT.12201' on host 'ctmtest2'
Open data connection for command: STOR Synchro_ControlmEM_OUT.12201
ftp reply --->150 Opening BINARY mode data connection for Synchro_ControlmEM_\
OUT.12201.
Transferred: 0 Elapsed: 0sec Percent: 0 status: In Progress
Transferred: 1196 Elapsed: 0sec Percent: 100 status: Ended OK
Source file 'Synchro_ControlmEM_OUT.12201' deleted successfully
Transfer #1 completed successfully
+ ********** Starting transfer #2 out of 2 ***************
Open data connection for command: RETR Synchro_ControlmEM_OUT.12201
ftp reply --->150 Opening BINARY mode data connection for Synchro_ControlmEM_\
OUT.12201 (1196 bytes).
Transfer #2 transferring
Src file: '/var/aftuser1/data/Synchro_ControlmEM_OUT.12201' on host 'ctmtest2'
Dst file: '/var/aftuser2/data/Synchro_ControlmEM_OUT.12201' on host 'sapteus2'
Transferred: 0 Elapsed: 0sec Percent: 0 status: In Progress
Transferred: 1196 Elapsed: 0sec Percent: 100 status: Ended OK
Source file 'Synchro_ControlmEM_OUT.12201' deleted successfully
Transfer #2 completed successfully
Job executed successfully. exiting.
Job ended at '0908 16:00:02:729'
Elapsed time [0sec] CPU usage [0.0sec]
regards,
Philmalmaison
+ Job started at '0908 16:00:02:234' orderno - '000gl' runno - '00023'
Number of transfers - 2
+ Host1 'sapteus2'[Unix-LOCAL] username 'aftuser2' - Host2 'ctmtest2'[Unix-FTP\
] username 'aftuser1'
Local host is: sapteus2 - SunOS 5.10 Generic_142900-10 sun4v - SUNW,Sun-Blade\
-T6320 sparc
+ ********** Starting transfer #1 out of 2 ***************
Connection to FTP server on host ctmtest2 was established
Transfer #1 transferring
Src file: '/var/aftuser2/data/Synchro_ControlmEM_OUT.12201' on host 'sapteus2'
Dst file: '/var/aftuser1/data/Synchro_ControlmEM_OUT.12201' on host 'ctmtest2'
Open data connection for command: STOR Synchro_ControlmEM_OUT.12201
ftp reply --->150 Opening BINARY mode data connection for Synchro_ControlmEM_\
OUT.12201.
Transferred: 0 Elapsed: 0sec Percent: 0 status: In Progress
Transferred: 1196 Elapsed: 0sec Percent: 100 status: Ended OK
Source file 'Synchro_ControlmEM_OUT.12201' deleted successfully
Transfer #1 completed successfully
+ ********** Starting transfer #2 out of 2 ***************
Open data connection for command: RETR Synchro_ControlmEM_OUT.12201
ftp reply --->150 Opening BINARY mode data connection for Synchro_ControlmEM_\
OUT.12201 (1196 bytes).
Transfer #2 transferring
Src file: '/var/aftuser1/data/Synchro_ControlmEM_OUT.12201' on host 'ctmtest2'
Dst file: '/var/aftuser2/data/Synchro_ControlmEM_OUT.12201' on host 'sapteus2'
Transferred: 0 Elapsed: 0sec Percent: 0 status: In Progress
Transferred: 1196 Elapsed: 0sec Percent: 100 status: Ended OK
Source file 'Synchro_ControlmEM_OUT.12201' deleted successfully
Transfer #2 completed successfully
Job executed successfully. exiting.
Job ended at '0908 16:00:02:729'
Elapsed time [0sec] CPU usage [0.0sec]
regards,
Philmalmaison
I think I faced the same problem already
Seems your problem is linked to the fact when the second transfer starts the FTP is repositioned to another directory then the root on the unix server then you would expect.
For each subdirectory you enter you have to go back out of it in the subsequent transfer.
This means for you the following
In transfer 1 you do a transfer _var/aftuser2/data/toto
In transfer 2 you do a transfer ..\..\..\_var/aftuser2/data/tata
In transfer 3 you do a transfer ..\..\..\_var/aftuser2/data/titi
The ..\..\..\ is meant for going back 3 subfolders to your root and then start of your new transfer otherwise your transfer thinks it needs to search the other file in _var/aftuser2/data/_var/aftuser2/data/
which is off course wrong since that does not exist.
Hope I explained it well.
For each subdirectory you enter you have to go back out of it in the subsequent transfer.
This means for you the following
In transfer 1 you do a transfer _var/aftuser2/data/toto
In transfer 2 you do a transfer ..\..\..\_var/aftuser2/data/tata
In transfer 3 you do a transfer ..\..\..\_var/aftuser2/data/titi
The ..\..\..\ is meant for going back 3 subfolders to your root and then start of your new transfer otherwise your transfer thinks it needs to search the other file in _var/aftuser2/data/_var/aftuser2/data/
which is off course wrong since that does not exist.
Hope I explained it well.
I understand what you explain.
But in this case the directory is on windows server, how could I say to go back and restart from beginning ?
Here in this place they use virtual directory ( for me it's new)
ex : virtual directory toto = C$\DATA\OUTPUT
They I have the same job (FT) on control M 6.1.3 and there are no problem You can have 4 FT in the same job = OK
But in this case the directory is on windows server, how could I say to go back and restart from beginning ?
Here in this place they use virtual directory ( for me it's new)
ex : virtual directory toto = C$\DATA\OUTPUT
They I have the same job (FT) on control M 6.1.3 and there are no problem You can have 4 FT in the same job = OK
+ ********** Starting transfer #2 out of 3 ***************
ftp reply --->550 ..\_TransfertINTG\Operations-IT\FA-Profolio: The system cannot find the path specified.
Unable to enter source directory '..\_TransfertINTG\Operations-IT\FA-Profolio\[/list][/list]
for the second FT it's impossible with .. or without
and the directory exist
ftp reply --->550 ..\_TransfertINTG\Operations-IT\FA-Profolio: The system cannot find the path specified.
Unable to enter source directory '..\_TransfertINTG\Operations-IT\FA-Profolio\[/list][/list]
for the second FT it's impossible with .. or without
and the directory exist
The log I get:
the first ft is ok ( virtual directory to virtual directory)
and the second is KO ( with .. or not)
+ ********** Starting transfer #1 out of 3 ***************
Connection to FTP server on host windows was established
Connection to FTP server on host windows was established
Open data connection for command: RETR turlute_20070112.txt
ftp reply --->150 Opening BINARY mode data connection for turlute_20070112.t\
xt(237191 bytes).
Transfer #1 transferring
Src file: '_TransfertCTLQ/Operations-IT/share/turlute_20070112.txt' on\
host 'windows'
Dst file: 'PHC\/io/tur/lute/old/turlute_20070112.txt' on host windows
Open data connection for command: STOR turlute_20070112.txt
ftp reply --->150 Opening BINARY mode data connection for turlute_20070112.t\
xt.
Transferred: 0 Elapsed: 0sec Percent: 0 status: In Progress
Transferred: 237191 Elapsed: 0sec Percent: 100 status: Ended OK
Transfer #1 completed successfully
+ ********** Starting transfer #2 out of 3 ***************
ftp reply --->550 \_TransfertCTLQ/Operations-IT/share: The system can\
not find the path specified.
Unable to enter source directory '\_TransfertCTLQ/Operations-IT/share\
' on host 'windows'
Job ended at '0914 16:51:22:284'
Elapsed time [1sec] CPU usage [0.0sec]
How could it be possible to cannot do this kind of ft with 6.3 and with 6.13 it's possible ?
the first ft is ok ( virtual directory to virtual directory)
and the second is KO ( with .. or not)
+ ********** Starting transfer #1 out of 3 ***************
Connection to FTP server on host windows was established
Connection to FTP server on host windows was established
Open data connection for command: RETR turlute_20070112.txt
ftp reply --->150 Opening BINARY mode data connection for turlute_20070112.t\
xt(237191 bytes).
Transfer #1 transferring
Src file: '_TransfertCTLQ/Operations-IT/share/turlute_20070112.txt' on\
host 'windows'
Dst file: 'PHC\/io/tur/lute/old/turlute_20070112.txt' on host windows
Open data connection for command: STOR turlute_20070112.txt
ftp reply --->150 Opening BINARY mode data connection for turlute_20070112.t\
xt.
Transferred: 0 Elapsed: 0sec Percent: 0 status: In Progress
Transferred: 237191 Elapsed: 0sec Percent: 100 status: Ended OK
Transfer #1 completed successfully
+ ********** Starting transfer #2 out of 3 ***************
ftp reply --->550 \_TransfertCTLQ/Operations-IT/share: The system can\
not find the path specified.
Unable to enter source directory '\_TransfertCTLQ/Operations-IT/share\
' on host 'windows'
Job ended at '0914 16:51:22:284'
Elapsed time [1sec] CPU usage [0.0sec]
How could it be possible to cannot do this kind of ft with 6.3 and with 6.13 it's possible ?