Murciano Posted May 2, 2010 Share Posted May 2, 2010 I have a fair number of xml.gz files on my server, i decompress these on the fly, edit in a text field and recompress/upload, there are quite a lot of them and it takes time, im looking for a way i can decompress on the fly just by typing the filename into a textfield and the filename populating the URL by php is this possible? I dont want code just pointing to an example would be good enough, thanks Quote Link to comment https://forums.phpfreaks.com/topic/200479-downloading-xmlgz-files/ Share on other sites More sharing options...
Zane Posted May 2, 2010 Share Posted May 2, 2010 This how I see your question. The Problem: I have a fair number of xml.gz files on my server, i decompress these on the fly, edit in a text field and recompress/upload, there are quite a lot of them and it takes time The Question: i canCan I decompress on the fly just by typing the filename into a textfield and the filename populating the URL by php is this possible? I dont want code just pointing to an example would be good enough, thanks Doesn't the problem answer your question? Aren't you already doing what you ask you want to be doing? Quote Link to comment https://forums.phpfreaks.com/topic/200479-downloading-xmlgz-files/#findComment-1052074 Share on other sites More sharing options...
Murciano Posted May 3, 2010 Author Share Posted May 3, 2010 Thanks for the reply Zanus, I may not have explained myself correctly, hope this is a little clearer 1) I need to download, decompress files into a textarea, which is a success 2) The problem is the URL at my server, the files all have the same extension only difference is they are placed in a different folder, similar to this example http://www.example.com/this_folder_is_named_differently/data.xml.gz I need a php system where i can just add the folder name from a text field and submit so that i get the correct data.xml.gz, then it is decompressed on the fly and populates a textarea for reading/editing ( all good to here) from submitting from this textarea it is then recompressed for downloading to desktop or re-uploaded to folder (user chooses).. Quote Link to comment https://forums.phpfreaks.com/topic/200479-downloading-xmlgz-files/#findComment-1052234 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.