1
emerald
How to prevent file overwrite?
  • 2006/10/28 12:16

  • emerald

  • Just popping in

  • Posts: 3

  • Since: 2006/10/28


How to prevent a file from over-written by another file of the same filename during submitting for uploading?

2
Quest
Re: How to prevent file overwrite?
  • 2006/10/28 12:29

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


That depends on what you are using for uploading. Most ftp programs have this as a setting in the options for the ftp program. Along with the option to have it alert you and let you choose to overwrite or not to overwrite.

Quest

3
emerald
Re: How to prevent file overwrite?
  • 2006/10/28 12:48

  • emerald

  • Just popping in

  • Posts: 3

  • Since: 2006/10/28


i'm using XOOPS for uploading the file into the forums (web pages) which i have created for my web site.

i was looking through the the administrator site and checking the modules settings: document managenment. but couldnt find a option to do that.

under the document managenment module, under preferences tab, it has this option: Enter File Limitations which is set to "None|Trial|14 day limitation|None Save". but according to the documentations available online it does not provide any details of this option. i was thinkin if this option can be set to prevent the file from overwritten.

u have any idea how to do that in xoops?

4
m0nty
Re: How to prevent file overwrite?
  • 2006/10/28 13:25

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


Quote:

"None|Trial|14 day limitation|None Save".


which module are you referring to exactly?

the line above makes me think you are either using mydownloads, wf-downloads or pd-downloads.

if you are using wf-downloads 3.1 then you can't overwrite existing files as wf-d gives the file a unique filename on submission.

5
emerald
Re: How to prevent file overwrite?
  • 2006/10/30 1:07

  • emerald

  • Just popping in

  • Posts: 3

  • Since: 2006/10/28


Quote:

m0nty wrote:
Quote:

"None|Trial|14 day limitation|None Save".


which module are you referring to exactly?


i'm referring to the document management module which can be found in the administrator web page.

Login

Who's Online

252 user(s) are online (182 user(s) are browsing Support Forums)


Members: 0


Guests: 252


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits