void f_UploadContents() { // Get the object used to communicate with the server. FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://www.contoso.com/test.htm"); request.Method = WebRequestMethods.Ftp.UploadFile; // This example assumes the FTP site uses anonymous logon. request.Credentials = new NetworkCredential("anonymous", "janeDoe@contoso.com"); // Copy the contents of the file to the request stream. StreamReader sourceStream = new StreamReader("testfile.txt"); byte[] fileContents = Encoding.UTF8.GetBytes(sourceStream.ReadToEnd()); sourceStream.Close(); request.ContentLength = fileContents.Length; Stream requestStream = request.GetRequestStream(); requestStream.Write(fileContents, 0, fileContents.Length); requestStream.Close(); FtpWebResponse response = (FtpWebResponse)request.GetResponse(); Console.WriteLine("Upload File Complete, status {0}", response.StatusDescription); response.Close(); }
Aklımda Kalası Kelimeler
* давайте работать вместе
* Zarf ve Mazruf, Zerafet(xHoyratlık) ile aynı kökten(za-ra-fe) gelir
* Bedesten
* Suç subuta ermiştir - Suç sabit olmuştur
FTP etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
FTP etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
8 Aralık 2011 Perşembe
CSharp ile Ftp Upload
Kodu:
Etiketler:
C#,
FTP,
FtpWebRequest,
FtpWebResponse,
GetResponse,
Kod,
StreamReader,
Upload,
WebRequestMethods
17 Eylül 2011 Cumartesi
FTP de HASH komutu
Her 200byte indirildiğinde bir # ile ilerleme gösterilir.
Anonymous FTP SİTES
Anonymous FTP Sites Overall Summary
•Number of anonymous FTP sites: 5,593
•Total file number on all anonymous FTP sites: 259,497,808
•Total file size on all anonymous FTP sites: 94.96 TB
Summary Per Domain
Click on a top level domain name to view a detailed listing of anonymous ftp sites in that domain.
Domain
Number of FTP sites
Number of files
Total size
ac
2
76,623
10.89 GB
ai
1
352
212.59 MB
ar
2
168,002
25.34 GB
at
33
746,963
278.30 GB
au
81
2,001,058
981.99 GB
be
30
4,854,892
1.82 TB
bg
3
393
473.37 MB
br
26
1,649,441
334.31 GB
by
2
13,487
3.40 GB
ca
86
1,211,927
460.48 GB
cc
3
5,258
4.53 GB
ch
36
721,805
527.48 GB
cl
9
844,790
344.08 GB
cn
8
457,039
130.84 GB
com
1,162
7,746,707
4.99 TB
cr
1
361,352
63.22 GB
cx
1
1,262
370.94 MB
cz
40
4,138,585
1.92 TB
de
443
29,896,222
13.19 TB
dk
34
1,169,100
498.28 GB
edu
439
18,166,912
6.33 TB
ee
134
1,252,886
579.85 GB
es
33
4,101,703
1.90 TB
fi
22
541,568
126.67 GB
fr
135
8,155,180
2.80 TB
ge
1
59
73.59 MB
gov
42
745,050
272.23 GB
gr
10
3,696,871
1.16 TB
hk
6
1,303,833
442.74 GB
hr
4
619,673
219.26 GB
hu
26
1,273,061
687.23 GB
id
1
131,313
33.18 GB
ie
10
5,324,119
1.77 TB
il
5
339,563
136.22 GB
in
1
36,926
9.36 GB
info
2
111
70.93 MB
int
1
81
35.68 MB
is
11
2,577,360
912.86 GB
it
53
4,275,241
1.81 TB
jp
85
13,961,127
3.55 TB
kg
1
3,236
12.77 GB
kr
5
1,123,866
399.07 GB
kz
5
1,637
14.26 GB
lt
6
72,861
38.87 GB
lu
1
3
976.13 KB
lv
5
55,672
34.41 GB
mil
6
215,512
188.55 GB
mx
1
104,053
6.14 GB
my
1
28,064
17.65 GB
net
335
19,749,351
7.70 TB
ni
1
336
4.70 GB
nl
105
9,417,802
3.30 TB
no
46
1,789,723
547.07 GB
nu
6
2,005
692.67 MB
nz
13
552,882
243.39 GB
org
557
62,939,469
18.34 TB
pl
112
15,389,022
5.57 TB
pt
15
5,005,961
1.34 TB
ro
7
601,812
244.41 GB
ru
878
6,549,317
1.92 TB
sa
1
582,413
205.92 GB
se
70
2,786,014
1.07 TB
sg
5
377,113
100.05 GB
si
1
459,872
195.66 GB
sk
9
1,085,727
478.93 GB
su
28
394,335
156.79 GB
th
17
691,964
497.31 GB
tk
1
863
2.16 GB
tr
6
538,323
343.45 GB
tv
1
11
2.37 MB
tw
29
3,412,164
2.72 TB
ua
69
644,749
143.30 GB
uk
211
1,857,399
902.76 GB
us
2
52,748
14.29 GB
ve
1
37,598
15.92 GB
ws
2
633
1.60 GB
yu
2
258
503.86 MB
za
8
405,145
165.15 GB
Top 20 Of Anonymous FTP Sites With Most Files
Click on a ftp site to view more details about it.
Site
Number of files
Total file size
ftp://ftp.freshrpms.net/
3,544,263
1.69 TB
ftp://ftp.heanet.ie/
3,527,635
1.67 TB
ftp://ftp.leo.org/
3,255,949
924.57 GB
ftp://ftp.giga.net.tw/
2,775,630
2.33 TB
ftp://ftp.gwdg.de/
2,570,430
886.73 GB
ftp://ftp.rediris.es/
2,565,731
1.10 TB
ftp://ftp.lublin.pl/
2,492,429
848.58 GB
ftp://ftp.it.freebsd.org/
2,471,007
894.94 GB
ftp://ftp.de.netbsd.org/
2,458,485
713.28 GB
ftp://ftp.mirror.nl/
2,351,994
924.37 GB
ftp://ftp.es.kde.org/
2,339,290
1000.26 GB
ftp://ftp.iij.ad.jp/
2,291,942
705.39 GB
ftp://ftp.aist-nara.ac.jp/
2,267,934
645.16 GB
ftp://ftp.esat.net/
2,192,106
943.63 GB
ftp://ftp.rhnet.is/
2,112,017
748.59 GB
ftp://ftp.bv.kernel.org/
2,081,328
685.59 GB
ftp://ftp.tu-chemnitz.de/
2,019,592
1.03 TB
ftp://ftp.iamas.ac.jp/
1,966,283
502.80 GB
ftp://ftp.eos.hokudai.ac.jp/
1,963,407
474.40 GB
ftp://ftp.tiscali.de/
1,859,494
514.56 GB
Top 20 Of Largest Anonymous FTP Sites
Click on a ftp site to view more details about it.
Site
Number of files
Total file size
ftp://ftp.giga.net.tw/
2,775,630
2.33 TB
ftp://ftp.freshrpms.net/
3,544,263
1.69 TB
ftp://ftp.heanet.ie/
3,527,635
1.67 TB
ftp://ftp.rediris.es/
2,565,731
1.10 TB
ftp://ftp.tu-chemnitz.de/
2,019,592
1.03 TB
ftp://ftp.es.kde.org/
2,339,290
1000.26 GB
ftp://ftp.esat.net/
2,192,106
943.63 GB
ftp://ftp.leo.org/
3,255,949
924.57 GB
ftp://ftp.mirror.nl/
2,351,994
924.37 GB
ftp://ftp.it.freebsd.org/
2,471,007
894.94 GB
ftp://ftp.gwdg.de/
2,570,430
886.73 GB
ftp://ftp.lublin.pl/
2,492,429
848.58 GB
ftp://ftp.rhnet.is/
2,112,017
748.59 GB
ftp://ftp.de.netbsd.org/
2,458,485
713.28 GB
ftp://ftp.iij.ad.jp/
2,291,942
705.39 GB
ftp://ftp.bv.kernel.org/
2,081,328
685.59 GB
ftp://ftp.ussg.iu.edu/
1,540,654
679.05 GB
ftp://ftp.aist-nara.ac.jp/
2,267,934
645.16 GB
ftp://ftp.uni-bayreuth.de/
1,029,153
637.04 GB
ftp://ftp.ch.freebsd.org/
1,267,824
619.88 GB
Kaydol:
Kayıtlar (Atom)