Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a list of files on an FTP server that I would like to concatenate remotely. They are quite large so I would prefer not to download them.

The reason I'm in this situation is because I originally thought it would be easy to do, so I split a 1.1GB file up into 50MB files and uploaded those. This allowed me to send multiple files in parallel, which goes much faster with the proxy I'm using. If someone has an alternative suggestion (assuming remote concatenation is not possible!) then I would appreciate knowing that too.

Thanks!

PS: This is my first time on superuser. I hope this type of question is warranted. :P

share|improve this question
1  
Welcome to superuser. Your question is perfectly valid. –  Chris W. Rea Aug 29 '09 at 16:30
add comment

2 Answers 2

up vote 3 down vote accepted

The FTP protocol (and therefore the standard FTP Server) does not allow any server file manipulations besides overwriting them with new copies. Concatenating files uploaded on the server does not seem feasible over FTP.

Check if you have a secure shell (SSH) or at least TELNET login possible on the server to concatenate these files.

To achieve bandwidth performance on an upload (or download for that matter),
multi-part transfers are usually done (example).
If your server supports this, it can be tried for the next upload
(or you can upload again).

For the present situation, you could upload another instructions file (readme.txt),
describing how the parts are to be re-assembled. You could even upload a reassemble script that you have tried with your local split parts.

share|improve this answer
    
Regarding multi-part transfers, can you refer me to a linux client that supports this? Unfortunately I only have FTP access (I'm uploading to archive.org). –  marcog Aug 29 '09 at 15:22
add comment

Unless you've got remote desktop access to the FTP server and can open a session thru Remote Desktop and launch a concatenation program on the server, then the answer is no : the ftp servers I know don't allow remote execution and don't do concatenation.
I'm afraid you'll need to re-upload the unsplit file.

I would also like to add that uploading thru multiple connections doesn't improve the upload time, which stays always limited by your bandwidth. For example, if your upload bandwidth is 20k, then one connection will upload at the speed of 20k, while two connections will upload at the speed of 2X10k=20k. Total gain is then zero. When uploading a large file, it's important to use an FTP client that supports resumes, so in case of disconnection the data already uploaded is not lost and you can later restart from where you stopped.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.