EACCESSVIOLATION - Invalid Access to Memory
I am running a WINSCP script to backup files from a remote device using FTP. This same script is used for multiple backups to multiple sites running that all have the same hardware remotely. For some reason there is 1 instance of this failure. We are receiving the below about 3 times when this script is run, for 3 seperate files, in 3 seperate folders. Other files in all of those folders are being backed up fine without failure. All files on the remote device have the same permissions (644, RW-) and all folders on the server that this is run from have the same permissions (everyone, full).
I get the same error when running WINSCP portable V4.2.9 or installed V5.1.2, on a Windows Server 2008 R2 Enterprise or a Windows 7 Home machine.
Below the error is the script we are running. Please advise as to why we are getting this error or how to better troubleshoot and resolve it.
*******ERROR FROM LOG************
< 2012-12-28 11:46:57.484 257 "/AA/Prompts" is current directory.
> 2012-12-28 11:46:57.485 TYPE A
< 2012-12-28 11:46:57.789 200 Type set to A.
> 2012-12-28 11:46:58.203 PORT 172,23,45,31,217,167
< 2012-12-28 11:46:58.204 200 PORT command successful.
> 2012-12-28 11:46:58.204 LIST -a
< 2012-12-28 11:46:58.377 150 ASCII data connection for dir (206.196.25.68,55719) (0 bytes.)
< 2012-12-28 11:46:58.621 226 ASCII Transfer complete.
. 2012-12-28 11:46:58.747 Download successful
* 2012-12-28 11:46:58.798 (EAccessViolation) EAccessViolation
. 2012-12-28 11:46:58.799 Asking user:
. 2012-12-28 11:46:58.799 Error transferring file '/AA/Prompts/defaultAAPrompt.wav'. (EAccessViolation)
* 2012-12-28 11:46:58.812 (EScpSkipFile) Error transferring file '/AA/Prompts/defaultAAPrompt.wav'.
* 2012-12-28 11:46:58.813 Invalid access to memory
. 2012-12-28 11:46:58.855 Script: Failed
> 2012-12-28 11:46:58.855 Script: synchronize local Adtran Adtran -delete
< 2012-12-28 11:46:58.856 Script: Comparing...
. 2012-12-28 11:46:58.857 Collecting synchronization list for local directory 'Adtran' and remote directory 'Adtran', mode = 1, params = 3
*******SCRIPT*********
open XXXXXX
option batch on
option confirm off
option exclude "*.bmp; *.jpg; *.ld; *.bin; *.ebin; *.biz"
cd NONVOL:
lcd \\SERVER\FOLDER\current
synchronize local NONVOL -delete
cd CFLASH:
lcd CFLASH
synchronize local AA AA -delete
synchronize local Adtran Adtran -delete
synchronize local Polycom Polycom -delete
synchronize local Voicemail Voicemail -delete
exit
I get the same error when running WINSCP portable V4.2.9 or installed V5.1.2, on a Windows Server 2008 R2 Enterprise or a Windows 7 Home machine.
Below the error is the script we are running. Please advise as to why we are getting this error or how to better troubleshoot and resolve it.
*******ERROR FROM LOG************
< 2012-12-28 11:46:57.484 257 "/AA/Prompts" is current directory.
> 2012-12-28 11:46:57.485 TYPE A
< 2012-12-28 11:46:57.789 200 Type set to A.
> 2012-12-28 11:46:58.203 PORT 172,23,45,31,217,167
< 2012-12-28 11:46:58.204 200 PORT command successful.
> 2012-12-28 11:46:58.204 LIST -a
< 2012-12-28 11:46:58.377 150 ASCII data connection for dir (206.196.25.68,55719) (0 bytes.)
< 2012-12-28 11:46:58.621 226 ASCII Transfer complete.
. 2012-12-28 11:46:58.747 Download successful
* 2012-12-28 11:46:58.798 (EAccessViolation) EAccessViolation
. 2012-12-28 11:46:58.799 Asking user:
. 2012-12-28 11:46:58.799 Error transferring file '/AA/Prompts/defaultAAPrompt.wav'. (EAccessViolation)
* 2012-12-28 11:46:58.812 (EScpSkipFile) Error transferring file '/AA/Prompts/defaultAAPrompt.wav'.
* 2012-12-28 11:46:58.813 Invalid access to memory
. 2012-12-28 11:46:58.855 Script: Failed
> 2012-12-28 11:46:58.855 Script: synchronize local Adtran Adtran -delete
< 2012-12-28 11:46:58.856 Script: Comparing...
. 2012-12-28 11:46:58.857 Collecting synchronization list for local directory 'Adtran' and remote directory 'Adtran', mode = 1, params = 3
*******SCRIPT*********
open XXXXXX
option batch on
option confirm off
option exclude "*.bmp; *.jpg; *.ld; *.bin; *.ebin; *.biz"
cd NONVOL:
lcd \\SERVER\FOLDER\current
synchronize local NONVOL -delete
cd CFLASH:
lcd CFLASH
synchronize local AA AA -delete
synchronize local Adtran Adtran -delete
synchronize local Polycom Polycom -delete
synchronize local Voicemail Voicemail -delete
exit