FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old September 7th, 2003, 07:45 AM
iwarner iwarner is offline
BrainFreeze
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: London
Posts: 318 iwarner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 41 m 9 sec
Reputation Power: 9
Send a message via ICQ to iwarner Send a message via Yahoo to iwarner
Zip Files Over FTP

Ok I need to get into a zip file over ftp, read the contents and insert these into a Database, they are just CSV values.

I can connect to the FTP server no probs.
I can list the files and select the one I want.
I can do csv inserts.

The missing link is opening the Zip file, reading its contents and preparing it for insert.

The Zip functions with zip.dll seem to be only working for local files not through ftp or even http?

Can anyone fill in the blanks please.

Regards

E
__________________
_________________________
Triangle Solutions Ltd
http://www.triangle-solutions.com/

Reply With Quote
  #2  
Old September 7th, 2003, 09:04 AM
Stink Sleeve's Avatar
Stink Sleeve Stink Sleeve is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Mar 2003
Location: New Hampshire, USA
Posts: 550 Stink Sleeve User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 17 m 26 sec
Reputation Power: 6
Although I just woke up and this may be wrong....

Logically I think you would have to dl the file to the local computer,
add your files locally and then upload them via FTP. I don't believe
you could open a file via FTP and add to it.
__________________
Download Mozilla Firefox Now!

Reply With Quote
  #3  
Old September 7th, 2003, 08:26 PM
iwarner iwarner is offline
BrainFreeze
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: London
Posts: 318 iwarner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 41 m 9 sec
Reputation Power: 9
Send a message via ICQ to iwarner Send a message via Yahoo to iwarner
Yes thats what I feared I will report this to PHP people I think it is a BUG in that you can fopen remote files and edit but not with Zipfiles - they should allow some remote control.

Regards E

Reply With Quote
  #4  
Old October 6th, 2003, 09:51 AM
c0p0n's Avatar
c0p0n c0p0n is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Spain
Posts: 111 c0p0n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 10 sec
Reputation Power: 6
a bug is a feature that doesn't work as it should. This is a non-supported feature.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Zip Files Over FTP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway