Add to Favourites Add to Favourites    Print this Article Print this Article

ncftp: Cannot open local file /file for reading: Value too large for defined data type

If you get this error when trying to upload files through ncftpput, it would likely mean it wasn't compiled with large file support.
To recompile it with the latest version (3.2.4 when this was written), type:

cd /usr/local/directadmin/scripts
nano    #use any editor you'd like.


#to be:

#save/exit, then type:

This will update the version in the script, then download and install it.  Large file support should be enabled by default with new versions of ncftp.

Was this answer helpful?

Also Read