cloudy cloudy

Author Topic: FTP Upload Error. Cant find Directory  (Read 432 times)

0 Members and 1 Guest are viewing this topic.

Offline Edd

  • Posts: 29
  • East Yorkshire. U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • http://www.eddsfield.co.uk
FTP Upload Error. Cant find Directory
« on: January 07, 2019, 04:04:58 PM »
Hi

I have just changed site hosts after many years and am trying to sort out the weather on the new site.

After configuring the new FTP details the WD Live files update as they should. The averages and extremes etc also upload no problem. The webcam image, main screen shot and weather web page wont upload. Logs onto site ok but then says directory does not exist. This is the same directory that it uploads WD Live files, averages etc. I presume that it uses the same FTP program for all uploads?

I enc a screen shot of the error.

Any ideas would be greatly appreciated.

Many thanks.

Edd

Offline NorCal Dan

  • Dan - KJ6RGX
  • Posts: 10,514
  • Davis Vue/Win10
  • Ocean Park, WA.
  • OS/Browser:
  • Mac OS X 10.10.5
  • Chrome 71.0.3578.98
    • Traveling RV Weather
Re: FTP Upload Error. Cant find Directory
« Reply #1 on: January 07, 2019, 04:59:51 PM »
It's looking for /public_html/wx/  Does that directory exist? 

Offline Edd

  • Posts: 29
  • East Yorkshire. U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • http://www.eddsfield.co.uk
Re: FTP Upload Error. Cant find Directory
« Reply #2 on: January 07, 2019, 06:01:41 PM »
Hi

Yes it does. It is on the website and the rest of the files FTP to it ok.

Many thanks.

Edd

Offline Weather Display

  • Posts: 86,887
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
Re: FTP Upload Error. Cant find Directory
« Reply #3 on: January 07, 2019, 06:17:05 PM »
try putting / at the start of the remote directory

Offline Edd

  • Posts: 29
  • East Yorkshire. U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • http://www.eddsfield.co.uk
Re: FTP Upload Error. Cant find Directory
« Reply #4 on: January 07, 2019, 07:15:12 PM »
Hi

Thanks for the reply.

I have just tried as you suggested but get the same error. I did find however when looking at the Live FTP log that it also reports the error but still uploads to the directory it says doesn't exist.

Thanks.

Edd

Offline Edd

  • Posts: 29
  • East Yorkshire. U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • http://www.eddsfield.co.uk
Re: FTP Upload Error. Cant find Directory
« Reply #5 on: January 07, 2019, 07:16:15 PM »
Sorry missed this attachment.

Offline Weather Display

  • Posts: 86,887
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
Re: FTP Upload Error. Cant find Directory
« Reply #6 on: January 07, 2019, 07:30:31 PM »
maybe try just
/wx/

Offline Edd

  • Posts: 29
  • East Yorkshire. U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • http://www.eddsfield.co.uk
Re: FTP Upload Error. Cant find Directory
« Reply #7 on: January 08, 2019, 10:37:52 AM »
Hi

Sorry for the delay.

It wont upload to any combination. Tried:

Public_html/wx/
Public_html/wx
/Public_html/wx/
/Public_html/wx
wx/
wx
/wx/
/wx

Clientdraw.txt, clienthour.txt, clientrawextra.txt and clientrawdaily.txt all update as normal when /public_html/wx/ is used, even though it reports the same "No such file or directory".

I can upload the file manually using another FTP program by selecting the directory and doing a manual upload. Just fails on WD.

Thanks again.

Edd

Offline Weather Display

  • Posts: 86,887
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
Re: FTP Upload Error. Cant find Directory
« Reply #8 on: January 08, 2019, 05:38:42 PM »
are you sure its a capital P
try lower case p

Offline Edd

  • Posts: 29
  • East Yorkshire. U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • http://www.eddsfield.co.uk
Re: FTP Upload Error. Cant find Directory
« Reply #9 on: January 08, 2019, 07:39:21 PM »
Hi

You are correct and a typo set in I'm afraid. The directory is lower case and was actually set as such. I have however checked the following to be sure.

public_html/wx/
public_html/wx
/public_html/wx/
/public_html/wx

Unfortunately they all still report "No such file or directory".

Thanks.

Edd

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,039
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
Re: FTP Upload Error. Cant find Directory
« Reply #10 on: January 08, 2019, 09:20:58 PM »
@Brian: If ftpupd sent a PWD after connecting it would help non expert FTP users diagnose directory problems like this.

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,039
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 71.0.3578.98
Re: FTP Upload Error. Cant find Directory
« Reply #11 on: January 08, 2019, 11:25:20 PM »
@Edd: Try this so we know in which directory you land when connecting by FTP:

Try this
Open a Windows command window  (cmd.exe)
At the prompt type
ftp yourservername
and hit return
respond to user and password prompts
you should now be logged in
type
pwd
and hit return

tell us the response.

Offline Edd

  • Posts: 29
  • East Yorkshire. U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • http://www.eddsfield.co.uk
Re: FTP Upload Error. Cant find Directory
« Reply #12 on: January 10, 2019, 10:30:20 AM »
Hi all

Many thanks for the excellent advice.

I'm happy to report that the FTP user profile that was set up already "landed" in the directory required so trying to specify it gave the error code.

Just got to figure out how to sort WD Live on the website now.

Thanks again.

Edd


 

cumulus