Topic "Error message from server: Not allowed to rename files"

Author Message
mr3316a
[View user's profile]

Joined: 2013-04-25
Posts: 3
I'm trying to create a new file transfer process, and when I run the script I receive the following error message. Could someone help me intrepid what it is telling me, and how to go about fixing it?

/FCOE/GENLEDGE
Dr-xr-x--- 0 512 Apr 17 15:59:13 2013 ..
C:pudcharge20130416.dat | 703 KiB | 573.9 KiB/s | binary | 100%
Transfer was successfully finished, but temporary transfer file 'pudcharge201304
16.dat.filepart' could not be renamed to target file name 'pudcharge20130416.dat
'. If the problem persists, you may try to turn off transfer resume support.
Permission denied.
Error code: 3
Error message from server: Not allowed to rename files
Request code: 18
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Quote:
If the problem persists, you may try to turn off transfer resume support

See https://winscp.net/eng/docs/ui_pref_resume
_________________
Martin Prikryl
mr3316a
[View user's profile]

Joined: 2013-04-25
Posts: 3
Thanks Martin
I followed the directions and the file no longer is being passed with the .filepart extension. However the transfer is still not taking place. I'm now getting an error code of 4. I'm starting to think that it may be a permissions issue based on the rights setting of "xr-x---", what do you think?
Also what is an error code 4 mean?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
mr3316a wrote:
Thanks Martin
I followed the directions and the file no longer is being passed with the .filepart extension. However the transfer is still not taking place. I'm now getting an error code of 4. I'm starting to think that it may be a permissions issue based on the rights setting of "xr-x---", what do you think?
Also what is an error code 4 mean?

Please share complete error message. Or even better a complete session log file.
Otherwise I can only point you to:
https://winscp.net/eng/docs/sftp_codes
_________________
Martin Prikryl
mr3316a
[View user's profile]

Joined: 2013-04-25
Posts: 3
Martin the session is as follows:

Copying 1 files/directories to remote directory "/FCOE/GENLEDGE/"
PrTime: Yes; PrRO: No; Rght: rw-rw-rw-; PrR: Yes (Yes); FnCs: N; RIC: 0100; Resume: N (102400); CalcS: Yes; Mask: *.*
TM: B; ClAr: No; CPS: 0; NewerOnly: No; InclM:
AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
File: "C:\Flash PUD Uploader\Reports\pudcharge20130416.dat"
Copying "C:\Flash PUD Uploader\Reports\pudcharge20130416.dat" to remote directory started.
Binary transfer mode selected.
Opening remote file.
Type: SSH_FXP_OPEN, Size: 61, Number: 9475
Type: SSH_FXP_STATUS, Size: 40, Number: 9220
Discarding reserved response
Type: SSH_FXP_STATUS, Size: 66, Number: 9475
Status code: 4, Message: 9475, Server: Sftp daemon generated exception in initPut call. , Language:
Type: SSH_FXP_LSTAT, Size: 45, Number: 9735
Type: SSH_FXP_STATUS, Size: 78, Number: 9735
Status code: 2, Message: 9735, Server: /FCOE/GENLEDGE/pudcharge20130416.dat is not a valid file path, Language:
(ETerminal) General failure (server should provide error description).
Error code: 4
Error message from server: Sftp daemon generated exception in initPut call.
Request code: 3
Asking user:
Cannot create remote file '/FCOE/GENLEDGE/pudcharge20130416.dat'. ("General failure (server should provide error description).
Error code: 4
Error message from server: Sftp daemon generated exception in initPut call.
Request code: 3")
(EScpSkipFile) Cannot create remote file '/FCOE/GENLEDGE/pudcharge20130416.dat'.
General failure (server should provide error description).
Error code: 4
Error message from server: Sftp daemon generated exception in initPut call.
Request code: 3
Listing directory "/FCOE/GENLEDGE".
Type: SSH_FXP_OPENDIR, Size: 23, Number: 9995
Type: SSH_FXP_HANDLE, Size: 23, Number: 9995
Type: SSH_FXP_READDIR, Size: 23, Number: 10252
Type: SSH_FXP_STATUS, Size: 35, Number: 10252
Status code: 1
Listing file "/FCOE/GENLEDGE/..".
Type: SSH_FXP_LSTAT, Size: 26, Number: 10503
Type: SSH_FXP_ATTRS, Size: 37, Number: 10503
..;D;512;2013-04-30T16:02:10.000Z;"" [2];"" [2];r-xr-x---;0
Type: SSH_FXP_CLOSE, Size: 23, Number: 10756
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Sorry, no idea. Looks like an internal error of the SFTP server. Please contact their support.
_________________
Martin Prikryl
khushi

Guest


can any1 help in resolving below error. This error is seen when i am trying to rename binary file also when trying to copy files

General failure (server should provide error description).
Error code: 4
Error message from server: Failure
Request code: 18
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
khushi wrote:
can any1 help in resolving below error. This error is seen when i am trying to rename binary file also when trying to copy files

Please start a new thread and attach a complete log file.
_________________
Martin Prikryl
davidmartin123
[View user's profile]

Joined: 2014-06-25
Posts: 5
Location: London, UK
khushi wrote:
can any1 help in resolving below error. This error is seen when i am trying to rename binary file also when trying to copy files

General failure (server should provide error description).
Error code: 4
Error message from server: Failure
Request code: 18

If you provide us a SCREENShot then we can help you in a better way...I am a Network Support Guy and will help you.
<invalid hyperlink removed by admin>
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