I am using the following command in the batch file to upload the file to the FTP.
corecmd.exe -s -O -u "D:\Temp\ftptest\Gateway000000058.elg" sftp://username:@password@sftp.gatewayedi.com/eligibility11/ -output "D:\Temp\ftptest\OutputFileCV1.out" -log "D:\Temp\ftptest\LogFileCV1.log"
"eligibility11" folder in the FTP server is not present but still transfer returns the status as 0 meaning success.
How to check for these errors?
Thanks
Deepak
Command line transfer return status
Re: Command line transfer return status
[quote="deepak"]I am using the following command in the batch file to upload the file to the FTP.
corecmd.exe -s -O -u "D:\Temp\ftptest\Gateway000000058.elg" sftp://username:@password@sftp.gatewayedi.com/eligibility11/ -output "D:\Temp\ftptest\OutputFileCV1.out" -log "D:\Temp\ftptest\LogFileCV1.log"
"eligibility11" folder in the FTP server is not present but still transfer returns the status as 0 meaning success.
How to check for these errors?[/quote]
Is there a mod or an admin to remove the SPAM above?
I'd like to second deepak's question. (However, how's the chance to get an answer this time? And why's BBCode off here, contrary to my profile settings? And what's wrong with a link to ietf.org?)
I have a similar one. The cmd line ...
[code][corecmd | coreftp] -O -site spi -u trades.log -p /www/home/spi_data/log -output CoreFTP.log[/code]
... does not transfer the file. (It works in the GUI.)
According to what I can see in the flashing GUI of coreftp "- 117 bytes transferred in 0 seconds" is printed there. However, the file never reaches the destination, no matter which site I choose.
'CoreFTP.log':
[code]2 10 20130122151158 20130122151158 "/www/home/spi_data/log/" ""[/code]
'coreftp.chm':
"transfer type (1-download, 2-upload,...), transfer status(1-success, 2-failure, 30-file not found), start time, end time, dest, source."
So, what's status [b]10[/b] then?
And, a little repining: supplying a user with "magic numbers", partially undocumented in addition, is not too user-firendly. What about supplying the well-known reply codes defined in [code]tools.ietf.org/html/rfc959#page-35[/code], if not supplying textual status messages, or both at best.
corecmd.exe -s -O -u "D:\Temp\ftptest\Gateway000000058.elg" sftp://username:@password@sftp.gatewayedi.com/eligibility11/ -output "D:\Temp\ftptest\OutputFileCV1.out" -log "D:\Temp\ftptest\LogFileCV1.log"
"eligibility11" folder in the FTP server is not present but still transfer returns the status as 0 meaning success.
How to check for these errors?[/quote]
Is there a mod or an admin to remove the SPAM above?
I'd like to second deepak's question. (However, how's the chance to get an answer this time? And why's BBCode off here, contrary to my profile settings? And what's wrong with a link to ietf.org?)
I have a similar one. The cmd line ...
[code][corecmd | coreftp] -O -site spi -u trades.log -p /www/home/spi_data/log -output CoreFTP.log[/code]
... does not transfer the file. (It works in the GUI.)
According to what I can see in the flashing GUI of coreftp "- 117 bytes transferred in 0 seconds" is printed there. However, the file never reaches the destination, no matter which site I choose.
'CoreFTP.log':
[code]2 10 20130122151158 20130122151158 "/www/home/spi_data/log/" ""[/code]
'coreftp.chm':
"transfer type (1-download, 2-upload,...), transfer status(1-success, 2-failure, 30-file not found), start time, end time, dest, source."
So, what's status [b]10[/b] then?
And, a little repining: supplying a user with "magic numbers", partially undocumented in addition, is not too user-firendly. What about supplying the well-known reply codes defined in [code]tools.ietf.org/html/rfc959#page-35[/code], if not supplying textual status messages, or both at best.
-
- Site Admin
- Posts: 987
- Joined: Mon Mar 24, 2003 4:37 am