HP3000-L Archives

July 2011, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"James B. Byrne" <[log in to unmask]>
Reply To:
James B. Byrne
Date:
Mon, 11 Jul 2011 12:51:49 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (94 lines)
On Mon, July 11, 2011 11:20, Craig Lalley wrote:
> James,
>
> Just a guess here.
>
> Can you try
>
> curlftpfs -o user=userid/userpw.acct/acctpw host.domain.tld
>
> -Craig

No, this syntax is not recognized by curlftpfs:

curlftpfs -o user=userid/userpw.acct/acctpw host.domain.tld
Enter host password for user 'userid/userpw.acct/acctpw':


It appears that my problem is with curlftpfs itself.  If I configure
the ~/.netrc file (mode=600) thus:

machine host.domain.tld
 login USERID.ACCT
 password "USERPW,ACCTPW"

Then $ ftp host.domain.tld works:

$ ftp -uv host.domain.tld
Connected to host.domain.tld.
220 HP ARPA FTP Server [A0012H15] (C) Hewlett-Packard Co. 2000 [PASV
SUPPORT]
Remote system type is MPE/iX.

Likewise, if I just use curl I can specify the the account password
on the command line:

$ curl [log in to unmask]" target="_blank">ftp://USERID.ACCT:USERPW,[log in to unmask]
 PATH= /ACCT/USERGRP/

 CODE  ------------LOGICAL RECORD-----------  ----SPACE----
FILENAME
         SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX

          80B  FA           1     204800   1       16  1  8
CCBROKMD
          80B  FA          60         60   3       32  1  *
CCBROKML
 644     586B  FA           1      10000  10      256  1 32
QPCCB3T1
 644     586B  FA           0      10000  10      256  1 32
QPCCB3T2
 644     586B  FA           1      10000  10      256  1 32
QPCCB3T3
         236B  FA           1      10000  13      256  1 31
QPCCB3TA
         236B  FA           0      10000  13        0  0 31
QPCCB3TE
         236B  FA           1      10000  13      256  1 31
QPCCB3TU
         242B  FA           1      10000  19      256  1 32
QPCCB3TV

However, I did eventually find an answer.  If I escape the comma in
.netrc then ftp and curlftpfs both appear to work:

#.netrc
machine host.domain.tld
 login USERID.ACCT
 password USERPW\,ACCTPW

However, neither escaping nor non-escaping the comma in the
curlftpfs command line syntax works.  So, unless I discover some
magic syntax for curlftpfs then I have to use a .netrc file.  But it
does work with an escaped comma .netrc file.

For completeness, since I often find myself reviewing my old posts
for stuff that I have forgotten how to do, it is necessary that the
linux user employing the curlftpfs belong to the 'fuse' group to
allow the fusermount command to work.

Of course, now I have a problem with fuse itself giving an IO error
when i attempt to access the curlftpfs fuse mount point, but that is
an issue for a different list.

--
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:[log in to unmask]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2