Languages

Menu
Sites
Language
How to upload file to FTP server? (Native API)

[Korean]=============================

안녕하십니까?

이미지 파일을 FTP 서버에 업로드 하고 싶습니다.

어떻게 하면 되나요?

네이티브 API 로 앱을 개발하고 있습니다.

 

[English]=============================

Hello!

I want to upload image file to FTP server.

How can I do this?

I am developing by Tizen Native API.

Thank you.

Responses

1 Replies
Anirban Dutta

Hello!

You can try curl to upload files to FTP server.

curl (libcurl) is available as Native API for both Tizen Mobile and Tizen Wearable.  

We have to initialize curl to use in our application. Here are few references to be tried out:

https://developer.tizen.org/development/api-tutorials/native-application/network/curl#init

libcurl is well documented here: https://curl.haxx.se/libcurl/c/

File upload example: https://curl.haxx.se/libcurl/c/fileupload.html. Mention your ftp url after CURLOPT URL parameter.

Native API Reference : https://developer.tizen.org/development/getting-started/native-application/understanding-tizen-programming/tizen-apis

Thanks.