Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Uploading to the server

Status
Not open for further replies.

level1

Programmer
Apr 16, 2002
60
GB
Hello everybody.

I am building a site that one of its facilities is to allow users upload directly to a predefined area of the server, which is within the main site subfolder in another folder.

For example my site is /WebSite/UploadedImages/Image.gif

Although the thing works fine for localhost is not working for the web...

Also i tested everything else and works fine for both Localhost and the web, that includes SQL updates, deletes, selects e.t.c.

I know that is nothing to do with this and is to do with the settings of the directory security e.t.c but i dont know why isn't working.

For your information Im running WIN XP Pro, with iis 5.1, included all XP updates with Service Pack 1,

I Also have persist upload 3 component installed (and this is the way i use to upload)

Another thing which i recently added to my server was the URLScan tool from microsoft to make the server more secure, i also run Firewall Personal Norton Firewall 2003 But i assume if its allowing all other traffic why not the HTTP upload?



Any ideas of what might be worng or where to look at?
I thing somhow i must fix the directory security to allow files to be uploaded but i tried givving script and read write access and is still isn't working.
 
also to mantion that im not using a virtual directory i just use the following

File.SaveAs "C:\Inetpub\ site\images\userfiles\Covers\Cover"&FrstIdFound&"\" & File.Filename

Do i need to use virtual instead?
 
it must be my script i ll rewrite it.

When i do a simpe upload it works.

When i start validating size, type, and blank files somehow get lost...

thanks anyway for your eyes
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top