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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Upload with pure ASP

Status
Not open for further replies.

BobJury

Programmer
Dec 11, 2017
1
GB
Hi everyone,
I'm a newbie Tek-Tipper, trying to trying to get a simple text file to upload from a simple HTML form into a specific directory on a client's server - using only ASP/VBScript. When I found the Jacob Gilly solution I was delighted. I carefully copied and pasted everything into the 'upLoadEnd.asp' file, and the only thing I changed was the destination path.

However, although I get no error messages and all I see is the "File saved!" message at the end, there is nothing in the destination folder. When I put some "response.write" lines into the 'upLoadEnd.asp' file to watch progress all seems well, it tells me that the file was indeed loaded and saved in the correct place. Yet looking around after many attempts (including changing paths) it doesn't seem to be anywhere on the server.

Can anyone please put me on the right track...?
Thanks
 
What Windows write permissions did you set up for the destination folder? We are talking about the 'upLoadEnd.asp' file being on the destination server, right?


[sub]"Nothing is impossible until proven otherwise"[/sub]​
 
If it is a .txt file, has it appeared on notepad somewhere?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top