wviewweather.com Forum Index wviewweather.com
wview and Weather Topics
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP error

 
Post new topic   Reply to topic    wviewweather.com Forum Index -> FTP
View previous topic :: View next topic  
Author Message
mhweather



Joined: 07 Aug 2005
Posts: 54

PostPosted: Tue Aug 16, 2005 9:23 am    Post subject: FTP error Reply with quote

I see a message coming out on my terminal console:

ftp: A: unknown option

messages shows:

Aug 16 11:16:14 localhost wviewftpd[2617]: <3218910280> : FTP: 4 rules processed
Aug 16 11:17:14 localhost wviewftpd[2617]: <3218970281> : FTP: 1 rules processed

Nothing got uploaded. Is there a more detailed log of this ?
Back to top
View user's profile Send private message
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Tue Aug 16, 2005 1:19 pm    Post subject: tnftp Solution for RedHat and FC Users Reply with quote

The problem is that by default, FC4 has a very rudimentary ftp installed. wview requires a more advanced ftp utility, namely tnftp.

Download it from here: ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/tnftp-20050625.tar.gz

Extract it: tar zxvf tnftp-20050625.tar.gz
cd to the directory: cd tnftp-20050625
Then execute the following as root (you can cut and paste these commands):
./configure
make
make install
mv /usr/bin/ftp /usr/bin/ftp-old
ln -s /usr/local/bin/ftp /usr/bin/ftp
mv /usr/kerberos/bin/ftp /usr/kerberos/bin/ftp-old
ln -s /usr/local/bin/ftp /usr/kerberos/bin/ftp


The thing is, most linux distros (and all BSD distros) have tnftp by default. For some reason, RedHat and FC have always included the plain old (practically useless) ftp. I really need to add these tnftp tips into the User Manual somewhere...

Once you have done this, you will be in business.

Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mhweather



Joined: 07 Aug 2005
Posts: 54

PostPosted: Tue Aug 16, 2005 4:40 pm    Post subject: Reply with quote

Well, FTP is working, but now I'm getting this:


ftp: local: img/Current_Conditions.htm: No such file or directory
EPRT not understood.
img/barom.png: No such file or directory
img/baromday.png: No such file or directory
img/barommonth.png: No such file or directory
img/baromyear.png: No such file or directory
img/dayrain.png: No such file or directory
img/dew.png: No such file or directory

Files are in the /var/wview/img directory
Back to top
View user's profile Send private message
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Tue Aug 16, 2005 9:55 pm    Post subject: Reply with quote

As you and I have learned this evening, that is caused by not creating the img directory on the remote host. My bad for not having any FTP instructions in the User Manual. I have added a section and it is in the wview site version of the User Manual now. It will be in all subsequent releases.

Thanks for identifying this glaring omission in my documentation.

Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Jean-Paul SEVESTRE



Joined: 09 Feb 2006
Posts: 30
Location: Fontanes, France

PostPosted: Wed Feb 15, 2006 2:28 pm    Post subject: FTP set up Reply with quote

Does the img/ folder has to be at the root on the web server? i.e. mywebsite/img/
Or can it be mywebsite/meteofolder/wview/anything/img/?

In the UM it says:
Do not add or remove spaces in this command!
cd /var/wview
/usr/bin/ftp -AiV -u ftp://remote_username:remote_password@remote_host/ img/*.*

Does that mean that the img folder must start with a space?

Thanks for your help
JP
Back to top
View user's profile Send private message Visit poster's website
mteel



Joined: 30 Jun 2005
Posts: 435
Location: Collinsville, TX

PostPosted: Wed Feb 15, 2006 2:50 pm    Post subject: Reply with quote

Quote:
Does the img/ folder has to be at the root on the web server? i.e. mywebsite/img/
Or can it be mywebsite/meteofolder/wview/anything/img/?

No, see the UM section on setting up FTP transfers.

Quote:
In the UM it says:
Do not add or remove spaces in this command!
cd /var/wview
/usr/bin/ftp -AiV -u ftp://remote_username:remote_password@remote_host/ img/*.*

Does that mean that the img folder must start with a space?

It does not mean that at all. This is a test command and the space is required because of the argument structure of the ftp command.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    wviewweather.com Forum Index -> FTP All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group