bug-ftpsync
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ftpsync] Any chance of some help?


From: Steve Thomas
Subject: Re: [Bug-ftpsync] Any chance of some help?
Date: Fri, 14 Dec 2012 16:12:35 +0000

Hi,

Some further testing has thrown the same error with ls... It seems to be 
related to the recursion ...

I emptied my remote directory and it falls over...

Net::FTP>>> Net::FTP(2.75)
Net::FTP>>>   Exporter(5.58)
Net::FTP>>>   Net::Cmd(2.26)
Net::FTP>>>   IO::Socket::INET(1.27)
Net::FTP>>>     IO::Socket(1.28)
Net::FTP>>>       IO::Handle(1.24)
Net::FTP=GLOB(0x1e3e8)<<< 220 Welcome. Host: L1FTP01
Net::FTP=GLOB(0x1e3e8)>>> user address@hidden
Net::FTP=GLOB(0x1e3e8)<<< 331 Username OK, need password
Net::FTP=GLOB(0x1e3e8)>>> PASS ....
Net::FTP=GLOB(0x1e3e8)<<< 230 Welcome RPS
Net::FTP=GLOB(0x1e3e8)>>> PWD
Net::FTP=GLOB(0x1e3e8)<<< 257 "/" is current directory.
Net::FTP=GLOB(0x1e3e8)>>> TYPE I
Net::FTP=GLOB(0x1e3e8)<<< 200 TYPE is now I
Net::FTP=GLOB(0x1e3e8)>>> CWD /Test1
Net::FTP=GLOB(0x1e3e8)<<< 250 Current directory is /Test1
Net::FTP=GLOB(0x1e3e8)>>> PWD
Net::FTP=GLOB(0x1e3e8)<<< 257 "/Test1" is current directory.
Net::FTP=GLOB(0x1e3e8)>>> PWD
Net::FTP=GLOB(0x1e3e8)<<< 257 "/Test1" is current directory.
Net::FTP=GLOB(0x1e3e8)>>> PASV
Net::FTP=GLOB(0x1e3e8)<<< 227 Entering Passive Mode (82,129,64,220,23,116)
Net::FTP=GLOB(0x1e3e8)>>> STOR syncfile
Net::FTP=GLOB(0x1e3e8)<<< 150 Accepted data connection
Net::FTP=GLOB(0x1e3e8)<<< 226 Upload complete
Net::FTP=GLOB(0x1e3e8)>>> MDTM syncfile
Net::FTP=GLOB(0x1e3e8)<<< 213 20121214161015
Net::FTP=GLOB(0x1e3e8)>>> DELE syncfile
Net::FTP=GLOB(0x1e3e8)<<< 250 "syncfile" successfully delete
Net::FTP=GLOB(0x1e3e8)>>> PWD
Net::FTP=GLOB(0x1e3e8)<<< 257 "/Test1" is current directory.
Net::FTP=GLOB(0x1e3e8)>>> PASV
Net::FTP=GLOB(0x1e3e8)<<< 227 Entering Passive Mode (82,129,64,220,23,125)
Net::FTP=GLOB(0x1e3e8)>>> NLST
Net::FTP=GLOB(0x1e3e8)<<< 150 Accepted data connection
Net::FTP=GLOB(0x1e3e8)<<< 226 Directory listing complete
Net::FTP=GLOB(0x1e3e8)>>> PWD
Net::FTP=GLOB(0x1e3e8)<<< 257 "/Test1" is current directory.
Accepted data connection
Directory listing complete

Cannot ls remote dir /Test1 at /usr/syno/bin/ftp-job.pl line 368.

-----Original Message-----
From: Christoph Lechleitner [mailto:address@hidden 
Sent: 14 December 2012 16:10
To: Steve Thomas; address@hidden
Subject: Re: Any chance of some help?

Am 2012-12-14 16:55, schrieb Steve Thomas:
> Hi,
> 
> I've been looking through the script and changes it to use ls instead of dir 
> in the buildremotetree() method. Now it seems to work...
> Not sure why that would cause a problem, possibly compatibility issue
with remote LiveDrive server...

That's interesting.

We'll look into it once somebody has time to add FTPS support (which is on our 
list).

> Thanks for coming back to me? Do you forsee any problems using ls 
> instead of dir ('-a')

Not sure yet.

Regards Christoph



> Steve
> 
> -----Original Message-----
> From: Christoph Lechleitner [mailto:address@hidden
> Sent: 14 December 2012 15:50
> To: Steve Thomas
> Subject: Re: Any chance of some help?
> 
> Am 2012-12-14 16:36, schrieb Steve Thomas:
>> Hi,
>>  
>> I'm using your FTP script
> 
> It's not mine alone any more, see
> https://confluence.clazzes.org/display/FTPSYNC/FTPSync+Home
> 
>> to sync my home NAS to LiveDrive and its throwing an error when 
>> trying to change directories, strangely it works in some places but 
>> seems to fail on second subfolder from root:
>>  [...]
>> Net::FTP=GLOB(0x2f6db0)<<< 257 "/Test1/scripts" is current directory.
>> Net::FTP=GLOB(0x2f6db0)>>> CDUP
>> Net::FTP=GLOB(0x2f6db0)<<< 200 "/Test1" is current directory.
>> Net::FTP=GLOB(0x2f6db0)>>> CWD /Test1/toliver 
>> Net::FTP=GLOB(0x2f6db0)<<< Cannot cwd to  /Test1/toliver at 
>> /usr/syno/bin/ftp-job.pl line 450.
> 
> Seems like a access problem.
> 
> Regards, Christoph



reply via email to

[Prev in Thread] Current Thread [Next in Thread]