cloudy cloudy

Author Topic: Webcam upload - remote directory  (Read 213 times)

0 Members and 1 Guest are viewing this topic.

Offline T-man

  • Posts: 188
  • Finland
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.186
    • Sää Tuulensuunkaari
Webcam upload - remote directory
« on: March 01, 2018, 07:51:24 PM »
Changed to new version 37S67, now I can only upload webcam picture to main directory, i.e. it seems remote directory setup in "Web Cam Upload" has no impact at all.

-Timo
Davis VP2
Windows10
http://veikkola-weather.com

Offline Weather Display

  • Posts: 85,460
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.167
    • Weather Display
Re: Webcam upload - remote directory
« Reply #1 on: March 01, 2018, 08:58:02 PM »
there has been no changes to that for a long time
what version were you using before?
what shows in the ftp log?

Offline T-man

  • Posts: 188
  • Finland
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.186
    • Sää Tuulensuunkaari
Re: Webcam upload - remote directory
« Reply #2 on: March 02, 2018, 04:09:56 PM »
If I recall correctly former version was R81, i.e. the one before "new product".

What is the correct syntax for remote directory in the setup?

Log says :
---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 5 of 50 allowed.
220-Local time is now 18:02. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
USER=****
331 User veikk698 OK. Password required
PASSWORD=****
230 OK. Current restricted directory is /
TYPE I
200 TYPE is now 8-bit binary
Change to remote Dir ./public_html/
CWD ./public_html/
250 OK. Current directory is /public_html
Checking for next FTP agenda....
there are 1 more things to do
Doing ftp upload
Checking there are files to upload
There are more files to upload
PASV
227 Entering Passive Mode (77,86,247,112,136,12)
STOR webcam.jpgtemp
150 Accepted data connection
226-File successfully transferred
226 0.096 seconds (measured here), 0.58 Mbytes per second
RNFR webcam.jpgtemp
350 RNFR accepted - file exists, ready for destination
RNTO webcam.jpg
250 File successfully renamed or moved
No more files to upload
All Agenda complete, doing FTP log off....
FTP logoff
QUIT
221-Goodbye. You uploaded 57 and downloaded 0 kbytes.
OK
Disconnected.
221 Logout.
Doing abort procedure/program close...
Davis VP2
Windows10
http://veikkola-weather.com

Offline Weather Display

  • Posts: 85,460
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.167
    • Weather Display
Re: Webcam upload - remote directory
« Reply #3 on: March 02, 2018, 06:17:00 PM »
so you have upgraded from a version from 4 years ago
the ftp log shows
Change to remote Dir ./public_html/
CWD ./public_html/
250 OK. Current directory is /public_html
is that not correct , or?

Offline T-man

  • Posts: 188
  • Finland
    • Sää Tuulensuunkaari
Re: Webcam upload - remote directory
« Reply #4 on: March 02, 2018, 06:35:14 PM »
Should change to directory "Webcam"


Sent from my iPad using Tapatalk
Davis VP2
Windows10
http://veikkola-weather.com

Offline Weather Display

  • Posts: 85,460
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.167
    • Weather Display
Re: Webcam upload - remote directory
« Reply #5 on: March 02, 2018, 06:59:59 PM »
works here in testing:


Changing to new remote directory for webcamfile C:\wdisplayprogram\Test.jpg
CWD /webcamtest/
250 CWD command successful
PASV
227 Entering Passive Mode (82,165,129,78,252,233).
STOR Test.jpg
150 Opening BINARY mode data connection for Test.jpg
226 Transfer complete
Changing back to original dir for this file
CWD /test/
250 CWD command successful

post a screen shot of your web cam upload settings?

Offline T-man

  • Posts: 188
  • Finland
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.186
    • Sää Tuulensuunkaari
Re: Webcam upload - remote directory
« Reply #6 on: March 05, 2018, 05:54:54 PM »
Settings are as shown by the picture.
Davis VP2
Windows10
http://veikkola-weather.com

Offline Weather Display

  • Posts: 85,460
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.167
    • Weather Display
Re: Webcam upload - remote directory
« Reply #7 on: March 05, 2018, 06:58:01 PM »
the remote directory is not valid
it should not start with .\
but instead start with / and maybe end with /