You Are Here:

Open C: FTP Client Example v1.1

Register Today

Register with Forum Nokia now and you'll enjoy the full benefits of the Forum Nokia membership.

Register Login
Community Highlights

Innovation Series Videos highlighting Forum Nokia developers

Wiki article of the week

Java Porting

Champion of the month

Felipe Andrade
Read more about Felipe on the Champions website.


Forum Nokia Events

Ovi Store Publisher Reporting
July 08, 2009
9 a.m. New York, 2 p.m. London, 4 p.m. Helsinki

Ovi Store Publisher Reporting
July 08, 2009
11 a.m. San Francisco, 2 p.m. New York

Nokia World 09
September 02, 2009
Stuttgart, Germany

Adobe MAX 2009
October 04, 2009
Los Angeles

International CTIA WIRELESS I.T. & Entertainment 2009
October 06, 2009
San Diego, California


View all
file name: Open_C_FTP_Client_Example_v1_1_en.zip
description: This updated C/C++ code example demonstrates porting standard C software to the S60 platform. In this example, an open source FTP library (ftplib and qftp; released under GNU General Public License) written in C has been ported to Open C. In addition, a simple UI has been written in Symbian C++ to provide a GUI application. A document about porting experiences and example architecture is also included in the package. The updated version adds support for the GCCE compiler and Carbide.c++ v1.2 IDE. Main Symbian C++/S60 classes: CAknSingleNumberStyleListBox, CAknSearchField, CAknTextQueryDialog, CFileMan, StringLoader. C/Open C classes: connect, socket, setsockopt.
type: Example
topics: Files/Data
Networking
Open C/C++
Open Source
Porting
     Porting to S60
Symbian C++
Symbian OS
(Enterprise)
language: English (en)
encoding: Zip Archive (.zip)
intended audience: Advanced
compatibility: S60 3rd Edition; S60 3rd Edition, Feature Pack 1. Created and tested with S60 3rd Edition SDK for Symbian OS, for C++, Maintenance Release and Open C SDK Plug-In for S60 3rd Edition SDKs, for Symbian OS, for C++ , Carbide.c++ v1.1 Express, and Carbide.c++ v1.2 Express. Tested with Nokia E60, Nokia E61, and Nokia N71.
Download AllVersions


Discussion about: Open C: FTP Client Example Discussion about
Latest postings Posting time
I have tested it only in emulator yet, but the example application also crashes there. I have version S60 3rd MR.
2009-04-16 08:34
by petr_kovar
You need to have installed Open C libraries on the development environment and device. From 3rd Edition, FP2 onwards Open C is preinstalled. On which device did you test the application? Did you test...
2009-04-16 05:54
by seppo_fn
I cannot get file from ftp. After succesful connection ftp server notifies "The connection was closed by the remote socket." and no file transfer happens. Please, tell me, what's wrong in my code....
2009-04-15 23:42
by petr_kovar
Ok guys, quick update with this one. the STOR command doesn't need the complete path to the file to be uploaded, the file name itself is enough. So instead of "STOR C:\\Data\\Images\\test.jpg\r\n"...
2009-04-04 13:17
by davo18
Hi all, I'm hoping someone might be able to give me a few hints with some issues i'm having with file uploads using some of the code supplied in this example. I've built an application that amoung...
2009-03-29 09:51
by davo18

Additional information

distribution: Forum Nokia Global Web Site
S60 Web Site
edition: 1
editorial revision: 1
rights: Copyright © 2007 Nokia Corporation.
size: 256 KB
supersedes: Open C: FTP Client Example

<< Back to Previous Page

 

