I have a variable and I want to upload the content of this variable to a FTP server using C. How could I do this?
|
C
Upload Text to FTP Server |
|
Nov 6, 2019 11:11 AM
(This post was last modified: Nov 6, 2019 11:14 AM by 0xDEAD10CC.)
(Nov 6, 2019 07:47 AM)YouthInAsia Wrote: FTP is dead. Don tuse it. Nobody said it was his FTP server, there are some vendors that haven't upgraded yet to anything more secure still. OP - FTP is an incredibly simple protocol, look at the RFC and you could easily do this with basic sockets... If they give you the option to use SFTP, use that instead; most SSH libs should have something readily available built-in for this.
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer] (Nov 6, 2019 11:11 AM)0xDEAD10CC Wrote: Nobody said it was his FTP server, there are some vendors that haven't upgraded yet to anything more secure still. It's HF you think anyone would ask questions ffor legitimate reasons here? If he wants to upload to an FTP server, chances are he's using his own FTP server and doesn't know a better protocol and wants to send something like keylogger logs or whatever.
Nov 6, 2019 02:41 PM
(This post was last modified: Nov 6, 2019 02:42 PM by 0xDEAD10CC.)
(Nov 6, 2019 02:37 PM)YouthInAsia Wrote: It's HF you think anyone would ask questions ffor legitimate reasons here? If he wants to upload to an FTP server, chances are he's using his own FTP server and doesn't know a better protocol and wants to send something like keylogger logs or whatever. Let him do it then lol. 😏 If your assumption is right: unless he's written his own FTP server, which I doubt it since he can't even create an FTP client to send data to the server... This is a hosting service that should already have security if he's set everything up appropriately; HTTPS, SFTP. Members get annoyed when I try to go outside the question and help them further, so I usually don't bother.
Getting Started: C/C++
[C/C++/.NET/x86 ASM - Automation Programmer] (Nov 6, 2019 02:41 PM)0xDEAD10CC Wrote: Let him do it then lol. 😏 Don't sweat it brother, we need people like you who give that extra information. C++ Enthusiast Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
|
|
|


