PDA

View Full Version : adding new size path fails to create directory (CAN NOT VERIFY, folder outside www?)


wkitty42
2nd of November 2006 (Thu), 00:38
in this (http://photography-on-the.net/forum/showthread.php?t=234742) thread, we talk about adding a new size path to existing photos and uploading the photo as needed... i just tested my initial guesstimate method and it works for individual photos except for one bugglet... i watched my ftp server screen during the process and the code doesn't create the new directory when it cannot access it...

here's the log of the server messages showing such...


msg 110 | internal ftp: QUIT
msg 109 | internal ftp: DOWNLOAD(END): 226 Transfer complete, closing data connection.
msg 108 | internal ftp: FILE './temp/P3260079.JPG' SAVED
msg 107 | internal ftp: DOWNLOADED 259KB (265640 bytes)
msg 106 | internal ftp: RETR: 150 Opening BINARY mode data connection for file P3260079.JPG (265640 bytes).
msg 105 | internal ftp: DATA SOCKET OPEN
msg 104 | internal ftp: OPENING NEW DATA SOCKET
msg 103 | internal ftp: Parsed data connection address is 127.0.0.1:3815
msg 102 | internal ftp: PASV: 227 Entering passive mode (127,0,0,1,14,231)
msg 101 | internal ftp: PASV
msg 100 | internal ftp: CWD: 250 CWD OK
msg 99 | internal ftp: CWD /Exhibits/waldo/misc/large
msg 98 | internal ftp: TYPE: 200 OK
msg 97 | internal ftp: TYPE I
msg 96 | internal ftp: PASS:
230-Connected to: ftp.wpusa.dynip.com
230-User 1 of a maximum 10.
230-unlimited simultaneous connections allowed.
230-Local system time is 00:21.
230-
230-Problem reports to xxxxxxxxxx @ alltel.net
230 Login OK.


msg 95 | internal ftp: PASS *******
msg 94 | internal ftp: USER: 331 Password required.
msg 93 | internal ftp: USER xxxxxxxxxxxxxxxx
msg 92 | internal ftp: CONNECT: 220 FtpServer 1.27 ready
msg 91 | internal ftp: LOCAL: DISCONNECTED
msg 90 | internal ftp: QUIT
msg 89 | internal ftp: UPLOAD(END): 226 Transfer complete, closing data connection.
msg 88 | internal ftp: P3260079.JPG UPLOADED
msg 87 | internal ftp: OK, 265640 bytes sent
msg 86 | internal ftp: upload in progress...
msg 85 | internal ftp: 150 OK, opening data connection.
msg 84 | internal ftp: STOR_A: 150 OK, opening data connection.
msg 83 | internal ftp: STOR P3260079.JPG
msg 82 | internal ftp: local file ./temp/P3260079.JPG cached
msg 81 | internal ftp: DATA SOCKET OPEN
msg 80 | internal ftp: OPENING NEW DATA SOCKET
msg 79 | internal ftp: Parsed data connection address is 127.0.0.1:3812
msg 78 | internal ftp: PASV: 227 Entering passive mode (127,0,0,1,14,228)
msg 77 | internal ftp: PASV
msg 76 | internal ftp: TYPE: 200 OK
msg 75 | internal ftp: TYPE I
msg 74 | internal ftp: LOCAL: Working directory changed to '/Exhibits/waldo/misc/large'
msg 73 | internal ftp: CWD: 250 CWD OK
msg 72 | internal ftp: CWD /Exhibits/waldo/misc/large
msg 71 | internal ftp: LOCAL: Logged in as 'xxxxxxxxxxxxxxxx'
msg 70 | internal ftp: PASS:
230-Connected to: ftp.wpusa.dynip.com
230-User 1 of a maximum 10.
230-unlimited simultaneous connections allowed.
230-Local system time is 00:21.
230-
230-Problem reports to xxxxxxxxxx @ alltel.net
230 Login OK.

msg 69 | internal ftp: PASS *******
msg 68 | internal ftp: USER: 331 Password required.
msg 67 | internal ftp: USER xxxxxxxxxxxxxxxx
msg 66 | internal ftp: LOCAL: Connected to '127.0.0.1'
msg 65 | internal ftp: CONNECT: 220 FtpServer 1.27 ready
msg 64 | Photo Editor: P3260079.jpg received and moved to upload directory './temp/' as 'P3260079.JPG'.
msg 63 | internal ftp: QUIT
msg 62 | internal ftp: RETR: 550 File not available.
msg 61 | internal ftp: DATA SOCKET OPEN
msg 60 | internal ftp: OPENING NEW DATA SOCKET
msg 59 | internal ftp: Parsed data connection address is 127.0.0.1:3807
msg 58 | internal ftp: PASV: 227 Entering passive mode (127,0,0,1,14,223)
msg 57 | internal ftp: PASV
msg 56 | internal ftp: CWD: 550 Cannot change directory.
msg 55 | internal ftp: CWD /Exhibits/waldo/misc/large
msg 54 | internal ftp: TYPE: 200 OK
msg 53 | internal ftp: TYPE I
msg 52 | internal ftp: PASS:
230-Connected to: ftp.wpusa.dynip.com
230-User 1 of a maximum 10.
230-unlimited simultaneous connections allowed.
230-Local system time is 00:19.
230-
230-Problem reports to xxxxxxxxxx @ alltel.net
230 Login OK.

msg 51 | internal ftp: PASS *******
msg 50 | internal ftp: USER: 331 Password required.
msg 49 | internal ftp: USER xxxxxxxxxxxxxxxx
msg 48 | internal ftp: CONNECT: 220 FtpServer 1.27 ready
msg 47 | internal ftp: QUIT
msg 46 | internal ftp: RETR: 550 File not available.
msg 45 | internal ftp: DATA SOCKET OPEN
msg 44 | internal ftp: OPENING NEW DATA SOCKET
msg 43 | internal ftp: Parsed data connection address is 127.0.0.1:3803
msg 42 | internal ftp: PASV: 227 Entering passive mode (127,0,0,1,14,219)
msg 41 | internal ftp: PASV
msg 40 | internal ftp: CWD: 550 Cannot change directory.
msg 39 | internal ftp: CWD /Exhibits/waldo/misc/large
msg 38 | internal ftp: TYPE: 200 OK
msg 37 | internal ftp: TYPE I
msg 36 | internal ftp: PASS:
230-Connected to: ftp.wpusa.dynip.com
230-User 1 of a maximum 10.
230-unlimited simultaneous connections allowed.
230-Local system time is 00:19.
230-
230-Problem reports to xxxxxxxxxx @ alltel.net
230 Login OK.

msg 35 | internal ftp: PASS *******
msg 34 | internal ftp: USER: 331 Password required.
msg 33 | internal ftp: USER xxxxxxxxxxxxxxxx
msg 32 | internal ftp: CONNECT: 220 FtpServer 1.27 ready
msg 31 | internal ftp: LOCAL: DISCONNECTED
msg 30 | internal ftp: QUIT
msg 29 | internal ftp: UPLOAD(END): 226 Transfer complete, closing data connection.
msg 28 | internal ftp: P3260079.JPG UPLOADED
msg 27 | internal ftp: OK, 265640 bytes sent
msg 26 | internal ftp: upload in progress...
msg 25 | internal ftp: 150 OK, opening data connection.
msg 24 | internal ftp: STOR_A: 150 OK, opening data connection.
msg 23 | internal ftp: STOR P3260079.JPG
msg 22 | internal ftp: local file ./temp/P3260079.JPG cached
msg 21 | internal ftp: DATA SOCKET OPEN
msg 20 | internal ftp: OPENING NEW DATA SOCKET
msg 19 | internal ftp: Parsed data connection address is 127.0.0.1:3800
msg 18 | internal ftp: PASV: 227 Entering passive mode (127,0,0,1,14,216)
msg 17 | internal ftp: PASV
msg 16 | internal ftp: TYPE: 200 OK
msg 15 | internal ftp: TYPE I
msg 14 | internal ftp: LOCAL: WORKING DIRECTORY CHANGE to '/Exhibits/waldo/misc/large' FAILED. Reason: unknown. CAN NOT GO ON...
msg 13 | internal ftp: CWD: 550 Cannot change directory.
msg 12 | internal ftp: CWD /Exhibits/waldo/misc/large
msg 11 | internal ftp: LOCAL: Logged in as 'xxxxxxxxxxxxxxxx'
msg 10 | internal ftp: PASS:
230-Connected to: ftp.wpusa.dynip.com
230-User 1 of a maximum 10.
230-unlimited simultaneous connections allowed.
230-Local system time is 00:19.
230-
230-Problem reports to xxxxxxxxxx @ alltel.net
230 Login OK.

msg 9 | internal ftp: PASS *******
msg 8 | internal ftp: USER: 331 Password required.
msg 7 | internal ftp: USER xxxxxxxxxxxxxxxx
msg 6 | internal ftp: LOCAL: Connected to '127.0.0.1'
msg 5 | internal ftp: CONNECT: 220 FtpServer 1.27 ready
msg 4 | Photo Editor: P3260079.jpg received and moved to upload directory './temp/' as 'P3260079.JPG'.
msg 3 | path editor: New microthumb path added succesfully.
msg 2 | path editor: New thumb path added succesfully.
msg 1 | path editor: New size path added succesfully.
that should allow pekka to find and fix this critter ;)