close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

File Upload Overwrite

Thread began 3/14/2019 11:35 am by vernon webb | Last modified 3/18/2019 10:06 am by Ray Borduin | 639 views | 5 replies |

vernon webb

File Upload Overwrite

Ray,

For some reason when a file is uploaded and a file name exists, the file is being renamed but it is not being renamed properly (it adds an _1 on the end but actually does not tag the ext .pdf to it) and the database is NOT being updated to reflect the new file named (I know this because when you go look at the record the old file is still listed there.)

Sign in to reply to this post

Ray BorduinWebAssist

I added the current file to the display in the popup and it appears to be working for me. Maybe it has something to do with the file you are uploading? Maybe it is too large?

Sign in to reply to this post
Did this help? Tips are appreciated...

vernon webb

I don't understand what you said, you added the current file to the display? Anyway, it has nothing to do with the file as I had him rename the and it uploaded just fine.

Sign in to reply to this post

Ray BorduinWebAssist

Please provide steps to reproduce including attaching the file you are using to reproduce and how you are verifying that it doesn't work. I'll reproduce and debug it. It worked properly with the sample file I used.

Sign in to reply to this post
Did this help? Tips are appreciated...

vernon webb

I'm attaching the file that is there now as I had them rename the file (which now has TEST on it) which I would imagine would reproduce the same result

Sign in to reply to this post

Ray BorduinWebAssist

The issue is with uploading files that have a "." in their name. I made an update to the webassist/file_manipulation/helperphp.php file to account for files with a "." in the name.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...