NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
PR36 file upload problem
« previous
next »
Print
Pages: [
1
]
Author
Topic: PR36 file upload problem (Read 3279 times)
Alberto
Hero Member
Posts: 1873
PR36 file upload problem
«
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
Logged
-----------
Regards
Alberto
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: PR36 file upload problem
«
Reply #1 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
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
PR36 file upload problem