kimtakar Posted January 5, 2014 Share Posted January 5, 2014 (edited) Arkadaşlar projemde dosya yedeklerimi ftp sunucusuna aktarmak için basit bi kod demeti yazdım ama çalıştıramıyorum yardım ederseniz sevinirim. kod: -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- sunucu = Input.GetText("sunucu") ad = Input.GetText("adi") sifre= Input.GetText("sifre") FTP.Connect( sunucu, ad, sifre, "", true) FTP.Upload( _SourceFolder .. "Up_yedek\\yedekler.zip", "yedekler.zip"); FTP.Disconnect (); Dialog.Message("Tebrikler", "Yedekleme işleminiz tamamlanmıştır", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- nerde hata yapıyorum? Edited January 5, 2014 by kimtakar Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted January 5, 2014 Share Posted January 5, 2014 FTP.Upload(_SourceFolder .. "\\Up_yedek\\yedekler.zip", "yedekler.zip"); böyle dene Quote Link to comment Share on other sites More sharing options...
kimtakar Posted January 5, 2014 Author Share Posted January 5, 2014 FTP.Upload(_SourceFolder .. "\\Up_yedek\\yedekler.zip", "yedekler.zip"); böyle dene çalışmadı yani "filezilla sever" ile deneme sunucu oluşturdum onda deniyorum, sunucuya bağlanıyo gibi oluyo ama bağlanmıyo, kodlardaki sorun nedir acaba Quote Link to comment Share on other sites More sharing options...
KintaRo Posted January 5, 2014 Share Posted January 5, 2014 http://www.tnctr.com/topic/157147-amsftp/ dosya linki çalışmıyorsa imzamdaki klasörde vardır. Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted January 5, 2014 Share Posted January 5, 2014 KintaRo'nun FTP örnek çalışmasını incele. Şu anda AMS yok bilgisayarda, yapabileceğim birşey yok. Quote Link to comment Share on other sites More sharing options...
kimtakar Posted January 5, 2014 Author Share Posted January 5, 2014 http://www.tnctr.com/topic/157147-amsftp/ dosya linki çalışmıyorsa imzamdaki klasörde vardır. üstadım bu çalışmanızı inceledim ancak benim yapmaya çalıştığım tek buton ile upload yapmak Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted January 5, 2014 Share Posted January 5, 2014 E o zaman upload tuşundaki kodları incele Quote Link to comment Share on other sites More sharing options...
kimtakar Posted January 5, 2014 Author Share Posted January 5, 2014 E o zaman upload tuşundaki kodları incele paylaştığım kodlar butona ait olan kodlar zaten Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted January 8, 2014 Editor Share Posted January 8, 2014 FTP.Changedir ile upload ediceğin dizine gitmelisin. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.