Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Method FileSystem::Copy failed

Status
Not open for further replies.

troyu

Programmer
Nov 21, 2000
185
CA
I am attempting to copy files from one network directory to another using Paradox. The error message I am getting is:
a)"The Method FileSystem::Copy failed"
b)The file R:\Itemnew.dwn does not exist.
c)The drive R: either is invalid or not ready.

The file R:\Itemnew.dwn DOES exist. Unknown why this error would come up. Any thoughts?
 
Troy,

Make sure you specfiy the full name of the target file; DOS shortcuts don't work any longer. It's the new compiler.

Hope this helps...

-- Lance

 
Remember me? I am the one using Paradox 5.0. The thing is, this used to work before. Now it is not working. When you say that DOS shortcuts don't work any longer, are you referring to a newer version of Paradox? Or perhaps I should use the full network path instead of R:, (\\servername\directory\itemnew.dwn)?

Please clarify.

troyu
 
Latest update on this dilemma:
The copy was failing I think because the FDL file is located on another server, and the file it is trying to copy is an another server. When the application was attempting to copy the file it was battling network traffic, and I believe just timed out trying to find the file. I copied the files that I would like to copy to the same server that the FDL file is on, and then the COPY was successful. I did have to modify my IDAPI config to workaround this, but it did work. It did take about 1hr&45min to copy about 390 KB of data.

Any thoughts?
 
troyu,

Sorry for the delay in answering; things got quite busy for a time and I neglected some of my online communities.

At any rate, yes, I was referring to a newer version of Paradox. One of the biggest changes to Paradox 9 was something that we didn't see as Paradox users. Corel changed the compiler from Borland's to Microsoft's. This changed a lot of things and I guess I'd hoped you'd upgraded like I'd previously suggested. :)

You didn't say what network server you're using, but there are some common things that will slow things down.

1. If you're using an NT-based server, you will need to disable the optimistic locking. Details can be found on the NT FAQ on Corel's FAQ for Paradox:

corel.wpoffice.paradox-faq

Please note that if you haven't visisted Corel's newsgroups recently, they have been reorganized and you'll need to resubscribe to the new groups.

2. If you're using Novell, take a look at the server's Recive Buffer Packet Size. It's ususally set to the minumum and setting it to the maximum can make a big different in throughput.

3. If you're using a virus scanner, make sure it's set to scan program files only. Because Paradox uses so many different files, it's very sensitives to operations that slow access to those files.

An hour and 45 minutes is extreme. Something is slowing you down.

Hope this helps...

-- Lance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top