Modernvox Posted November 4, 2009 Share Posted November 4, 2009 Hi guys, I have been holding this off for a couple weeks seeing that every time I try to upload my auction site files using filezilla it wants to take like 2 hours? The total size is 82mb. Even if i did want to wait the upload always freezes up? Can I upload it zipped or no? If so, How would I open it after? If not, Is there a better way?? Finally, if your interested in a copy of this script feel free to pm me and I will give you access to download it in it's entirety from http://www.mediafire.com/error.php?errno=999 Thanks You! Quote Link to comment https://forums.phpfreaks.com/topic/180234-transfer-complete-auction-site-to-run-on-localhost/ Share on other sites More sharing options...
Garethp Posted November 4, 2009 Share Posted November 4, 2009 You can zip it and unzip it with php or why don't you just upload it 5 files at a time? Quote Link to comment https://forums.phpfreaks.com/topic/180234-transfer-complete-auction-site-to-run-on-localhost/#findComment-950784 Share on other sites More sharing options...
Modernvox Posted November 5, 2009 Author Share Posted November 5, 2009 You can zip it and unzip it with php or why don't you just upload it 5 files at a time? Thanks. It is an auction site with about 30,000 or so files Quote Link to comment https://forums.phpfreaks.com/topic/180234-transfer-complete-auction-site-to-run-on-localhost/#findComment-951422 Share on other sites More sharing options...
Garethp Posted November 5, 2009 Share Posted November 5, 2009 Well then upload it in batches of 100 or 500. Personally, if I were you, I'd write a script on my local computer to list all 30,000 files, store them in a datbase, then connect to the server via ftp and upload them one by one and mark them off in the database. If it crashes, your PHP script automatically starts where you left off Quote Link to comment https://forums.phpfreaks.com/topic/180234-transfer-complete-auction-site-to-run-on-localhost/#findComment-951465 Share on other sites More sharing options...
waynew Posted November 5, 2009 Share Posted November 5, 2009 Why is your auction site 82 MB in size? Quote Link to comment https://forums.phpfreaks.com/topic/180234-transfer-complete-auction-site-to-run-on-localhost/#findComment-951470 Share on other sites More sharing options...
trq Posted November 5, 2009 Share Posted November 5, 2009 Why is your auction site 82 MB in size? That does seem ridiculous. Quote Link to comment https://forums.phpfreaks.com/topic/180234-transfer-complete-auction-site-to-run-on-localhost/#findComment-951484 Share on other sites More sharing options...
PugJr Posted November 5, 2009 Share Posted November 5, 2009 I'm actually confused. Any file made in windows is always 4KB and at 30000 files would be 117 MB. Seems like it should be more than 82 MB. EDIT: But I guess the first question to ask, is how can there be 30000 files? Even 3000, or just 300 is pretty ridiculous. Honestly, I can't possibly think what they are doing. Quote Link to comment https://forums.phpfreaks.com/topic/180234-transfer-complete-auction-site-to-run-on-localhost/#findComment-951502 Share on other sites More sharing options...
corbin Posted November 5, 2009 Share Posted November 5, 2009 Errr.... Any file on Windows is at least 4KB? Do you mean due to file system over head? Because I don't think filesystem overhead for 1 file would be 4KB. Quote Link to comment https://forums.phpfreaks.com/topic/180234-transfer-complete-auction-site-to-run-on-localhost/#findComment-951556 Share on other sites More sharing options...
PugJr Posted November 5, 2009 Share Posted November 5, 2009 Errr.... Any file on Windows is at least 4KB? Do you mean due to file system over head? Because I don't think filesystem overhead for 1 file would be 4KB. Create a text document or image or whatever. Make sure there is atleast 1 byte within it. Right click that item. Go to properties. Look at the "Size on disk". It'll be 4096 bytes, and then "Actual size" will be 1 byte. Quote Link to comment https://forums.phpfreaks.com/topic/180234-transfer-complete-auction-site-to-run-on-localhost/#findComment-951560 Share on other sites More sharing options...
Daniel0 Posted November 5, 2009 Share Posted November 5, 2009 Why can't you just upload only the changed files? Quote Link to comment https://forums.phpfreaks.com/topic/180234-transfer-complete-auction-site-to-run-on-localhost/#findComment-951594 Share on other sites More sharing options...
Mchl Posted November 5, 2009 Share Posted November 5, 2009 Create a text document or image or whatever. Make sure there is atleast 1 byte within it. Right click that item. Go to properties. Look at the "Size on disk". It'll be 4096 bytes, and then "Actual size" will be 1 byte. Still, the actual number of bytes to send is the 'actual size' number. (Actually it's different due to communication protocol, but that's yet another thing). Quote Link to comment https://forums.phpfreaks.com/topic/180234-transfer-complete-auction-site-to-run-on-localhost/#findComment-951597 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.