|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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/ |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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 ![]() |
|
#4
|
||||
|
||||
|
a bug is a feature that doesn't work as it should. This is a non-supported feature.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Zip Files Over FTP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|