-
Lucholp
Guest
(ERROR)ls -la --full-time
Advertisement
Advertisement
-
martin◆
Site Admin -
- Joined:
- Posts:
- 32,073
- Location:
- Prague, Czechia
Re: (ERROR)ls -la --full-time
Please post a log file.
_________________
Martin Prikryl
_________________
Martin Prikryl
-
ROCKYS08
Guest
QUESTION
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 !!!
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
Script
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 !!!
@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◆
Site Admin -
- Joined:
- Posts:
- 32,073
- Location:
- Prague, Czechia
Re: QUESTION
It's sent when the1) How I check if a file to be transferred already was sent ?
put
command finishes or when a whole script finishes.
What does it mean "file is shipping"?2) How I check if file is shipping and get everything ?
What message?3) How can I send a message to the ftp server ?
Advertisement
-
ROCKYS08
Guest
QUESTION
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
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◆
Site Admin -
- Joined:
- Posts:
- 32,073
- Location:
- Prague, Czechia
Re: QUESTION
That was not a question. That was a statement. A transfer is complete once the1) 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
put
command finishes. What do you want to check?
Sorry, can you be more specific? What's the difference between 1) and 2)?Quote:
2) How I check if file is shipping and get everything ? ... Transferred or Send
What does it mean "file is shipping"?
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.Quote:
3) How can I send a message to the ftp server ?
What message? ... I end the process good
You may want to read https://winscp.net/eng/docs/script_locking_files_while_uploading
Advertisement
You can post new topics in this forum