I need to use FTP client to send small files, and FTP_command_data requires MQX_FILE_PTR .
Is there some way to send FTP files without the MFS file required?
I need to send <4K of data to FTP server, and a simple ram buffer interface to FTP would be greatly appreciated.
int_32 FTP_command_data
(
pointer handle,
char_ptr command,
MQX_FILE_PTR ctrl_fd,
MQX_FILE_PTR data_fd,
uint_32 flags
)
Hi Kristie,
Even if you can modify your client or your server to be capable to send only data and not using MFS, you can't change other servers and clients that are not under your control. The FTP's nature is to use file systems to open and close files in the systems where they are hosted so they can then transfer the content of these files. I am afraid this is not possible.
Have a great day,
Garabo
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------