Hello. My question is : On my server there are limit of max 2MB file sended by FTP. If I send it by some script in PHP, there are no restriction, and I want to send something around 3.8MB. Any ideas?
This answer comes from my wild imagination, and not quite sure if its possible. I would try to get the content of the file and separating it into two, and then uploading the first file and then appending the content of the second file to the first one.
Example:
If the original file is:
0101010101010100101010
split it into two files:
File One:01010101010 File Two:10100101010
Upload the first file and then append file two.
Could you provide a bit more info on your problem? You can't compress it or split it?
If you can install software on the server, I recommend using ProFTPd. It sounds like it is a configuration problem on with the FTP software. You will need to tell us more information, such as:
- What operating system?
- What FTP software (and which version)?
- What type of file are you sending (text, binary, compressed)?
- What access do you have with the server?
there is a program that could split any file into pieces, it is called Hjsplit(here is the link: freebyte.com/hjsplit). once you have splitted the file and uploaded it onto the server, there is a php script which lets you re-join the splitted file.