Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Copy Files
Topic Summary:
Created On: 13-Oct-2008 20:12
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 13-Oct-2008 20:12
User is offline View Users Profile Print this message


Douglas Perez

Posts: 47
Joined: 20-Feb-2008

Does DOORS have the capability to copy files thru a GUI and copy the file in a specified location?

I have a script where the user can select the file, but all i'm getting is the file name.

Any suggestions are welcome.
Report this to a Moderator Report this to a Moderator
 13-Oct-2008 22:43
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Look for the command 'copyFile' in the DXL manual.
Report this to a Moderator Report this to a Moderator
 16-Oct-2008 19:22
User is offline View Users Profile Print this message


Douglas Perez

Posts: 47
Joined: 20-Feb-2008

I tried this, can anyone help me with this problem.
Report this to a Moderator Report this to a Moderator
 16-Oct-2008 19:28
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 120
Joined: 16-Jan-2008

your problem is this line:

string destFileName = "C:\\Temp"

this is not a file. It's a directory. Something like:

string destFileName = "C:\\Temp\\myfile.csv" should work fine.

-------------------------
Kevin Murphy
http://www.baselinesinc.com
Report this to a Moderator Report this to a Moderator
 16-Oct-2008 21:04
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

If you want to copy an entire directory you need to first create the directory using mkdir(string directoryLocation) then copy the files into it.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.