PDA

View Full Version : filesize retrieval batch test


wkitty42
17th of October 2006 (Tue), 22:54
i've been working on getting eev2 installed on my setup... everything looks great from what i can see... the upgrade went just fine and i was at the "update filesizes" part of the install when i remembered that i had to change the paths to reflect the new domain and directory layout...


basically, all i did was to create a dedicated virtual domain for ee and install it in the root... i copied my existing exhibits to the new domain directory and then edited the paths as necessary in the paths editor... i also created a new database and copied the database files over before starting so i still have all my original stuff ;) so, new ee user name for the new database as well as a new ftp user name for the new domain... everything in the upgrade process was green... yay!


anyway, when i go to the ftp servers menu and run the "test now" options, the localhost ftp server works all the way up to the filesize batch retrieval process where it gives me the following...FILESIZE RETRIEVAL BATCH TEST
Uploading to server 'EE PROGRAM SERVER', path '/':
100000.jpg write FAILED. Check folder permissions.

Temp file is ./temp/100000.jpg (size bytes)
UPLOAD ./temp/100000.jpg FAILED
the thing is, there is a zero byte file of that name in the /test directory...


here is what the ftp server logs show... username blanked for security...



2006-10-17 22:41:53 1370 New client [127.0.0.1]
2006-10-17 22:41:53 W 1370 Watchdog timer started
2006-10-17 22:41:53 1370 USER ******
2006-10-17 22:41:53 1370 331 Password required.
2006-10-17 22:41:53 1370 PASS ******
2006-10-17 22:41:53 1370 230 Login OK.
2006-10-17 22:41:53 1370 SYST
2006-10-17 22:41:53 1370 215 UNIX type:OS/2
2006-10-17 22:41:53 1370 FEAT
2006-10-17 22:41:53 1370 500 Unknown command FEAT
2006-10-17 22:41:54 1370 TYPE I
2006-10-17 22:41:54 1370 200 OK
2006-10-17 22:41:54 1370 PWD
2006-10-17 22:41:54 1370 257 "/" is current directory.
2006-10-17 22:41:54 1370 CWD /test
2006-10-17 22:41:54 1370 550 Cannot change directory.
2006-10-17 22:41:54 1370 CWD /test
2006-10-17 22:41:54 1370 550 Cannot change directory.
2006-10-17 22:41:54 1370 MKD test
2006-10-17 22:41:54 1370 257 "test" created
2006-10-17 22:41:54 1370 CWD /test
2006-10-17 22:41:54 1370 250 CWD OK
2006-10-17 22:41:54 1370 PWD
2006-10-17 22:41:54 1370 257 "/test/" is current directory.
2006-10-17 22:41:54 1370 MKD testchmod
2006-10-17 22:41:54 1370 257 "testchmod" created
2006-10-17 22:41:54 1370 SITE CHMOD 777 testchmod
2006-10-17 22:41:54 1370 502 Not implemented CHMOD 777 TESTCHMOD
2006-10-17 22:41:54 1370 RMD testchmod
2006-10-17 22:41:54 1370 250 Directory deleted.
2006-10-17 22:41:54 1370 CWD /test
2006-10-17 22:41:54 1370 250 CWD OK
2006-10-17 22:41:54 1370 MKD ee_ftp_test_directory_creation
2006-10-17 22:41:54 1370 257 "ee_ftp_test_directory_creation" created
2006-10-17 22:41:54 1370 CWD ee_ftp_test_directory_creation
2006-10-17 22:41:54 1370 250 CWD OK
2006-10-17 22:41:54 1370 CWD /test
2006-10-17 22:41:54 1370 250 CWD OK
2006-10-17 22:41:54 1370 RMD /test/ee_ftp_test_directory_creation
2006-10-17 22:41:54 1370 250 Directory deleted.
2006-10-17 22:41:54 1370 PASV
2006-10-17 22:41:54 1370 227 Entering passive mode (127,0,0,1,11,169)
2006-10-17 22:41:54 1370 STOR ee_test0.jpg
2006-10-17 22:41:54 1370 150 OK, opening data connection.
2006-10-17 22:41:54 1370 226 Transfer complete, closing data connection.
2006-10-17 22:41:54 1370 SIZE ee_test0.jpg
2006-10-17 22:41:54 1370 213 6357
2006-10-17 22:41:55 1370 MDTM ee_test0.jpg
2006-10-17 22:41:55 1370 213 20061017224054
2006-10-17 22:41:55 1370 PASV
2006-10-17 22:41:55 1370 227 Entering passive mode (127,0,0,1,11,171)
2006-10-17 22:41:55 1370 STOR ee_test1.jpg
2006-10-17 22:41:55 1370 150 OK, opening data connection.
2006-10-17 22:41:55 1370 226 Transfer complete, closing data connection.
2006-10-17 22:41:55 1370 SIZE ee_test1.jpg
2006-10-17 22:41:55 1370 213 7039
2006-10-17 22:41:55 1370 MDTM ee_test1.jpg
2006-10-17 22:41:55 1370 213 20061017224054
2006-10-17 22:41:55 1370 PASV
2006-10-17 22:41:55 1370 227 Entering passive mode (127,0,0,1,11,173)
2006-10-17 22:41:55 1370 STOR ee_test2.jpg
2006-10-17 22:41:55 1370 150 OK, opening data connection.
2006-10-17 22:41:55 1370 226 Transfer complete, closing data connection.
2006-10-17 22:41:55 1370 SIZE ee_test2.jpg
2006-10-17 22:41:55 1370 213 6284
2006-10-17 22:41:55 1370 MDTM ee_test2.jpg
2006-10-17 22:41:55 1370 213 20061017224054
2006-10-17 22:41:55 1370 PASV
2006-10-17 22:41:55 1370 227 Entering passive mode (127,0,0,1,11,175)
2006-10-17 22:41:55 1370 STOR ee_test3.jpg
2006-10-17 22:41:55 1370 150 OK, opening data connection.
2006-10-17 22:41:55 1370 226 Transfer complete, closing data connection.
2006-10-17 22:41:55 1370 SIZE ee_test3.jpg
2006-10-17 22:41:55 1370 213 5088
2006-10-17 22:41:56 1370 MDTM ee_test3.jpg
2006-10-17 22:41:56 1370 213 20061017224054
2006-10-17 22:41:56 1370 PASV
2006-10-17 22:41:56 1370 227 Entering passive mode (127,0,0,1,11,177)
2006-10-17 22:41:56 1370 STOR ee_test4.jpg
2006-10-17 22:41:56 1370 150 OK, opening data connection.
2006-10-17 22:41:56 1370 226 Transfer complete, closing data connection.
2006-10-17 22:41:56 1370 SIZE ee_test4.jpg
2006-10-17 22:41:56 1370 213 5161
2006-10-17 22:41:56 1370 MDTM ee_test4.jpg
2006-10-17 22:41:56 1370 213 20061017224056
2006-10-17 22:41:56 1370 DELE ee_test0.jpg
2006-10-17 22:41:56 1370 250 File deleted.
2006-10-17 22:41:56 1370 DELE ee_test1.jpg
2006-10-17 22:41:56 1370 250 File deleted.
2006-10-17 22:41:56 1370 DELE ee_test2.jpg
2006-10-17 22:41:56 1370 250 File deleted.
2006-10-17 22:41:56 1370 DELE ee_test3.jpg
2006-10-17 22:41:56 1370 250 File deleted.
2006-10-17 22:41:56 1370 DELE ee_test4.jpg
2006-10-17 22:41:56 1370 250 File deleted.
2006-10-17 22:41:56 1370 QUIT
2006-10-17 22:41:56 1370 221 Goodbye.
2006-10-17 22:41:56 1370 Session terminated by QUIT from client
2006-10-17 22:41:56 W 1370 Session terminated without timing out
2006-10-17 22:41:56 W 1370 Waiting for client socket to be closed
2006-10-17 22:41:56 W 1370 Watchdog timer closing
2006-10-17 22:41:56 1378 New client [127.0.0.1]
2006-10-17 22:41:56 W 1378 Watchdog timer started
2006-10-17 22:41:56 1378 USER ******
2006-10-17 22:41:57 1378 331 Password required.
2006-10-17 22:41:57 1378 PASS ******
2006-10-17 22:41:57 1378 230 Login OK.
2006-10-17 22:41:57 1378 CWD /test
2006-10-17 22:41:57 1378 250 CWD OK
2006-10-17 22:41:57 1378 TYPE I
2006-10-17 22:41:57 1378 200 OK
2006-10-17 22:41:58 1378 PASV
2006-10-17 22:41:58 1378 227 Entering passive mode (127,0,0,1,11,180)
2006-10-17 22:41:58 1378 STOR 100000.jpg
2006-10-17 22:41:58 1378 150 OK, opening data connection.
2006-10-17 22:41:59 1378 226 Transfer complete, closing data connection.
2006-10-17 22:41:59 1378
2006-10-17 22:41:59 1378 500 Unknown command
2006-10-17 22:41:59 1378 Session aborted
2006-10-17 22:41:59 W 1378 Session terminated without timing out
2006-10-17 22:41:59 W 1378 Waiting for client socket to be closed
2006-10-17 22:41:59 W 1378 Watchdog timer closing
i believe that part of the problem is right above the "500 Unknown command" error... it looks like some sort of blank or empty command is being sent to the ftp server... i get pretty much the same thing if i switch to using the php ftp code instead of the ee ftp code...
so, where's my problem??

wkitty42
18th of October 2006 (Wed), 19:17
anyway, when i go to the ftp servers menu and run the "test now" options, the localhost ftp server works all the way up to the filesize batch retrieval process where it gives me the following...FILESIZE RETRIEVAL BATCH TEST
Uploading to server 'EE PROGRAM SERVER', path '/':
100000.jpg write FAILED. Check folder permissions.

Temp file is ./temp/100000.jpg (size bytes)
UPLOAD ./temp/100000.jpg FAILEDthe thing is, there is a zero byte file of that name in the /test directory...

[chomp]

i believe that part of the problem is right above the "500 Unknown command" error... it looks like some sort of blank or empty command is being sent to the ftp server... i get pretty much the same thing if i switch to using the php ftp code instead of the ee ftp code...
so, where's my problem??

this problem is fixed by the manual creation of <admin>/temp and <admin>/UPLOAD/ee_temp_upload as noted in this (http://photography-on-the.net/forum/showthread.php?t=229112) message