Topic "(ERROR)ls -la --full-time"

Author Message
Lucholp

Guest


El comando 'ls -la --full-time'
ha fallado. Ha devuelto el cdigo de error 1 y ls: unrecognized option `--full-time'
BusyBox v1.2.1 (2008.04.29-16:34+0000) multi-call binary

Usage: ls [-1AacCdeFilnpLRrSsTtuvwxXhk] [filenames...]
como mensaje de error.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Please post a log file.
_________________
Martin Prikryl
ROCKYS08

Guest


HI !!!
1) How I check if a file to be transferred already was sent ?
2) How I check if file is shipping and get everything ?
3) How can I send a message to the ftp server ?

Thanks !!!
ROCKYS08

Guest


This is my script !!!

@echo off
"C:\SICAES\BACKUP\DLL\WinSCP\WinSCP.com" ^
/log="C:\SICAES\BACKUP\DLL\WinSCP\WinSCP.log" /ini=nul ^
/command ^
"open ftp://SEVE:SEVE@seve.ddns.net/"%1"/" ^
"put D:\SICAESDB\BACKUP\DATOS\"%2 ^
"exit"

set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
echo Success
) else (
echo Error
)

exit /b %WINSCP_RESULT%

PLEASE ... HELP ME !!!

Where and as locate those commands ... ls -la ... etc and ERROR and MSG ???

THANKS !!!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
ROCKYS08 wrote:
1) How I check if a file to be transferred already was sent ?

It's sent when the put command finishes or when a whole script finishes.

Quote:
2) How I check if file is shipping and get everything ?

What does it mean "file is shipping"?

Quote:
3) How can I send a message to the ftp server ?

What message?
ROCKYS08

Guest


1) How I check if a file to be transferred already was sent ?

It's sent when the put command finishes or when a whole script finishes. ... BOTH CASES

Quote:
2) How I check if file is shipping and get everything ? ... Transferred or Send

What does it mean "file is shipping"?

Quote:
3) How can I send a message to the ftp server ?

What message? ... I end the process good

thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
ROCKYS08 wrote:
1) How I check if a file to be transferred already was sent ?

It's sent when the put command finishes or when a whole script finishes. ... BOTH CASES

That was not a question. That was a statement. A transfer is complete once the put command finishes. What do you want to check?

Quote:
Quote:
2) How I check if file is shipping and get everything ? ... Transferred or Send

What does it mean "file is shipping"?

Sorry, can you be more specific? What's the difference between 1) and 2)?

Quote:
Quote:
3) How can I send a message to the ftp server ?

What message? ... I end the process good

Again, this is quite vague. There's no way to send a "message" to an FTP server. If the FTP server expects some kind of indication about completed transfer, it has to have it's specific and defined way to do so. We cannot know that. Ask your server administrator.

You may want to read https://winscp.net/eng/docs/script_locking_files_while_uploading
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License