Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

davidmartin123

Re: winscp

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>
martin

Re: winscp

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.
khushi

winscp

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

Re: Error message from server: Not allowed to rename files

Sorry, no idea. Looks like an internal error of the SFTP server. Please contact their support.
mr3316a

Re: Error message from server: Not allowed to rename files

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

Re: Error message from server: Not allowed to rename files

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
mr3316a

Re: Error message from server: Not allowed to rename files

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?
mr3316a

Error message from server: Not allowed to rename files

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