NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on April 30, 2009, 04:19:48 AM

Title: PR36 file upload problem
Post by: Alberto on April 30, 2009, 04:19:48 AM
Hi,
When you use
self.site.UploadsPath = 'web\alternate'
in the Rename Method, the file uploads to the correct folder, but, the field which hold the filename gets blanked.

I test it even with the FileUpload example

It works OK in PR34

Thanks
Alberto


Title: Re: PR36 file upload problem
Post by: Bruce on April 30, 2009, 05:19:42 AM
Hi Alberto,

not really a bug, but a correction. (I've updated the example for PR37).
the line should read

 self.site.UploadsPath = clip(self.site.WebFolderPath) & '\alternate'

The "bug" was in hard-coding the "web" folder before.

Cheers
Bruce