Hi Guys,

I'm trying to upload an attachment to a QC Folder. The attachment could be anything such as a .xls or a .qfl and the overall purpose is to move a Quality center 9.2 folder structure from one project to another project. I have found plenty of code examples such as the one below which will upload an attachment to the current test but have not been able to find anything on how to upload an attachment to a specified folder such as [QualityCenter]Subject\Test
Any ideas or code samples would be much appreciated



Dim ObjCurrentTest,ObjAttch
Set ObjCurrentTest = QCUtil.CurrentTest.Attachments
Set ObjAttch = ObjCurrentTest.AddItem(Null)
ObjAttch.FileName = "C:\...\SampleTestResults.xls"
ObjAttch.Type = 1