Jump to content
Sign in to follow this  
mozart90

Filemove problems error when moving much files

Recommended Posts

mozart90

Hi,

I use the FileMove command to rename some files. the amount of the files is about 50. from time to time FileMove can't rename some of the files. (returns an error)

I have tested the files so that they are not used!

System: XP SP2

The files are stored on server. The strange thing is: with the FSO scripting object rename function there are no problems.

Whats wrong? or ist there a bug when moving much files in short time?

greetings

mozart90

Share this post


Link to post
Share on other sites
Paulie

Whats the error?

does it give any idication as to what causes the problem

just for giggles, how big are the 50 files?

Share this post


Link to post
Share on other sites
Uten

Hmm, bug question without any replicating code?

What kind of server? How was the files created?

I will get this kinde of error if I trie to remove files on my samba server (windows shared folder) that I do not have write access to on the linux file system.

Share this post


Link to post
Share on other sites
mozart90

Hmm, bug question without any replicating code?

What kind of server? How was the files created?

I will get this kinde of error if I trie to remove files on my samba server (windows shared folder) that I do not have write access to on the linux file system.

... the files are about 20KB to 20MB.

I have Read and Write access on the Server directory.

Sometimes Filemove returns 0 for some Files! When running the function again Filemove returns 0 on some other Files. And I'm sure they are not used !

This beahaviour occurs only when renaming more than about 10 Files.

The FSO Movefile Method does not show this strange behaviour!

Greetings Mozart90

Share this post


Link to post
Share on other sites
ChrisL

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.