navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Easy way to decompress and transfer zip file in ftp folder to http folder

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Easy way to decompress and transfer zip file in ftp folder to http folder
Page: [1]
 
carrie

 

Posts: 251
From: Port Orange, FL Volusia
Status: offline

 
Easy way to decompress and transfer zip file in ftp fol... - 4/4/2006 17:03:24   
Hi all,

I've been maintaining a real estate website for a very long time, built in FP, currently using FP 2002.
Recently, they wanted to add IDX functionality, which simply means that all of the area's MLS listings will be displayed on the website [instead of linking to it]
The data has to be 'pushed' from the provider to an ftp folder on the webserver nightly. Some of the data is text files, but one is a .zip file. The zip file has the pictures that correspond to all of these listings.
As far as I know, I'd have to download that 600+MB .zip file, unzip it, and upload all of the data to an http folder in my website. Sounds like alot of work. And, I think that file is updated nightly, so I'd have to do this every day.
Hopefully, somebody here knows a quicker way to get all of these from a .zip file in an ftp folder decompressed, and in an http folder in my website. Please let me know.

Thanks,
Carrie
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/4/2006 17:51:49   
Not something I've ever had to do and haven't really got a clue. Have you asked your host if it's actually possible to unzip via your cpanel? They may have something else, if not it may be possible to write some code to do it.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to carrie)
coreybryant

 

Posts: 2488
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/4/2006 18:46:22   
We have one client that does this - if you know code and know what the server supports, you can write some code and then have it unzip. I would also write something in there to delete the previous images as well.

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to jaybee)
carrie

 

Posts: 251
From: Port Orange, FL Volusia
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 8:36:42   
Corey,

I know asp. Do you think there's a way to do it with .asp? And remember that I want to move it from the ftp folder to an http folder (but I guess I don't have to as long as I can access the pics -- just preference)

Carrie

(in reply to coreybryant)
carrie

 

Posts: 251
From: Port Orange, FL Volusia
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 9:32:23   
Good news!

The webserver has an archive component on it. Can you help me find out the pathname for the ftp folder?
Otherwise, I will have to download the .zip file, unzip it on my pc, then upload all the data back to an http folder daily. I just know there has to be an easier way.

Carrie

(in reply to carrie)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 10:17:24   
If this is a paid host it should give you the path in your welcome info. If it's a work machine then you tech guys will tell you.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to carrie)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 10:18:56   
quote:

ORIGINAL: carrie

Corey,

I know asp. Do you think there's a way to do it with .asp? And remember that I want to move it from the ftp folder to an http folder (but I guess I don't have to as long as I can access the pics -- just preference)

Carrie


Try this



_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to carrie)
carrie

 

Posts: 251
From: Port Orange, FL Volusia
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 10:30:22   
Thanks jaybee,

I had found the information about the SA-Archive program and was testing it, but I can't get the filename right. How can I access a file in an ftp folder through a script? I have to have a pathname right to the file, right?

Carrie

(in reply to jaybee)
carrie

 

Posts: 251
From: Port Orange, FL Volusia
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 10:54:43   
Well, here's their answer: I cannot access any folders via website that are not in the www directory. The ftp folders are not in the www directory, therefore, I cannot use a script to unzip them. (It's a windows platform - and too much asp to move to linux, where I've heard this is possible)
The vendor wants to be able to login directly to folder to 'push' this data to me. I can have them login to the root directory and then navigate to the appropriate web folder that I specify. Let's see if they will go for it.
In the meantime if anybody can think of any other way to get these files from ftp folder to http folder via script, let me know.

(in reply to carrie)
coreybryant

 

Posts: 2488
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 11:14:50   
They should be able to change the permissions of one of the folders. I guess I take a lot of things for granted at times. But they should be able to stilll FTP into the site and the run a script

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to carrie)
carrie

 

Posts: 251
From: Port Orange, FL Volusia
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 11:25:09   
Thanks Corey,

