I am trying to upload an image via FTP every 5 seconds, and get the error “Permisssion Denied! Please check that you have permission to upload files to this ftp server.”
Unfortunately I do have permission… AND exactly ONE image WAS uploaded before yawcam disabled ftp automatically upon the error.
So, I ran the debug start for yawcam and generated this in the log file:
------
&&&&&&&&&&&&&& SwingUtilities.isEventDispatchThread(): true
[0]: Creative WebCam Live! #2
[0]: \\?\usb#vid_041e&pid_4036#5&10a37e25&0&2#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
[1]: Creative WebCam Live! (VFW)
[1]: Creative WebCam Live! (VFW)
[2]: none
[2]: none
actionlisterner - cam
Font lagrad: Lucida Console
30
Ftp!
Saved XML...
¤¤¤¤ trådar innan: 0
Enter loop...
CU: 3
Connectar: ourwatch.net , 21
ftpLogin USERresp: 331 Password required for xfferra6
ftpLogin PASSresp: 230 User xfferra6 logged in
setDir resp: 250 CWD command successful
Seding PASV
Linlyn ftpGetDataSock() reply = 227 Entering Passive Mode (69,15,215,42,213,17).
FILE: STOR image.jpg.tmp
FTP Response: 150 Opening BINARY mode data connection for image.jpg.tmp
resp: 550 image.jpg.tmp: No such file or directory
resp: 503 Bad sequence of commands
java.io.IOException: Permission denied.
at yawcam.FtpOutputThread.run(FtpOutputThread.java:617)
permission denied
From the FTP server logs:
Nov 13 20:34:07 alpha proftpd[17477] alpha (76.16.XX.88[76.16.XX.88]): FTP session opened.
Nov 13 20:34:07 alpha proftpd[17477] alpha (76.16.XX.88[76.16.XX.88]): USER xfferra6: Login successful.
Nov 13 20:34:07 alpha proftpd[17477] alpha (76.16.XX.88[76.16.XX.88]): Preparing to chroot to directory '/home/xfferra6'Nov 13 20:35:08 alpha proftpd[17477] alpha (76.16.XX.88[76.16.XX.88]): FTP no transfer timeout, disconnected
Nov 13 20:35:08 alpha proftpd[17477] alpha (76.16.XX.88[76.16.XX.88]): FTP session closed.
----
First question, why is there a .tmp on the file?
Second, can the FTP be fixed please???
FTP upload problem ( .tmp / 503 Bad sequence of commands )
Did you ever get a fix for this?
I have this same problem and have not been able to find any other information on it...Thanks!!