Hi

Is there a Variable or File API function that holds what is the currently configured flag when dealing with existing files?:

  • FILE_EXISTS_RENAME
  • FILE_EXISTS_REPLACE
  • FILE_EXISTS_ERROR

Comments

jaypan’s picture

Could you not consolidate your ideas into one thread? Why did you feel the need to open three threads basically going on about the same idea?

Contact me to contract me for D7 -> D10/11 migrations.

WorldFallz’s picture

Seriously-- 12 threads on essentially the same topic-- this is bordering on spam. I've already asked nicely once, please exercise some self control and planning or I'll start simply deleting threads.

Anyway, there's a pretty small group of regulars that frequent this forum and all you're doing is irritating them-- lessening your chances of receiving a response, not increasing them.

jeff00seattle’s picture

They are all different questions.

For the past couple of days, I have been digging deeply into hook_file_*() functionality.

And I have found some issues that deserve discussion.

Spam is the farthest thing I want to present.

jaypan’s picture

Then stop spamming. If I were a mod, you'd already be banned. They are much more patient than I.

Contact me to contract me for D7 -> D10/11 migrations.

jeff00seattle’s picture

Done submitting.