Would you mind explaining a little about FTP to me? Until today, I guess I've only worked with the www directory in a website, because that's all I see in FrontPage.
Basically, my ISP said that I could set the permissions of a login to login to the 'root' directory of the web, which was explained to me as one folder higher than www. Then whoever used that login could navigate to the www directory and upload files there.
I would really like there to be a way that this data vendor could ftp right to a folder in the www directory. Are you saying this is possible? if so, what do I need to do?
I am actually able to use ftp for another website I update (but did not build), and I can upload files to any folder I want - after learning what I've learned today, I assumed that was because that website is on a linux server, and the one I'm asking you about it on a Windows server.


P.S. I do have read & write permissions enabled on the fpdb folder for a db that's already there. Would they be able to ftp to that folder?

(in reply to coreybryant)
coreybryant

 

Posts: 2488
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 11:31:12   
You can set an FTP for a specific folder as well on the web site - at least you should be able to. I know that we do and that is how the client handles the incoming FTP. He actually has about 20 clients that FTP into specific folders and then scripts / jobs are ran to handle those files.

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to carrie)
carrie

 

Posts: 251
From: Port Orange, FL Volusia
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 11:42:24   
Corey,

Does it matter what kind of server you're on?
In my web control panel, it let's me set up FTP accounts. So, say I want to give FTP access to someone, I'd set them up an account with a username of brevardidx.
For some reason, since we're on a windows server, some function appends part of our domain name to that username: brevardidx@cocoabeac (can only be 20 letters? - our domain is www.cocoabeachrealty.com). Then I assign a password, and when they use that information to login, it seems to create a folder called brevardidx@cocoabeac.
I don't understand FTP as well as I would like, but it sounds like you're saying I'd have to talk to an admin at the ISP (because the only way for me to setup ftp is to make an account) and get them to setup a password on a folder in the www directory. Is that the case? What permissions would that folder need? How would a user login to it, with FTP client? Could the user login directly to it, or would they first go to the root directory and then click around to the right folder? Do you know of any examples?

Carrie

(in reply to coreybryant)
coreybryant

 

Posts: 2488
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 11:45:53   
it probably matters more about the control panel. We use Windows ourselves. And I can create a user - sayd ftptest but then can ftptest access to any folder name.

It sounds like just some limitation with the control panel. The server admin at the hosting company can set up an FP user on the server itself as well

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to carrie)
carrie

 

Posts: 251
From: Port Orange, FL Volusia
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 12:00:03   
Well, I just granted ftp access to the webmaster [me], and gave myself administrator file level access. I can login to the root directory, just as described, and then navigate to the www directory. Is that what you were referring to when you meant folder access?
What I was hoping for is a direct connection to that folder.
Is there a way, say through ftp client, that you type in your username & password, but only be shown one folder? I've gotten to the point where I can see all of the folders in the web, but I only want this data vendor to see one, or better yet, be in the folder already.

(in reply to coreybryant)
coreybryant

 

Posts: 2488
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 13:02:48   
quote:

ORIGINAL: carrie

What I was hoping for is a direct connection to that folder.
Is there a way, say through ftp client, that you type in your username & password, but only be shown one folder?
no that was what I was ctually referring to:
quote:

ORIGINAL: carrie

What I was hoping for is a direct connection to that folder.
You need to ask your hosting company but it seems that your control panel does not have this functionality

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to carrie)
carrie

 

Posts: 251
From: Port Orange, FL Volusia
Status: offline

 
RE: Easy way to decompress and transfer zip file in ftp... - 4/5/2006 13:49:52   
I confirmed with the data vendor that they will not click around looking for the folder, which is all I can get to work. They need a direct link, to reduce errors.
I don't think my ISP can give them that, but I will ask. Maybe we can change webservers if we need to. Can you recommend any that will give us this functionality?

Carrie

(in reply to coreybryant)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Easy way to decompress and transfer zip file in ftp folder to http folder
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts