Professional Web Applications Themes

moving directory contents from local to server - Macromedia ColdFusion

I'm having a problem moving several files from the local drive to the remote web server from within CF. is cffile action = upload - a useable option, or is there something different? I could use a sample of some code to move several files at once. The files all have the same extension. Thanks...

  1. #1

    Default moving directory contents from local to server

    I'm having a problem moving several files from the local drive to the remote
    web server from within CF.

    is cffile action = upload - a useable option, or is there something different?

    I could use a sample of some code to move several files at once. The files
    all have the same extension.

    Thanks

    b1boogie Guest

  2. #2

    Default Re: moving directory contents from local to server

    If it's a regular copy you need to do then why not use CFFTP and run a free FTP
    server on your local machine? (e.g. Serv-U FTP) That way you can tell CF to
    grab the files on a scheduled basis or on demand.

    CFFILE uploads can only be done with a form so you'll need to run that page on
    your local browser to initiate it and you're limited to 1 file at a time.

    Gary2 Guest

Similar Threads

  1. moving from XML HTTPService to local XML?
    By schvenk in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: May 16th, 08:27 PM
  2. Listing contents of a directory folder to contents ofdirectory
    By Rubex_Cube in forum Coldfusion - Advanced Techniques
    Replies: 2
    Last Post: April 11th, 10:23 PM
  3. Upload directory and contents from browers
    By Dunskii in forum Macromedia ColdFusion
    Replies: 0
    Last Post: March 9th, 03:01 AM
  4. rsync exclude file - directory name without directory contents
    By emilio lazardo in forum Linux / Unix Administration
    Replies: 0
    Last Post: December 3rd, 10:28 PM
  5. Replies: 1
    Last Post: July 21st, 10:06 PM

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
  •  

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