[pskmail] Re: File uploads via PSKMail.

  • From: Ian Bennett <ibennett@xxxxxxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Fri, 5 Jun 2009 21:01:42 +1000

Hi Per,
        You have opened a can of worms here ;-)
        I have never had any success running java apps. They run slow (they 
seem to 
for me anyway), I never seem to have the right jre installed and the verbose 
and cryptic error messages mean nothing to me.
        I am grappling with a problem as we speak. When I start jpskmail, I get 
a 
dialog box saying:

Message: For input string:'"'
From class: class java.lang.NumberFormatException
Problems with config parameter.

        Then I get another box saying:

Could not store setting: ICON

        I have just installed v0.3.6 but it did the same thing with 0.3.4
        There is nothing in the Wiki or the manual that tells me what this 
means nor 
how to fix it. I have followed the installation instructions to the letter.
        These frustrations are what is stopping me using pskmail.
        I have no such issues with the perl version but I can't transfer files 
(upload) with it. John (VK2ETA) has suggested a possible solution but I need 
to run jpskmail.
        In my opinion, the project should have stuck with perl. I am by no 
means 
proficient with perl but I do understand a little and all errors I have 
encountered with other scripts I have managed to fix.
        I'll go take my medication now; my blood pressure has gone through the 
roof 
(only joking).

Ian
VK1IAN.

On Fri, 5 Jun 2009 20:46:34 Per Crusefalk wrote:
> Hi,
>
> I didn't write that so I'm leaving the legacy stuff for Rein to
> comment ;-)
>
> But, I'm interested in the feelings about java. Is there a problem
> somewhere that makes it difficult to use java? Anything in particular
> that causes problems? I know java, swing, used to be ugly as h... but I
> find its looking like a native app (on all the platforms) now.
>
> 73 de Per, sm0rwo
>
> fre 2009-06-05 klockan 20:17 +1000 skrev Ian Bennett:
> > Thanks John,
> >     Steve is out at his block but I'm going out there tomorrow so will pass
> > it on.
> >     Might be able to give it a go whilst we are out there.
> >     mmm...Java....yep; that makes me happy....NOT :-(
> >     Thanks again. Will let you know how we get on.
> >
> > Ian
> > VK1IAN
> >
> > On Fri, 5 Jun 2009 20:10:25 vk2eta@xxxxxxxxx wrote:
> > > Steve,
> > >
> > > I had a look through the code and the only way I can see without code
> > > writting is to use the latest server (0.8.5) and the java client which
> > > allows you to attach a file to an email.
> > >
> > > An option, if the objective is just to upload and not send the file by
> > > email is the follwing: in the current sever code, the attachement
> > > received by the server is deleted after being send, but by commenting
> > > out one line in the send_MIME() subroutine the file coud be left there
> > > and used for other purposes than emailing (like for an ftp or http
> > > server for example).
> > >
> > > The line to comment out is:
> > >
> > > `rm "$ENV{HOME}/.pskmail/uploads/$afile"`;
> > >
> > > The directory $ENV{HOME}/.pskmail/uploads would then contain the files
> > > that were send as an attachment to the emails.
> > >
> > > It seems that each email can only have one attachment but that needs to
> > > be confirmed. And of course that is only available with the java client
> > > whih will make Ian happy :).
> > >
> > > Hope this helps.
> > >
> > > 73, John.
> > >
> > > On 03/06/2009 8:49pm, stevez@xxxxxxxxxx wrote:
> > > > Hello all,
> > > >
> > > >
> > > >
> > > > I was wondering if it is possible (and if so, how) to send a file to
> > > > (or
> > > >
> > > > even via) a PSKMail server.
> > > >
> > > > I notice an uploads directory in my ~/.pskmail on my server.
> > > >
> > > > I've also seen talk in the mailing list archives about speed
> > > > comparisons
> > > >
> > > > between binary and text uploads, and even some talk about updating
> > > >
> > > > source code via PSKMail - so some way of uploading files must be
> > > >
> > > > possible. The trouble is I have no idea how this would be done.
> > > >
> > > >
> > > >
> > > > Any hints welcome, and I promise to update doco or the FAQ with what
> > > >
> > > > ever I learn.
> > > >
> > > >
> > > >
> > > > Thanks all
> > > >
> > > > Steve (VK2ZSZ)


Other related posts: