[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Unexpectadly end of program

Marcin Tyman

7/24/2007 2:07:00 PM

Hi,
Can anybody help me with this:

Cannot move multiple files to a single file.

What does it mean. Such communicate appears after several iterations of
my application. What is it come from?

Cheers,
MT
--
Posted via http://www.ruby-....

4 Answers

Robert Klemme

7/24/2007 2:20:00 PM

0

2007/7/24, Marcin Tyman <m.tyman@interia.pl>:
> Hi,
> Can anybody help me with this:
>
> Cannot move multiple files to a single file.
>
> What does it mean.

Probably what it says: you seem to be trying to move several files to
the same location.

> Such communicate appears after several iterations of
> my application. What is it come from?

Well, if *you* do not know it... :-) Can you show code?

robert

Robert Dober

7/24/2007 2:21:00 PM

0

On 7/24/07, Marcin Tyman <m.tyman@interia.pl> wrote:
> Hi,
> Can anybody help me with this:
>
> Cannot move multiple files to a single file.
>
> What does it mean. Such communicate appears after several iterations of
> my application. What is it come from?
>
> Cheers,
> MT
> --
> Posted via http://www.ruby-....
>
602/102 > mv a b c d
mv: la cible `d' n'est pas un répertoire
robert@PC:~/tmp 16:20:03

Sounds like a Unix problem, and no I do not have an English Linux :(
Post some code...
>


--
I always knew that one day Smalltalk would replace Java.
I just didn't know it would be called Ruby
-- Kent Beck

Marcin Tyman

7/24/2007 3:07:00 PM

0

Yes, it seems as unix problem. Code is too complicated and too big to
show it. There is 2 functions which telnet to device and do mv command
on a file from a process (on the machine) reads. Functions are executed
one by one after some sleep, so I can't understand why it causes such
problems.
The process on remote machine if trying to list the file and meets
situation that the file is overwritten by by script at the same time
should wait, shouldn't it?

--
Posted via http://www.ruby-....

Marcin Tyman

7/24/2007 3:38:00 PM

0

Never mind guys. This communicate is from windows. The issue was
somewhere else.

--
Posted via http://www.ruby-....