Help!!!

[email protected] (Nelson Carias) Wed, 16 Oct 2002 12:56:30 +0300
Newsgroups perl.libnet
Message-ID <E15491F09B22D511A3A700104BCADF27031E5F@MAIL>
------_=_NextPart_001_01C274FA.4D10AE20
Content-Type: text/plain;
	charset="WINDOWS-1256"

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....

------_=_NextPart_001_01C274FA.4D10AE20
Content-Type: text/html;
	charset="WINDOWS-1256"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DWINDOWS-1256">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>Help!!!</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Simplified Arabic Fixed">dear =
programmer,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Simplified Arabic Fixed">&nbsp;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 <A =
HREF=3D"http://proggcc/AspInet.asp" =
TARGET=3D"_blank">http://proggcc/AspInet.asp</A> it show me the result =
below. on my asp body are the code below? kindly help me how to run =
it?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Simplified Arabic Fixed">&nbsp;</FONT>=20
<BR><FONT COLOR=3D"#800000" FACE=3D"Simplified =
Arabic">&lt;body&gt;</FONT>
<BR><FONT FACE=3D"Simplified Arabic">&nbsp; Set FtpConn =3D =
Server.CreateObject(&quot;ASPInet.FTP&quot;)</FONT>
<BR><FONT COLOR=3D"#0000FF" FACE=3D"Simplified =
Arabic">&nbsp;if</FONT><FONT FACE=3D"Simplified Arabic">&nbsp; =
FtpConn.FtpPutFile(&quot;Proggcc&quot;,&quot;nelson&quot;,&quot;noslen&q=
uot;,&quot;chat.rtf&quot;,&quot;c:/chat.rtf&quot;,2) </FONT><FONT =
COLOR=3D"#0000FF" FACE=3D"Simplified Arabic">then</FONT>
<BR><FONT FACE=3D"Simplified Arabic">&nbsp;&nbsp;&nbsp; Response.Write =
&quot;Upload Success....&quot;</FONT>
<BR><FONT COLOR=3D"#0000FF" FACE=3D"Simplified Arabic">else</FONT>
<BR><FONT FACE=3D"Simplified Arabic">&nbsp;&nbsp;&nbsp; Response.Write =
&quot;Upload Fail....&quot;</FONT>
<BR><FONT FACE=3D"Simplified Arabic">&nbsp;&nbsp;&nbsp; Response.Write =
&quot;Error:&quot; &amp; FtpConn.LastError</FONT>
<BR><FONT COLOR=3D"#0000FF" FACE=3D"Simplified Arabic">end if</FONT>
<BR><FONT COLOR=3D"#800000" FACE=3D"Simplified =
Arabic">&lt;/body&gt;</FONT>
</P>

<P><FONT FACE=3D"Simplified Arabic">Proggcc=3Dthe name of my =
server</FONT>
<BR><FONT FACE=3D"Simplified Arabic">nelson=3Dlogin name</FONT>
<BR><FONT FACE=3D"Simplified Arabic">noslen=3Dmy password</FONT>
<BR><FONT FACE=3D"Simplified Arabic">chat.rtf=3Dis the file i want to =
transfer to the ftp (<A HREF=3D"ftp://proggcc" =
TARGET=3D"_blank">ftp://proggcc</A>) from my computer...</FONT>
</P>

<P><FONT FACE=3D"Simplified Arabic">it will show me the result</FONT>
</P>

<P><FONT FACE=3D"Simplified Arabic">Upload Fail...</FONT>
<BR><FONT FACE=3D"Simplified Arabic">Error: 0 </FONT>
</P>

<P><FONT FACE=3D"Simplified Arabic">waiting for your reply....</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C274FA.4D10AE20--