Hello,
I am trying to download and upload PHP files from FTP.
The folder size is around 65 mb. But there are more than 2000 to 3000 files (includes tinymce files+jscripts). Am using FireFTP to do this.
1. How to find that I've downloaded all the files correctly (Should not miss any file)
2. How to upload all these files without missing any of the file because it causes error or it redirects some other URL.
Please guide me through how to solve this problem.
Thanks
Raghav.
Problem in Uploading and Downloading the PHP Files from FTP
Started by Raghav, Sep 03 2010 03:41 AM
5 replies to this topic
#1
Posted 03 September 2010 - 03:41 AM
|
|
|
#2
Posted 03 September 2010 - 03:57 AM
Your FTP client should warn if there was an error uploading any single file, it wouldn't let the user not know about something as important as that. Most modern FTP clients will automatically retry once or twice on error, for added protection.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 03 September 2010 - 05:06 AM
3000 files? I really hope it's divided in several sub folders, otherwise it's almost unhandlable... if not, try to do so! pictures and stuff is ok to have a hudred files or more per folder, but code files? well, to easy find things, not more than a hundred... that's my general advice at least.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#4
Posted 04 September 2010 - 04:36 AM
Orjan said:
3000 files? I really hope it's divided in several sub folders, otherwise it's almost unhandlable... if not, try to do so! pictures and stuff is ok to have a hudred files or more per folder, but code files? well, to easy find things, not more than a hundred... that's my general advice at least.
Thanks for the advice. Yes the files are divided into sub folders. I will check if we can reduce some of them.
#5
Posted 04 September 2010 - 04:39 AM
Nullw0rm said:
Your FTP client should warn if there was an error uploading any single file, it wouldn't let the user not know about something as important as that. Most modern FTP clients will automatically retry once or twice on error, for added protection.
Thanks for suggestions. Sometimes I've checked that while uploading or downloading - the whole file would not have transferred. Say if the file is around 2KB - it would have downloaded - 1.6KB or something like that. Why does this happen. When this happens - it will show error while using the application.
#6
Posted 05 September 2010 - 11:19 PM
Raghav said:
Thanks for suggestions. Sometimes I've checked that while uploading or downloading - the whole file would not have transferred. Say if the file is around 2KB - it would have downloaded - 1.6KB or something like that. Why does this happen. When this happens - it will show error while using the application.
The thing is that if you are on a windows computer, and the server is a *nix of any kind, all text files will shrink in size on the *nix side, because of lineend codings. on windows, there are two characters to symbolize a line ending, but on *nix, there are only one, so for each line, the file will become one byte shorter. this transformation is normally automatically done with ftp programs.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall


Sign In
Create Account

Back to top









