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 

wviewftpd file adressing question

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



Joined: 06 Dec 2005
Posts: 43

PostPosted: Fri Jan 20, 2006 7:00 am    Post subject: wviewftpd file adressing question Reply with quote

Hi,

I have to move the wview weather page to another server. On the new one, the login supplied logs into a directory where I don't have any writing rights...
I have to 'cd httpdocs' and then it's okay.

I'm annoyed with wviewftpd, because I don't find a workaround to make it writing data directly in 'httpdocs/img'.
Do I have to specify something in the ftp server line in ftpconfig file ?

On top of that, the ISP is reluctant to give users writing permissions in the login directory.

Any idea ?

Thanks,
Brice
Back to top
View user's profile Send private message Visit poster's website
pata



Joined: 27 Oct 2005
Posts: 21
Location: Long Island, NY

PostPosted: Fri Jan 20, 2006 8:16 am    Post subject: Reply with quote

I have the same problem with my ISP - I need to store the data in a subdirectory off the root path as: /public_html/img.

My isp does not allow me to telnet into the site to link to the directory. My solution was to change the ftpUtils.c file in the 'ftp' directory as follows:

In the ftpUtilsSendFiles routine:

from: sprintf (url, "ftp://%s:%s@%s"
to:sprintf (url, "ftp://%s:%s@%s/public_html/",

This will cause the files to be written into the correct subdirectory.

After making this change you have to make and then make install. I hope this helps.

Pat

P.S. This would be a nice 'config' parameter.
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: Fri Jan 20, 2006 8:31 am    Post subject: Reply with quote

I agree - in the future, add it to the WishList for consideration. I will add it for you this time...

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



Joined: 06 Dec 2005
Posts: 43

PostPosted: Fri Jan 20, 2006 11:17 am    Post subject: Reply with quote

Many thanks Pat ! Waow, great news Smile

Thanks for adding an option in the next version Mark.

Best regards
Brice
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: Sun Jan 22, 2006 12:12 pm    Post subject: Reply with quote

OK, if either of you want to test the enhancement, install the "Latest Stable" version on the wview homepage...

Don't forget to grab the new wviewftp.conf-no-ftp (and rename it) and of course run wviewconfig.

IF you do, let me know how it goes...

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



Joined: 06 Dec 2005
Posts: 43

PostPosted: Sun Jan 22, 2006 6:03 pm    Post subject: Reply with quote

Hi,

I've just installed 3.1.0p32. It works like a charm, especially the new ftp
setting !

Many thanks for all this outstanding work, Mark.

Brice
Back to top
View user's profile Send private message Visit poster's website
pata



Joined: 27 Oct 2005
Posts: 21
Location: Long Island, NY

PostPosted: Mon Jan 23, 2006 8:48 am    Post subject: Reply with quote

Thanks Mark for adding this feature. I hope to upgrade to your latest version towards the end of this week. I see Bodemory has already tested it so I believe in his work.

Thanks, Pat
Back to top
View user's profile Send private message 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