?
Solved

Uploading a zip file

Posted on 2003-02-27
7
Medium Priority
?
230 Views
Last Modified: 2013-12-24
Can anyone tell me how (if Possible) to upload an entire .zip folder to a folder on a web server. I have approximatley 3500 files that need to be kept in a folder of about 150 - 200 per each zip folder. Please help i am at a stand still.

thanks
0
Comment
Question by:operatr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 17

Expert Comment

by:anandkp
ID: 8039367
this is simple

1. u cld use ne-of the FTP tools available - eg : CuteFTP
2. incase u wish to do this using the CF - the u can use CFFTP tag to do this

let me know incase u need more help

K'Rgds
Anand

PS : u'll need access permissions on teh webserver to be able to upload ur stuff [this cld be cfm files / images etc ...]. incase u r not aware of these - contact ur sys admin & he will guide u thru this.
0
 

Author Comment

by:operatr
ID: 8039531
hey thanks for the quick answer. If you could elaberate a little on using the CFFTP tag i would appreciate it.
Thanks again.
0
 
LVL 17

Accepted Solution

by:
anandkp earned 200 total points
ID: 8039673
ok - no problem use the following logic ...

<!--- ================================================== CONNECT =============================================== --->

<CFFTP CONNECTION="Anand"
        USERNAME="anonymous"
        PASSWORD="userName@company.com"
        SERVER = "192.168.3.165"
        ACTION="Open"
        STOPONERROR="Yes">

<!--- ========================================================================================================== --->

<CFIF CFFTP.SUCCEEDED>
   
    <!--- *********************************************** FILES ************************************************ --->
    <!--- transfer of the file - Sending on the FTP server --->  
    <CFFTP
      ACTION = "putfile"
      CONNECTION = "Anand"
      LOCALFILE = "C:\akptest\akp.jpg"
      REMOTEFILE = "ftp_akp1.jpg"
      >
     
    <!--- transfer of the file - Picking up from the FTP server --->
    <CFFTP
      ACTION = "getfile"
      CONNECTION = "Anand"
      LOCALFILE = "C:\akptest\akp2.jpg"
      REMOTEFILE = "ftp_akp1.jpg"
      > 
   
    <!--- *********************************************** FOLDER *********************************************** --->
    <!--- Creating DIR on the FTP server --->  
    <CFFTP
      ACTION = "createDir"
      directory = "akp"
      CONNECTION = "Anand"      
      >   
     
    <CFFTP      
      ACTION = "putfile"
      CONNECTION = "Anand"
      LOCALFILE = "C:\akptest\akp.jpg"
      REMOTEFILE = "akp\ftp_akp1.jpg"
      >
     
    <!--- ================================================ CLOSE =============================================== --->
    <CFFTP CONNECTION="Anand"
            ACTION="close"
            STOPONERROR="Yes">
   
</CFIF>
<!--- ========================================================================================================== --->

let me know

K'Rgds
Anand
0
Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

 
LVL 3

Expert Comment

by:cdillon
ID: 8041589
If you zip all the zips into a single zip, it's much easier to transfer it.  Then unzip and all the directory structures are retained.  RDS or ftp will let you copy that file to the server. Just right click on the file, choose copy to and then find your server (assuming you've registered it with coldfusion)
That's it, hope this helps.
0
 
LVL 17

Expert Comment

by:anandkp
ID: 8046723
yeah cdillon - its just that in the CFFTP code pasted above - all he needs to do is replace the filename [in my eg whihc is a image - with a zipfile name & that shld be it !]

K'Rgds
Anand
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10931206
No comment has been added lately, so it's time to clean up this question.
I will leave the following recommendation in the Cleanup topic area:

Accept anandkp

Please leave any comments here within the next four days.

mrichmon
EE Cleanup Volunteer
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
What You Need to Know when Searching for a Webhost Provider
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month7 days, 20 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question