Hmmmm, now why didn't I think of that!
  ----- Original Message ----- 
  From: [email protected] 
  To: RBASE-L Mailing List 
  Sent: Sunday, April 17, 2011 5:18 PM
  Subject: [RBASE-L] - Re: [RBASE-L] - Re: copying a 3 component names file


  Bernie,

  Perhaps have the FTP command save two copies. One in the working folder and 
another is the backup. At most if a error occurs you have a untouched original 
backup ahead of time. 




  ----- Reply message -----
  From: "Bernard Lis" <[email protected]>
  To: <[email protected]>
  Subject: [RBASE-L] - Re: copying a 3 component names file
  Date: Sun, Apr 17, 2011 4:50 pm




  Thanks Alastair,  This is the way the file comes to us, via FTP.  I could 
manually rename it, but that won't work in a production environment.
  Usually we just process it and then delete it.  Now the customer wants to 
save it in another folder before deleting it in the working folder and COPY 
just doesn't want to cooperate.
    ----- Original Message ----- 
    From: Alastair Burr 
    To: RBASE-L Mailing List 
    Sent: Sunday, April 17, 2011 3:08 AM
    Subject: [RBASE-L] - Re: copying a 3 component names file


    Bernie,

    Long ago and far away I seem to remember that DOS had a limit on the length 
of the parameters used in the copy command.

    I _think_ that the total length of the filenames had to be less that 76 or 
78 – ie something less that 80.

    Maybe it was a limit on each filename – so something less than 40.

    Your long filename is 42 characters long.

    You could try reducing the length to see if this is your problem.

    Back then, too, having two full stops in a filename would have been invalid.

    Regards,
    Alastair.



    From: Bernard Lis 
    Sent: Saturday, April 16, 2011 10:13 PM
    To: RBASE-L Mailing List 
    Subject: [RBASE-L] - Re: copying a 3 component names file

    This is what I get when I try to copy it:

    R>copy duns129868217.cmp.110413081445827211yP saveit
    -ERROR- Invalid source filespec (2281)

    Here is what is in the file:
    R>type duns129868217.cmp.110413081445827211yP
    200001H14229905112986821700010017041311081013854M5.0  000
    02000290121610142299051B233124                     12986821700150652
    010003         901E849                             178068011    DSP
    010004         677E2L1478000K638492L14 78000K63 849
    010005         685EFD10A

    ----- Original Message ----- 
    From: "Albert Berry" <[email protected]>
    To: "RBASE-L Mailing List" <[email protected]>
    Sent: Saturday, April 16, 2011 11:36 AM
    Subject: [RBASE-L] - Re: copying a 3 component names file


    > Bernie, the COPY command is supported by R:Base without needing to ZIP 
    > to it.
    > COPY ThisReallyLong.HidingInASubdirectory.File.TXT LongFile.TXT
    > 
    > On 15/04/2011 8:15 PM, Bernard Lis wrote:
    >> from the R> (or within a macro) I want to copy a file. The file name 
    >> is a 3 component name like x.x.x  except it is a very long name.
    >> I've tried zip copy   and  zip rollout copy
    >> But all I get is "program not found"
    >>
    >> Thanks in advance,
    >> Bernie Lis
    >>
    >>
    > 
    >

Reply via email to