View Full Version : RC4 Problems using Copy/Move/Delete
gillyworld
11th of April 2004 (Sun), 03:34
Pekka,
When using the Copy function to copy pictures from one exhibition to another all the thumbnails and microthumbs for the pictures that I copy are deleted. I get the following messages when I do the copy:
msg 203064 | internal ftp: 665_CRW_1225.jpg: UPLOAD ERROR. Reason: readfile(../ftp_temp/665_CRW_1225.jpg): failed to open stream: No such file or directory
and
filename: 665_CRW_1225.jpg
THUMB 665_CRW_1225.jpg UPLOAD FAILED
MICROTHUMB 665_CRW_1225.jpg UPLOAD FAILED
in the report
Both exhibitioons use the same thumbnail directory, but I don't understand where the directory ftp_temp originates from.
I am able to upload files correctly to both the originating and receiving exhibition. Thumbs and microthumbs are created correctly.
I also get the same eroor if I try to move photos from one exhibition to another.
Thanks
Alan
Pekka
13th of April 2004 (Tue), 15:03
Please check that you have folder gallery/ftp_temp and that ftp_temp folder is given full permissions (chmod 777).
These folders will have to be 777 (GALLERY/ means here EE root):
GALLERY/temp
GALLERY/export
GALLERY/input/temp
GALLERY/input/UPLOAD
GALLERY/input/UPLOAD/test
GALLERY/input/UPLOAD/ee_temp_upload
GALLERY/input/backup/ee_backup_files
gillyworld
13th of April 2004 (Tue), 15:32
Thanks Pekka,
I had the folder but permissions were set to 755 and not 777, I must have missed setting this when I installed RC4. All working now
Alan
thuree
19th of June 2004 (Sat), 12:28
Hej Pekka,
I have this problem as well, and I followed your instructions above (I hope), and made sure the ftp_temp was 777. Still no luck.
Is it correct to have two CWD to the same directory?
Would appreciate some small hint of what I have done wrong.
Or is it just that the time here is 0330!
I have placed the EE and photos on the same level.
public_html/EE
public_html/photos
/Bengt
Move log
msg 33723 | internal ftp: 20021224_Jasmine_076.jpg: UPLOAD ERROR. Reason: readfile(../ftp_temp/20021224_Jasmine_076.jpg): failed to open stream: No such file or directory
msg 33722 | internal ftp: 20021224_Jasmine_076.jpg UPLOAD FAILED
msg 33721 | internal ftp: UPLOADED 0 B / 0 B
||
msg 33720 | internal ftp: 150 Opening ASCII mode data connection for 20021224_Jasmine_076.jpg
msg 33719 | internal ftp: STOR_A: 150 Opening ASCII mode data connection for 20021224_Jasmine_076.jpg
msg 33718 | internal ftp: STOR 20021224_Jasmine_076.jpg
msg 33717 | internal ftp: DATA CONNECTION OPEN
msg 33716 | internal ftp: OPENING NEW DATA CONNECTION
msg 33715 | internal ftp: Parsed data connection address is 192.168.20.151:48223
msg 33714 | internal ftp: PASV: 227 Entering Passive Mode (192,168,20,151,188,95).
msg 33713 | internal ftp: PASV
msg 33712 | internal ftp: WEBBIE: Working directory changed to '/photos/thumbs/Jasmine/microthumb'
msg 33711 | internal ftp: CWD: 250 CWD command successful.
msg 33710 | internal ftp: CWD /photos/thumbs/Jasmine/microthumb
msg 33709 | internal ftp: CWD: 250 CWD command successful.
msg 33708 | internal ftp: CWD /photos/thumbs/Jasmine/microthumb
msg 33707 | internal ftp: WEBBIE: Logged in as 'ABCDEF'
msg 33706 | internal ftp: PASS: 230 User www-bengt logged in.
msg 33705 | internal ftp: PASS *******
msg 33704 | internal ftp: USER: 331 Password required for www-bengt.
msg 33703 | internal ftp: USER ABCDEF
msg 33702 | internal ftp: WEBBIE: Connected to '192.168.20.151'
msg 33701 | internal ftp: CONNECT: 220 ProFTPD 1.2.9 Server (webbie) [localhost]
List of the normal pictures directory structure
webbie:/home/bengt/public_html/photos/2002# ls -la
total 24
drwxr-xr-x 6 bengt bengt 4096 Jun 20 03:08 .
drwxr-xr-x 5 bengt bengt 4096 Jun 20 02:33 ..
drwxr-xr-x 2 bengt bengt 4096 Jun 20 03:22 big
drwxrwxrwx 2 bengt bengt 4096 Jun 20 03:08 ftp_temp
drwxr-xr-x 2 bengt bengt 4096 Jun 20 03:22 normal
drwxr-xr-x 2 bengt bengt 4096 Jun 20 03:21 small
List of the thumbs directory structure.
webbie:/home/bengt/public_html/photos/thumbs# ls -la *
Jasmine:
total 20
drwxr-xr-x 5 bengt bengt 4096 Jun 20 03:09 .
drwxr-xr-x 4 bengt bengt 4096 Jun 20 02:42 ..
drwxrwxrwx 2 bengt bengt 4096 Jun 20 03:09 ftp_temp
drwxr-xr-x 2 bengt bengt 4096 Jun 20 03:22 microthumb
drwxr-xr-x 2 bengt bengt 4096 Jun 20 03:22 thumb
Thailand:
total 20
drwxr-xr-x 5 bengt bengt 4096 Jun 20 03:09 .
drwxr-xr-x 4 bengt bengt 4096 Jun 20 02:42 ..
drwxrwxrwx 2 bengt bengt 4096 Jun 20 03:09 ftp_temp
drwxr-xr-x 2 bengt bengt 4096 Jun 20 03:22 microthumb
drwxr-xr-x 2 bengt bengt 4096 Jun 20 03:22 thumb
[/code][/list]
thuree
20th of June 2004 (Sun), 09:31
:D
Hej Pekka
Found it, I thought the ftp_temp was located by the picture, but it was under the EE directory. When I fixed this permission, then everything worked like a charm!
/bengt
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.