Rate This:

Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditFurlTechnocratiMagnoliaTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
RDF Facets: qdcZdescriptionQSxThisE20updatedE20CE2fCE2bE2bE20codeE20eE78ampleE20demonstratesE20portingE20standardE20CE20softwareE20toE20theE20S60E20platformE2eE20InE20thisE20eE78ampleE2cE20anE20openE20sourceE20FTPE20libraryE20E28ftplibE20andE20E71ftpE3bE20releasedE20underE20GNUE20GeneralE20PublicE20E4cicenseE29E20writtenE20inE20CE20hasE20beenE20portedE20toE20OpenE20CE2eE20InE20additionE2cE20aE20simpleE20UIE20hasE20beenE20writtenE20inE20SymbianE20CE2bE2bE20toE20provideE20aE20GUIE20applicationE2eE20AE20documentE20aboutE20portingE20eE78periencesE20andE20eE78ampleE20architectureE20isE20alsoE20includedE20inE20theE20packageE2eE20TheE20updatedE20versionE20addsE20supportE20forE20theE20GCCE45E20compilerE20andE20CarbideE2ecE2bE2bE20v1E2e2E20IE44E45E2eE20MainE20SymbianE20CE2bE2bE2fS60E20classesE3aE20CAknSingleNumberStyleE4cistBoE78E2cE20CAknSearchFieldE2cE20CAknTeE78tE51ueryE44ialogE2cE20CFileManE2cE20StringE4coaderE2eE20CE2fOpenE20CE20classesE3aE20connectE2cE20socketE2cE20setsockoptE2eX qdcZformatQNx261906X qdcZidentifierQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f3b018428E2d3b4fE2d4ad7E2da245E2dfc1712ef5f36E2fOpenE5fCE5fFTPE5fClientE5fE45E78ampleE5fv1E5f0E5fenE2ezipX qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2ff383a01dE2deff8E2d497bE2dadecE2db907342b50f4E2fOpenE5fCE5fFTPE5fClientE5fE45E78ampleE5fv1E5f1E5fenE2ezipX qdcZtitleQSxOpenE20CE3aE20FTPE20ClientE20E45E78ampleE20v1E2e1X qdcZtypeQUqfnZPrimaryE52esourceQ qdcZtypeQUqfnTypeZApplicationQ qdcZtypeQUqfnTypeZE45E78ampleQ qdcZtypeQUqfnTypeZE52esourceQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqmarsZMediaInstanceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qdctermsZeE78tentQNx261906X qrssZdescriptionQSxThisE20updatedE20CE2fCE2bE2bE20codeE20eE78ampleE20demonstratesE20portingE20standardE20CE20softwareE20toE20theE20S60E20platformE2eE20InE20thisE20eE78ampleE2cE20anE20openE20sourceE20FTPE20libraryE20E28ftplibE20andE20E71ftpE3bE20releasedE20underE20GNUE20GeneralE20PublicE20E4cicenseE29E20writtenE20inE20CE20hasE20beenE20portedE20toE20OpenE20CE2eE20InE20additionE2cE20aE20simpleE20UIE20hasE20beenE20writtenE20inE20SymbianE20CE2bE2bE20toE20provideE20aE20GUIE20applicationE2eE20AE20documentE20aboutE20portingE20eE78periencesE20andE20eE78ampleE20architectureE20isE20alsoE20includedE20inE20theE20packageE2eE20TheE20updatedE20versionE20addsE20supportE20forE20theE20GCCE45E20compilerE20andE20CarbideE2ecE2bE2bE20v1E2e2E20IE44E45E2eE20MainE20SymbianE20CE2bE2bE2fS60E20classesE3aE20CAknSingleNumberStyleE4cistBoE78E2cE20CAknSearchFieldE2cE20CAknTeE78tE51ueryE44ialogE2cE20CFileManE2cE20StringE4coaderE2eE20CE2fOpenE20CE20classesE3aE20connectE2cE20socketE2cE20setsockoptE2eX qrssZtitleQSxOpenE20CE3aE20FTPE20ClientE20E45E78ampleE20v1E2e1X qeditorZdescriptionE5fcreatedQDx2007E2d06E2d21T06E3a38E3a42E5aX qeditorZdescriptionE5fmodifiedQDx2007E2d12E2d07T08E3a47E3a54E5aX qeditorZtypeQUqfnTypeZApplicationQ qeditorZtypeQUqfnTypeZE45E78ampleQ qeditorZtypeQUqfnTypeZE52esourceQ qfnZallowedE5fcountryE5fgroupQUqfnCountryGroupZBQ qfnZaudienceQUqfnAudienceZadvancedQRqmarsZrelevanceQNx100X qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X qfnZcompatibilityQSxS60E203rdE20E45ditionE3bE20S60E203rdE20E45ditionE2cE20FeatureE20PackE201E2eE20CreatedE20andE20testedE20withE20S60E203rdE20E45ditionE20SE44KE20forE20SymbianE20OSE2cE20forE20CE2bE2bE2cE20MaintenanceE20E52eleaseE20andE20OpenE20CE20SE44KE20PlugE2dInE20forE20S60E203rdE20E45ditionE20SE44KsE2cE20forE20SymbianE20OSE2cE20forE20CE2bE2bE20E2cE20CarbideE2ecE2bE2bE20v1E2e1E20E45E78pressE2cE20andE20CarbideE2ecE2bE2bE20v1E2e2E20E45E78pressE2eE20TestedE20withE20NokiaE20E4560E2cE20NokiaE20E4561E2cE20andE20NokiaE20N71E2eX qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX qfnZdistributionQUxhttpE3aE2fE2fwwwE2es60E2ecomE2fX qfnZeE78portE5fcontrolE5fcommodityE5fnumberQSx99X qfnZfeedbackE5fchannelQUxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fforumdisplayE2ephpE3ffE3d148X qfnZfeedbackE5fchannelE5fsummaryQUxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2ffeedE5fpostsE2ephpE3fforumidsE3d148X qfnZfilenameQSxOpenE5fCE5fFTPE5fClientE5fE45E78ampleE5fv1E5f1E5fenE2ezipX qfnZpublishedQDx2007E2d06E2d26T00E3a00E3a00E5aX qfnZrepresentationQLqeditorZAttachmentQxOpenE5fCE5fFTPE5fClientE5fE45E78ampleE5fv1E5f1E5fenE2ezipX qfnZtopicQUqfnTopicZcppQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZenterpriseQRqdcZtypeQUqmarsZManagedE52esourceQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx50X qfnZtopicQUqfnTopicZfilesE5fdataQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZnetworkingQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZopenE5fcQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZopenE5fsourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZportingQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZportingE5ftoE5fs60QRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZsymbianE5fosQRqmarsZrelevanceQNx100X qfnZtypeQUqfnTypeZApplicationQ qfnZtypeQUqfnTypeZE45E78ampleQ qfnZtypeQUqfnTypeZE52esourceQ qfnZupdatedQDx2007E2d12E2d07T08E3a47E3a54E5aX qfnZusE5foriginQLqE78sdZbooleanQxtrueX qmarsZdescriptionQSxThisE20updatedE20CE2fCE2bE2bE20codeE20eE78ampleE20demonstratesE20portingE20standardE20CE20softwareE20toE20theE20S60E20platformE2eE20InE20thisE20eE78ampleE2cE20anE20openE20sourceE20FTPE20libraryE20E28ftplibE20andE20E71ftpE3bE20releasedE20underE20GNUE20GeneralE20PublicE20E4cicenseE29E20writtenE20inE20CE20hasE20beenE20portedE20toE20OpenE20CE2eE20InE20additionE2cE20aE20simpleE20UIE20hasE20beenE20writtenE20inE20SymbianE20CE2bE2bE20toE20provideE20aE20GUIE20applicationE2eE20AE20documentE20aboutE20portingE20eE78periencesE20andE20eE78ampleE20architectureE20isE20alsoE20includedE20inE20theE20packageE2eE20TheE20updatedE20versionE20addsE20supportE20forE20theE20GCCE45E20compilerE20andE20CarbideE2ecE2bE2bE20v1E2e2E20IE44E45E2eE20MainE20SymbianE20CE2bE2bE2fS60E20classesE3aE20CAknSingleNumberStyleE4cistBoE78E2cE20CAknSearchFieldE2cE20CAknTeE78tE51ueryE44ialogE2cE20CFileManE2cE20StringE4coaderE2eE20CE2fOpenE20CE20classesE3aE20connectE2cE20socketE2cE20setsockoptE2eX qmarsZeditionQNx1X qmarsZencodingQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fencodingE2d1E2fzipX qmarsZinstanceOfQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fd0de05ccE2d9bf0E2d4bc0E2d9d11E2d30f6e1203d7dE2fOpenE5fCE5fFTPE5fClientE5fE45E78ampleX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qmarsZrevisionQNx1X qmarsZsizeQNx261906X qmarsZtitleQSxOpenE20CE3aE20FTPE20ClientE20E45E78ampleE20v1E2e1X qncZrightsQSxCopyrightE20Ea9E202007E20NokiaE20CorporationE2eX qncZsupersedesQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f3b018428E2d3b4fE2d4ad7E2da245E2dfc1712ef5f36E2fOpenE5fCE5fFTPE5fClientE5fE45E78ampleE5fv1E5f0E5fenE2ezipX qwebZresolvesAsQUxhttpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fdpE3furiE3dhttpE253AE252FE252FswE2enokiaE2ecomE252FidE252Ff383a01dE2deff8E2d497bE2dadecE2db907342b50f4E252FOpenE5fCE5fFTPE5fClientE5fE45E78ampleE5fv1E5f1E5fenE2ezipX qrdfZtypeQUqfnZPrimaryE52esourceQ qrdfZtypeQUqfnTypeZApplicationQ qrdfZtypeQUqfnTypeZE45E78ampleQ qrdfZtypeQUqfnTypeZE52esourceQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqmarsZMediaInstanceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