Can't get FTP to Upload

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Can't get FTP to Upload

    Im not sure if thier is an easier way but im trying to upload and rename a file
    at the same time. This will make it easier for me to know what file goes with
    what user. I just want to add the custID to the file. Do I need to upload and
    rename or can I do this in one statement? The code below will upload the file
    but will not rename it. I have been working on this for a very long time and
    any help would be much appreciated!!!


    <cf_fileupload
    userid = "test"
    password = "test"
    filefield = "form.filename"
    destination = "/test_com/www/upload"
    NameConflict = "MakeUnique">


    <cfx_filemanager action ="rename"
    userid = "test"
    password = "test"
    filefield = "form.filename"
    source = "/test_com/www/upload/form.filename"
    destination = "/test_com/www/upload/#Session.CustId#">

    CF Nut Guest

  2. Similar Questions and Discussions

    1. How to upload a file to 2 FTP sites without an upload component for company
      Hi All I can't get round this because it's a local government thing, but I've done a CMS for a school (in ASP classic) that allows them to upload...
    2. Upload Friendly (Multiple File Upload Applet)
      Title : Upload Friendly (Multiple File Upload Applet) Description : UploadFriendly is an easy to use Java Applet that will allow multiple file...
    3. asp upload
      Hi, I'm using the Persists ASPUpload component to upload files to various sub-directorys in the root of my website. I have written a short bit of...
    4. Upload Pub. using FTP
      sure, what's to stop you? besides a web site is never finished. -- David Bartosik - MS MVP for Publisher help: www.davidbartosik.com enter to...
    5. Upload files to site, upload info to SQL?
      I want to create a _SECURE_ interface from an html form that allows certain people within my company to upload files into a predetermined directory...
  3. #2

    Default Re: Can't get FTP to file to rename

    Is the filename the same after you upload it as to what it defined in the form
    field?

    I see that you have on the upload to makeunique, which could change the name,
    and thus the rename may not find the filename that was supplied in the form
    field.

    Abinidi Guest

  4. #3

    Default Re: Can't get FTP to file to rename

    I keep the files cleaned up so that thier is no name confilcts. Any other Ideas?
    CF Nut Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139