Форум программистов, компьютерный форум CyberForum.ru
CyberForum.ru - форум программистов и сисадминов > > >
Восстановить пароль Регистрация
 
Платон Ефимов
Новичок
0 / 0 / 0
Регистрация: 30.11.2012
Сообщений: 15
20.12.2012, 20:09     C++ и IdFTP
  #1
Код C++
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
int oper3()
{
    system("cls");
    cout << "***";
    string z, x;
    ifstream f("***.txt");
    f >> z;
    f >> x;
    IdFTP1->Host = "ftp.***.ru"; 
    IdFTP1->Port = 21;
    IdFTP1->Username = "***@***.ru";
    IdFTP1->Password = "***";
    IdFTP1->Connect();
    IdFTP1->Put(z, x, true);
    IdFTP1->Disconnect();
}
Вот выхлоп:

73 *****\main.cpp `IdFTP1' undeclared (first use this function)

Может подключить библиотеку, или ещё что? У меня только это есть:

Код C++
1
2
3
4
5
6
7
8
#include <iostream>
#include <cstdlib>
#include <windows.h>
#include <fstream>
#include <windows.h>
#include <string>
 
using namespace std;
AdAgent
Объявления
20.12.2012, 20:09
После регистрации реклама в сообщениях будет скрыта и будут доступны все возможности форума.
Ответ Создать новую тему
Опции темы

Текущее время: 12:20. Часовой пояс GMT +4.
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin® Version 3.8.7 PL3
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
X vBulletin 3.8.7 PL3 Debug Information
  • Page Generation 0.62293 seconds
  • Memory Usage 31,034KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_forum_allpages_top
  • (1)ad_forum_description_below
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_afterqr
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)awards_postbit_display_style3
  • (1)blog_navbar_link
  • (1)blog_navbar_link_menu
  • (1)blog_navbar_search
  • (1)comm_css
  • (1)footer
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (2)navbar
  • (4)navbar_link
  • (1)option
  • (1)pdp_checkbox
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit_legacy
  • (1)postbit_onlinestatus
  • (1)postbit_reputation
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper
  • (1)vbfavorites_postbit 

Phrase Groups Available:
  • showthread
Included Files:
  • ./vbseo.php
  • ./vbseo/includes/functions_vbseo.php
  • ./vbseo/includes/functions_vbseo_pre.php
  • ./vbseo/includes/functions_vbseo_url.php
  • ./vbseo/includes/functions_vbseo_createurl.php
  • ./vbseo/includes/functions_vbseo_db.php
  • ./vbseo/includes/functions_vbseo_vb.php
  • ./vbseo/includes/functions_vbseo_seo.php
  • ./vbseo/includes/functions_vbseo_misc.php
  • ./vbseo/includes/functions_vbseo_crr.php
  • ./vbseo/includes/functions_vbseo_cache.php
  • ./vbseo/includes/functions_vbseo_hook.php
  • ./vbseo/includes/functions_vbseo_startup.php
  • ./includes/config.php
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/functions.php
  • ./includes/class_datastore.php
  • ./includes/class_hook.php
  • ./hooks/post_thank_you/cache_templates.php
  • ./hooks/yet_another_award_system/cache_templates.php
  • ./krscripts/krnewforumhome/cache_templates.php
  • ./hooks/debug_mode_from_admincp/global_start.php
  • ./krscripts/phdetect/hooks/phishing_detect.php
  • ./includes/functions_seo.php
  • ./includes/adminfunctions.php
  • ./includes/functions_mgc_cb_evo.php
  • ./hooks/one_touch_ban_spam_cleanup/global_start.php
  • ./krscripts/ttstyle/includes/functions_ttstyle.php
  • ./krscripts/stierlitz/hooks/global_start.php
  • ./krscripts/bestanswer/includes/functions_bestanswer.php
  • ./krscripts/krannouncements/global_start.php
  • ./hooks/cyb_sub_forum_manager/parse_templates.php
  • ./hooks/display_unread_posts_and_reputation_comments/parse_templates.php
  • ./hooks/advanced_login_system/global_setup_complete_login.php
  • ./krscripts/krannouncements/global_setup_complete.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./geshi/geshi.php
  • ./includes/functions_reputation.php
  • ./hooks/threads_notifications/showthread_start.php
  • ./krscripts/bestanswer/hooks/showthread_start.php
  • ./hooks/prevent_doubleposts_mdm/showthread_getinfo.php
  • ./hooks/first_post_on_all_pages/showthread_query.php
  • ./includes/functions_vbanonymizer.php
  • ./includes/adminfunctions_template.php
  • ./includes/functions_misc.php
  • ./includes/functions_post_thanks.php
  • ./includes/functions_search.php
  • ./includes/functions_databuild.php
  • ./scheduledthread.php
  • ./includes/class_xml.php
  • ./krthreadup.php 

Hooks Called:
  • init_startup
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • template_groups
  • template_safe_functions
  • template_compile
  • postbit_factory
  • postbit_display_start
  • fetch_musername
  • reputation_image
  • postbit_imicons
  • bbcode_parse_start
  • postbit_display_complete
  • search_similarthreads_fulltext
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete