doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
ftpupload.c File Reference
#include <stdio.h>
#include <curl/curl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

Go to the source code of this file.

Macros

#define LOCAL_FILE   "/tmp/uploadthis.txt"
 
#define UPLOAD_FILE_AS   "while-uploading.txt"
 
#define REMOTE_URL   "ftp://localhost/" UPLOAD_FILE_AS
 
#define RENAME_FILE_TO   "renamed-and-fine.txt"
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

#define LOCAL_FILE   "/tmp/uploadthis.txt"

Definition at line 25 of file ftpupload.c.

#define REMOTE_URL   "ftp://localhost/" UPLOAD_FILE_AS

Definition at line 27 of file ftpupload.c.

#define RENAME_FILE_TO   "renamed-and-fine.txt"

Definition at line 28 of file ftpupload.c.

#define UPLOAD_FILE_AS   "while-uploading.txt"

Definition at line 26 of file ftpupload.c.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 30 of file ftpupload.c.