Duh... the mimetype was not specified.... nevermind..

John McKown, VP Business Services
Delaware.Net, Inc.
30 Old Rudnick Lane, Suite 200
Dover, DE 19901
eMail: [EMAIL PROTECTED]
Phone: 302-736-5515
Fax: 302-736-5945

> -----Original Message-----
> From: John McKown [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, August 26, 2000 4:33 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Was Problem with CFFTP - Reposted as Text Mime Type :)
>
>
> CF Experts...
>
> I have a problem that I hope you can give me some advice on...
> I am using CFFTP to upload some images into a web site directory.
> It worked
> great for a couple of days and now it is not. The code did not
> change. I saw
> a post in the Allaire Support Forums explaining that there is a COM error
> regarding CFFTP on NT machines. That got my attention because I am
> running 4.5.1 on NT 4.0 SP6a, but the CFFTP tag still responds,
> but it only
> uploads a 1K file when I am trying to FTP .JPG files. When I use an FTP
> client, there is no problem. Files are uploaded in their entirety.
> So CFFTP appears to be broken. Any ideas?
> Thanks in advance. Sample code below with username/password removed.
>
> John McKown, VP Business Services
> Delaware.Net, Inc.
> 30 Old Rudnick Lane, Suite 200 Dover, DE 19901
> eMail: [EMAIL PROTECTED]
> Phone: 302-736-5515 Fax: 302-736-5945 ICQ: 1495432
>
> Sample Code:
> --------------------
> <!----- =========== FORM PAGE ================ ---->
> <Form method="post" action="photoftp2.cfm">
> <table border="0" cellSpacing="1" >
> <th align="middle" colspan="2"><p align="center"><b><font face="Arial"
> size="4">Upload Product Photos</font></b></p></th>
>
> <TR>
>       <TD colspan="2">Lot Number: <INPUT type="text"
> name="LotNumber"></td>
> </tr>
> <TR>
>       <TD colspan="1" align="right" valign="top">
>       <font face="Arial" size="2"><b>Small Lot Photo</b></font><br>
>       <font size="1">Not Required</font></TD>
>
>       <TD colspan="1" align="left" valign="top">
>       <INPUT type="file" name="SmallPhoto" title="Click to search
> for photo on
>       your hard drive">
>       </TD>
> </TR>
> <TR>
>       <TD colspan="1" align="right" valign="top">
>       <font face="Arial" size="2"><b>Large Lot Photo</b></font><br>
>       <font size="1">Not Required</font>
>       </TD>
>
>       <TD colspan="2" align="left" valign="top">
>       <INPUT type="file" name="LargePhoto" title="Click to search
> for photo on
> your hard drive">
>       </td>
> </tr>
> <TR>
>       <TD colspan="2"><input type="submit"></td>
> </tr>
> </table>
> </form>
>
>
>
> <!----- ======== ACTION PAGE ======== ---->
> <cfoutput>
> <CFIF #FORM.SmallPhoto# IS NOT "" AND #FORM.LargePhoto# IS NOT "">
>
>       <CFFTP
>       connection="UpLoadPhotos"
>       action="OPEN"
>       server="204.253.96.23"
>       username="username"
>       password="password"
>       retrycount="2" timeout="300">
>
>       <CFIF #FORM.SmallPhoto# IS NOT "">
>       <CFFTP
>       connection="UpLoadPhotos"
>       action="PUTFILE"
>       localfile="#FORM.SmallPhoto#"
>       remotefile="#Form.LotNumber#-sm.jpg"
>       transfermode="binary">
>       </cfif>
>
>       <CFIF #FORM.LargePhoto# IS NOT "">
>       <CFFTP
>       connection="UpLoadPhotos"
>       action="PUTFILE"
>       localfile="#FORM.LargePhoto#"
>       remotefile="#Form.LotNumber#-lg.jpg"
>       transfermode="binary">
>       </CFIF>
>
>       Error Code: #CFFTP.ErrorCode#<br>
>       Error Text: #CFFTP.ErrorText#<br>
>       Success? #CFFTP.Succeeded#<br>
>       <CFFTP connection="UpLoadPhotos" action="CLOSE">
>       </cfoutput>
>
> </CFELSE>
> No Pictures Specified for upload.
> <CFABORT>
>
> </CFIF>
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to