amd64 largefile support

Asked by Six

Dear Masters,

I've run into a problem on Jaunty amd64 with pure-ftpd-mysql so that I cannot fully upload files larger than 2,1Gb. Well, actually I can but after the upload of 2,1Gb the connections hangs, my ftp client reports it was a successful upload but obviously it does not since only part of the file was uploaded.

To make it worse I use ftp upload handler script and that script does not fire after the upload, neither I can find any new entry in transfer.log so I simply cannot figure out there was an upload (unless I scan the directory of all of my users which is ridiculous).

So, the questions:
1) Was pure-ftpd-mysql version 1.0.21-11.4ubuntu1 compiled with largefile support? (Is that possible in amd64bit?)
2) How can I determine it (without asking you) next time?
3) Could I make the upload handler fire anyway?
4) Why oh why you didn't compile pureftpd with largefile support? :-)

Thank you much,

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu pure-ftpd Edit question
Assignee:
No assignee Edit question
Solved by:
Six
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you install openssh-server you can connect securelty (everything FTP uses and does (even password sending) is done with pure text) and it will also let you send any filesize you like.

I'd submit a bug for the service yu currently use, ther may be a bug already logged (you never said if you'd checked if one was logged)

Maybe its a limitation of the app. I strongly recommend ssh, you can connect to it using scp or winscp (in windows, i believe it also gives a command line command. Ubuntu Linux already has this installed by default)

Revision history for this message
Six (six-mzperx) said :
#2

Dear Actionparsnip,

thank you for the help. I'm aware of scp/sftp, but I can not use it because of application design - users upload files with the help of a client software and that software cannot use scp. Moreover, with pure-ftpd we can use virtual users easily from mysql database. Anyhow, we cannot afford a redesign. :-(

I know for sure that pure-ftpd-mysql can be compiled with "--with-largefile" option, the question is that how was it compiled for Ubuntu Jaunty during the packaging. If you know any way to determine the compiler (configure) options in an Ubuntu package, please let me know.

Otherwise, my only option is to recompile pureftpd but currently I don't have spare computers to install Jaunty on it in order to recompile (install developer tools on the production server is not permitted). So if I could avoid recompiling, I will do so.

BR,

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You may need to find a pa with one compiled as such, or compile yourself if this is not the standard. I am not sure on the options but you can compile it yourself so you are sure it is a feature.

You could submit a bug to see if this compile switch can be added to the standard build.

Revision history for this message
Six (six-mzperx) said :
#4

I'm just suspecting it isn't compiled-in but I cannot see it anywhere directly. I will hardly submit a bug because 1) all of my bugreports was rejected so far with very few exceptions so I am disappointed, 2) I have still my original question unanswered: how can I myself check whether the package was compiled with largefile support or not?

Never mind, and thanks for the kind answers.