#cfftp.Succeeded#, error =#cfftp.ErrorCode# error message =#cfftp.ErrorText# #cfftp.Succeeded#, error =#cfftp.ErrorCode# error message =#cfftp.ErrorText# [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => kt03 [ip] => webforumsuser@m [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 3 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> CFFTP - Coldfusion - Getting Started

CFFTP - Coldfusion - Getting Started

Okay.... it's ben awhile so bare with me... I have a form that uploads a file via CFFTP but, it only works on the local machine. When uploading a file from another machine, it still looks for the file on the machine that CF is on. <cfftp action="putfile" username="bla" password="bla" server="bla" directory="\pdfs\" failifexists="no" localfile="#form.pltext#" remotefile="\pdfs\#getpl.filename#" > I get "An exception occurred when performing the FTP putfile operation" Thanks...

  1. #1

    Default CFFTP

    Okay.... it's ben awhile so bare with me...

    I have a form that uploads a file via CFFTP but, it only works on the local
    machine. When uploading a file from another machine, it still looks for the
    file on the machine that CF is on.

    <cfftp action="putfile"
    username="bla"
    password="bla"
    server="bla"
    directory="\pdfs\"
    failifexists="no"
    localfile="#form.pltext#"
    remotefile="\pdfs\#getpl.filename#"
    >
    I get "An exception occurred when performing the FTP putfile operation"

    Thanks

    sethman Guest

  2. #2

    Default Re: CFFTP

    CFFTP does not transfer from client to server - it only transfers from Server to Server
    SafariTECH Guest

  3. #3

    Default CFFTP

    I have the new.xls file from the the local directory and I want to HTTP this
    file over the server but my code wasn't working.
    Here is the error I got :
    "An exception occurred when performing the FTP putfile operation.
    The cause of this exception was that: Connection closed without indication.. "

    Thanks
    ========================

    <cfset filedirectory="d:\WBS\files\">
    <cfset localfile ="#filedirectory#new.xls"> (d:\wbs\files\new.xls)
    <cfset SQLFile ="d:\guest\wbs\">
    <!--- connention --->
    <cfftp connection="MyConn"
    action="open"
    server="tftp"
    username="xgf765"
    password=""
    timeout="45"
    stoponerror="yes">
    <cfoutput>#cfftp.Succeeded#, error =#cfftp.ErrorCode# error message
    =#cfftp.ErrorText#</cfoutput>

    <!--- transfer files --->
    <cfftp connection="MyConn"
    action="putfile"
    remotefile="#SQLFile#new.xls"
    localfile="#localfile#"
    stoponerror="yes"
    failifexists="no">
    <cfoutput>#cfftp.Succeeded#, error =#cfftp.ErrorCode# error message
    =#cfftp.ErrorText#</cfoutput>

    kt03 Guest

  4. #4

    Default Re: CFFTP

    The issue may be a faulty directory path for SQLFile, or it may be a case-sensitive issue. Are you doing a putfile to a UNIX box?
    jdeline Guest

Similar Threads

  1. problems using cfftp
    By AJax1219 in forum Coldfusion Flash Integration
    Replies: 0
    Last Post: December 15th, 07:10 PM
  2. cfftp error
    By delphinele in forum Macromedia ColdFusion
    Replies: 2
    Last Post: June 27th, 04:11 AM
  3. CFFTP problem
    By kreca in forum Coldfusion - Advanced Techniques
    Replies: 10
    Last Post: March 22nd, 07:17 PM
  4. Need help with cfftp
    By ronatzone in forum Coldfusion - Getting Started
    Replies: 1
    Last Post: February 24th, 06:39 PM
  5. Help with CFFTP
    By rottmanja in forum Coldfusion - Getting Started
    Replies: 2
    Last Post: February 24th, 07:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •