Hi,
Can anyone let me know odf this issue. I am trying to grab files from ftp server and load the data to sql server.To grab files i have a script but while loading the data i am using foreachloop container,Dataflow task and in dataflow task i am not sure which type of dataflow source i have to use.The files i am grabbing from ftp server seem to be like xml format but donot have xml extension,but the data in the file looks lie below and the name of the files are like"B201354602.2100-201354602.220_sm-aaa"
Data looks like:
<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="MeasDataCollection.xsl" ?>
<!DOCTYPE mdc SYSTEM "MeasDataCollection.dtd">
<mdc xmls:HTML="http://www.w3.org/TR/REC-xml">
<mfh>
<ffv>1.0.0</ffv>
<sn></sn>
<st></st>
<vn>SrSol</vn>
<cbt>20135460220000</cbt>
</mfh>
<md><neid><neun></neun><nedn>MOroot:label=sm-aaa,FDEquipmentRoot:label=Equipment,FDEquipmentFolder:label=port_NSD,SrSolALMSElement:label=wms_EVDSN</nedn></neid>
<mi><mts>20135460220000</mts><gp>3600</gp>
<mt>UTSI-FA-MIB:MIPAuthAttempts</mt>
<mt>UTSI-FA-MIB:MIPAuthFailure</mt>
<mt>UTSI-FA-MIB:MIPAuthSuccess</mt>
<mv><moid>DAT-system:label=UTSI TC3000 ,DAT-Package-SML:label=sml,DAT-FacilitiesFolder:label=facilities,DAT-SML-Facility-fa:label=fa,DAT-SML-Facility-fa-authentication:label=authentication</moid>
<r>2329920</r>
<r>1479252</r>
<r>825072</r>
<sf>FALSE</sf>
</mv>
</mi>
<mi><mts>20135460220000</mts><gp>3600</gp>
<mt>UTSI-FA-MIB:RegReqAccept</mt>
<mt>UTSI-FA-MIB:RegReqRec</mt>
<mt>UTSI-FA-MIB:RegReqReject</mt>
<mv><moid>DAT-system:label=UTSI TC3000 ,DAT-Package-SML:label=sml,DAT-FacilitiesFolder:label=facilities,DAT-SML-Facility-fa:label=fa,DAT-SML-Facility-fa-registration:label=registration</moid>
<r>709380</r>
<r>3189084</r>
<r>2213172</r>
<sf>FALSE</sf>
</mv>
</mi>
<mi><mts>20135460220000</mts><gp>3600</gp>
<mt>UTSI-RP-MIB:utsiRPRegReqDenied</mt>
<mv><moid>DAT-system:label=UTSI TC3000 ,DAT-Package-SML:label=sml,DAT-FacilitiesFolder:label=facilities,DAT-SML-Facility-rp:label=rp,DAT-SML-Facility-rp-reg-denied:label=reg-denied-statistics</moid>
<r>9516</r>
<sf>FALSE</sf>
</mv>
</mi>
<mi><mts>20135460220000</mts><gp>3600</gp>
<mt>UTSI-RP-MIB:utsiRPSo33</mt>
<mt>UTSI-RP-MIB:utsiRPSo59</mt>
<mv><moid>DAT-system:label=UTSI TC3000 ,DAT-Package-SML:label=sml,DAT-FacilitiesFolder:label=facilities,DAT-SML-Facility-rp:label=rp,DAT-SML-Facility-a10-stats:label=rp-multiple-a10-statistics</moid>
<r>5191812</r>
<r>12756</r>
<sf>FALSE</sf>
</mv>
</mi>
<mi><mts>20135460220000</mts><gp>3600</gp>
<mt>UTSI-RP-MIB:RPActiveSessions</mt>
<mt>UTSI-RP-MIB:RPDetectedPcfs</mt>
<mt>UTSI-RP-MIB:RPSessions</mt>
<mv><moid>DAT-system:label=abi TC3000 ,DAT-Package-SML:label=sml,DAT-FacilitiesFolder:label=facilities,DAT-SML-Facility-rp:label=rp</moid>
<r>0</r>
<r>24</r>
<r>0</r>
<sf>FALSE</sf>
</mv>
</mi>
</md>
<mff>
<ts>20135460220000</ts>
</mff>
</mdc>
Thanks in advance!
rr