4 points to create a user to uploade to ftproot..
this user must be an administrator,
and be able to login into the Server as the user with privilidge of write & read..
but that is not enough, need to get the priviledge of write & read of the ftproot folder ..
after all of that, keep in mind that the ftp service shall be set enabled in the firewall..
-----------original-file-ending----------------------------
using ftp, two modes are ascii and binary.
ascii transfers files according to destination system, substituting between 0d0a and 0a, and EOF char, etc..
binary keeps original file's binary format. Endianess ? maybe a problem.
using curl usually using binary mode.
login ftp with password in one url, though losing security, by:
ftp://user:pass@host/path