dear programmer,
i am nelson jamero 15 years old from philippines. i am studying on how to transfer my files ot the ftp server and i surf the internet. i had found on your site the code below but it was not perfect i save this file in ASP format. when i try to run it on the client side using the command http://proggcc/AspInet.asp it show me the result below. on my asp body are the code below? kindly help me how to run it?
<body>
Set FtpConn = Server.CreateObject("ASPInet.FTP")
if FtpConn.FtpPutFile("Proggcc","nelson","noslen","chat.rtf","c:/chat.rtf",2) then
Response.Write "Upload Success...."
else
Response.Write "Upload Fail...."
Response.Write "Error:" & FtpConn.LastError
end if
</body>
Proggcc=the name of my server
nelson=login name
noslen=my password
chat.rtf=is the file i want to transfer to the ftp (ftp://proggcc) from my computer...
it will show me the result
Upload Fail...
Error: 0
waiting for your reply....