我是一名學生,是netBean php遠程服務器的新成員。我試圖通過netbeans(運行時)將php文件上傳到遠程服務器。我確定一切都在運行配置,ftp信息是正確的,我有權將文件上傳到該文件夾。netbeans php遠程服務器上傳文件
而這個錯誤發生: 消息提示:
"Cannot logout from server *name. Reason 250 OK. Current directory: *dir name"
日誌:
Log in output window:
220---------- Welcome to Pure-FTPd [privsep] ----------
220-You are user number 17 of 500 allowed.
220-Local time is now 04:13. Server port: 21.
220-This is a private system - No anonymous login
220 You will be disconnected after 3 minutes of inactivity.
USER a4514022
331 User a4514022 OK. Password required
PASS ******
230-OK. Current restricted directory is/
230-362 files used (3%) - authorized: 10000 files
230 2476 Kbytes used (0%) - authorized: 1536000 Kb
TYPE I
200 TYPE is now 8-bit binary
CWD /public_html
250 OK. Current directory is /public_html
CWD /public_html
250 OK. Current directory is /public_html
摘要
失敗: 文件的test.php無法上傳文件test.php的(未知的原因)。 運行時間:408毫秒,轉交:0個文件,0 KB
我不明白髮生了什麼事。如何解決它? 我使用netbean 6.9.1,windows 7和java ver 7(build 1.7.0_05)platform 1.7這些數字,我不知道哪一個是版本。我只是把所有那些。看來我是罕見的一個得到這個問題...
你使用的是什麼java和windows版本? 有關與Windows Vista/Windows 7和FTP遠程服務器結合使用的最新Java版本存在一些已知問題。 – Thomas
這是Windows 7和Java版本7(build 1.7.0_05)平臺1.7 這些數字,我不知道你問的是哪一個版本。我只是把所有那些。似乎我是罕見的一個得到這個問題... – Eddie
我有類似的問題...雖然前一個不同的錯誤消息。 您是否嘗試禁用有狀態的FTP? (幫助我)。 要做到這一點,你需要把下列命令行: 的netsh advfirewall的設置全局StatefulFTP禁用 更多細節: http://stackoverflow.com/questions/6990663/java-7-prevents-ftp-transfers-on-如何防火牆是任何想法 – Thomas