You are not logged in.
in my old distro i used ncftpput to put screenshots and other items straight onto my ftp server. here is an example of the rox wrapper i used:
#!/bin/bash
BASE=/home/dtw/images/screenshots
ncftpput -f $BASE/.login.cfg -b /public_html/dtw/share "$1";
ncftpbatch -d;
and i get an error that says
this program needs long filenames, sorry.
and it doesn't work - any ideas?
Offline
perhaps there is a configure option that was not used when building ncftp that had gone unnoticed until now. I recommend filing a bug or contacting the maintainer. Sometimes file length options need to be specified. or perhaps something else is going on that is compressing many file names into one?
AKA uknowme
I am not your friend
Offline
i'm hoping it's a config option that needs setting. how can i check that? and how can i revist information that appears at install time? for example, gshield tells you how to set your iptables=gshield firewall rules - how do i get that titbit back for if i change my rules??
Offline
i'm hoping it's a config option that needs setting. how can i check that?
In console, as root (this works for the packages in the repositories)
abs
cd /var/abs/category/yourpkg
for example, you'll find the kernel26 PKGBUILD at "/var/abs/kernels/kernel26/PKGBUILD".
and how can i revist information that appears at install time?
You can't.
for example, gshield tells you how to set your iptables=gshield firewall rules - how do i get that titbit back for if i change my rules??
1. execute "/etc/firewall/gShield.rc" again # this flushes the old chains & loads the new settings
2. "iptables-save > /etc/iptables/iptables.rules" # this saves the rules for the iptables daemon (that comes with Arch) to load them
Hmm.. I did the gShield package available on the forums. The initial gShield.rc script was supposed to be started by init.d (or whatever it is called on another systems) - this way the gShield.conf file would have been read at every start of the machine. I think I tried creating a wrapper for gShield.rc to get the same behaviour, but then its output doesn't look bright. Some like:
Starting gShield... [BUSY]
Flushing chains.
Loading NAT rules
Loading Allowed ports...
...
Starting gShield... [DONE]
DONE didn't even appear instead of BUSY, it appeared on another line, as far as I remember. Then I decided the best thing to do is to use the already present daemon "iptables" that comes with Arch. Of course, now that I think of it, I could patch gShield.rc in the PKGBUILD to automatically save the rules with iptables-save.
:: / my web presence
Offline
dibblethewrecker wrote:and how can i revist information that appears at install time?
You can't.
Well sure you can by using the web interface for the CVS and browsing into the directory for whatever package and looking at the <packagename>.install file.
for example:
AKA uknowme
I am not your friend
Offline
Well sure you can by using the web interface for the CVS and browsing into the directory for whatever package and looking at the <packagename>.install file.
Never thought about this such out of hand (but unique) method.
(I don't recheck the install messages at all, they're usually necessary for the first time run)
:: / my web presence
Offline
cheers guys! does pay to be able to back track! i really like you gShield fix - my old distro just provided the packages and no clues how to use it and i worked it out for myself. the big prob with the init.d method was i use ppp and if ppp wasn't up when gShield.rc ran it would block the ppp port and you couldn't dial out - but i had it so gShield ran when ip-up was run when i ran ppp - your method is lots better tho! i was going to recommend it on our forum but it has gone :cry:
i think i have made the switch to arch now anyway
Offline
i checked the configure options for ncftp and i can see no mention of longfile names. i am very confused by the behaviour of this package. for some reason i can't even batch ftp jobs with ncftpput, this should be unaffected by the long file names prob as that is affecting ncftpbatch - it's very annoying!
.:edit:.
OK - some success - it seems ncftpbatch is the problem ncftpput works fine without the -b or -bb commands but doesn not work at all with them - anyone else having problems with ncftpbatch?
Offline