Dobry den. taktiez mam problem s FTP. Cez web nahram hocico ale inak sa len vytvoria priecinky a subory sa nenahraju. skusal som uz viac FTP clientov a stale to nejde.
prosim pomozte
tu je LOG:
-----------------------------------------------------------------------------------------
12. 3. 2007 22:28:43.750 PASS
12. 3. 2007 22:28:43.765 230-Last login on 2007-03-12 22:28:28 from 158.195.103.233.
12. 3. 2007 22:28:43.765 Quotas: using 2344.00 of 50000 KB (4.69% used)
12. 3. 2007 22:28:43.781 230 Access granted for tlama.xf.cz.
12. 3. 2007 22:28:43.781 Autorizácia pripojenia prijatá.
12. 3. 2007 22:28:43.781 PWD
12. 3. 2007 22:28:43.812 257 "/" is current directory.
12. 3. 2007 22:28:43.812 FEAT
12. 3. 2007 22:28:43.828 211-Features
12. 3. 2007 22:28:43.828 MDT
12. 3. 2007 22:28:43.828 REST STREA
12. 3. 2007 22:28:43.828 SIZE
12. 3. 2007 22:28:43.828 211 End
12. 3. 2007 22:28:43.843 CWD /
12. 3. 2007 22:28:43.859 250 CWD command successful
12. 3. 2007 22:28:43.859 PWD
12. 3. 2007 22:28:43.875 257 "/" is current directory.
12. 3. 2007 22:28:43.875 PASV
12. 3. 2007 22:28:43.890 227 Entering Passive Mode (195,122,194,233,145,226).
12. 3. 2007 22:28:43.906 Pripájam sa na 195.122.194.233:37346
12. 3. 2007 22:28:43.921 LIST
12. 3. 2007 22:28:43.937 150 Opening ASCII mode data connection for file list
12. 3. 2007 22:28:43.968 226-Transfer complete.
12. 3. 2007 22:28:43.968 226 Quotas: using 2344.00 of 50000 KB (4.69% used)
12. 3. 2007 22:28:43.984 Ukončené na 565
12. 3. 2007 22:28:50.156 CWD /PHP
12. 3. 2007 22:28:50.171 250 CWD command successful
12. 3. 2007 22:28:50.171 PWD
12. 3. 2007 22:28:50.187 257 "/PHP" is current directory.
12. 3. 2007 22:28:50.203 PASV
12. 3. 2007 22:28:50.218 227 Entering Passive Mode (195,122,194,233,145,243).
12. 3. 2007 22:28:50.234 Pripájam sa na 195.122.194.233:37363
12. 3. 2007 22:28:50.250 LIST
12. 3. 2007 22:28:50.281 150 Opening ASCII mode data connection for file list
12. 3. 2007 22:28:50.296 226-Transfer complete.
12. 3. 2007 22:28:50.296 226 Quotas: using 2344.00 of 50000 KB (4.69% used)
12. 3. 2007 22:28:50.312 Ukončené na 505
12. 3. 2007 22:28:51.859 CWD /PHP/examples
12. 3. 2007 22:28:51.875 250 CWD command successful
12. 3. 2007 22:28:51.875 PWD
12. 3. 2007 22:28:51.890 257 "/PHP/examples" is current directory.
12. 3. 2007 22:28:51.890 PASV
12. 3. 2007 22:28:51.921 227 Entering Passive Mode (195,122,194,233,145,248).
12. 3. 2007 22:28:51.921 Pripájam sa na 195.122.194.233:37368
12. 3. 2007 22:28:51.937 LIST
12. 3. 2007 22:28:51.953 150 Opening ASCII mode data connection for file list
12. 3. 2007 22:28:51.968 226-Transfer complete.
12. 3. 2007 22:28:51.968 226 Quotas: using 2344.00 of 50000 KB (4.69% used)
12. 3. 2007 22:28:51.984 Ukončené na 252
12. 3. 2007 22:29:05.718 CWD /PHP/examples
12. 3. 2007 22:29:07.328 250 CWD command successful
12. 3. 2007 22:29:07.328 PWD
12. 3. 2007 22:29:07.343 257 "/PHP/examples" is current directory.
12. 3. 2007 22:29:07.359 PASV
12. 3. 2007 22:29:07.375 227 Entering Passive Mode (195,122,194,233,146,49).
12. 3. 2007 22:29:07.375 Pripájam sa na 195.122.194.233:37425
12. 3. 2007 22:29:07.406 LIST
12. 3. 2007 22:29:07.421 150 Opening ASCII mode data connection for file list
12. 3. 2007 22:29:07.437 226-Transfer complete.
12. 3. 2007 22:29:07.437 226 Quotas: using 2344.00 of 50000 KB (4.69% used)
12. 3. 2007 22:29:07.437 Ukončené na 252
Nikde tam nevidím, že by ses pokoušel nahrávat soubory (STOR). Dej sem log, po pokusu o nahrávaní souborů. Mi to funguje bez problémů. Na svůj web jsem přenesl adresář "s" se souborem "moxon.gif". FTP log vypadal takto:
226 Quotas: using 5012.00 of 50000 KB (10.02% used)
MKD s
257 "/s" - Directory successfully created
CWD s
250 CWD command successful
PWD
257 "/s" is current directory.
Adresář
PASV
227 Entering Passive Mode (10,253,32,103,65,89)
LIST
150 Opening ASCII mode data connection for file list
Stahuje se
Čekáme na server...
226-Transfer complete.
226 Quotas: using 5012.00 of 50000 KB (10.02% used)
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (10,253,32,103,65,90)
STOR moxon.gif
150 Opening BINARY mode data connection for moxon.gif
Přenášení: 17 495 bytes, 15.3 kbytes/s
226 Transfer complete.
Copied (16.3.2007 15:30:33): D:\s\moxon.gif -> ftp://knizky.unas.cz/s/moxon.gif 17 495 bytes, 16.6 kbytes/s