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

martin

Re: here's some details

OK, now I finally know what you guys were taking about. However I have no hint for you. The error message you see was reported by the server. It is all WinSCP knows. I cannot tell you more. You should better contact your server administrator.

Does it happen only for some files/directories or does it happen always?
guest

here's some details

I dragged files from the left panel and used the F5 key to copy but it's the same problem. This software has worked previously but I re-installed it and now, I got this error code.
By the way, I still can download and explore the server without any problem. It just won't upload.

Here's the copied error message (sorry, it's french)
Erreur Erreur générale
Code de l'erreur : 4
Message d'erreur du serveur : Failure (?)
Code demandé : 6

I also saved a log file:
. Copying 1 files/directories to remote directory "/grp/edu/www-edu/html/Web48/images/concours/"
. PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No; FnCs: N; RIC: Yes; Resume: S (102400); CalcS: Yes; Mask: *.*
. TM: M; AscM: *.*htm*; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. File: "C:\Documents and Settings\Vincent\Mes documents\Page Ouaibe\images\concours\belleau.jpg"
. Copying "C:\Documents and Settings\Vincent\Mes documents\Page Ouaibe\images\concours\belleau.jpg" to remote directory started.
. Binary transfer mode selected.
. Checking existence of file.
> Type: SSH_FXP_LSTAT, Size: 64, Number: 14343
< Type: SSH_FXP_STATUS, Size: 29, Number: 14343
< Status/error code: 2
. Checking existence of partially transfered file.
> Type: SSH_FXP_LSTAT, Size: 73, Number: 14599
< Type: SSH_FXP_ATTRS, Size: 37, Number: 14599
. Asking user:
. Le répertoire destination contient le transfert partiel de 'belleau.jpg'. Voulez-vous reprendre le téléchargement ? Remarque : Répondre 'Non' entrainera la reprise totale du téléchargement. ()
> Type: SSH_FXP_REMOVE, Size: 73, Number: 14861
< Type: SSH_FXP_STATUS, Size: 24, Number: 14861
< Status/error code: 0
. Opening remote file.
> Type: SSH_FXP_OPEN, Size: 81, Number: 15107
< Type: SSH_FXP_HANDLE, Size: 13, Number: 15107
> Type: SSH_FXP_WRITE, Size: 4121, Number: 15366
< Status/error code: 4, Message: 17414, Server: Failure, Language: ?
. 23 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> Type: SSH_FXP_CLOSE, Size: 13, Number: 18436
< Type: SSH_FXP_STATUS, Size: 24, Number: 18436
< Status/error code: 4, Message: 18436, Server: Failure, Language: ?
. Listing directory "/grp/edu/www-edu/html/Web48/images/concours".
> Type: SSH_FXP_OPENDIR, Size: 52, Number: 18699
< Type: SSH_FXP_HANDLE, Size: 13, Number: 18699
> Type: SSH_FXP_READDIR, Size: 13, Number: 18956
< Type: SSH_FXP_NAME, Size: 683, Number: 18956
> Type: SSH_FXP_READDIR, Size: 13, Number: 19212
< Type: SSH_FXP_STATUS, Size: 28, Number: 19212
< Status/error code: 1
> Type: SSH_FXP_CLOSE, Size: 13, Number: 19460
< Type: SSH_FXP_STATUS, Size: 24, Number: 19460
< Status/error code: 0
* (ECommand) Copie de fichiers vers le coté distant échouée.
* Erreur générale
* Code de l'erreur : 4
* Message d'erreur du serveur : Failure (?)
* Code demandé : 6

That's all I can do. Thanks for your help!
martin

Re: Same problem

guest wrote:

I have the same problem as this guy. I tried the solutions suggested but it won't work. It display error code 4. What does it means?

I do not know what does it mean. And ss long as someone provides me enough information (see my previous post) I can hardly find out.
guest

Same problem

I have the same problem as this guy. I tried the solutions suggested but it won't work. It display error code 4. What does it means?
martin

Re: RE

What I need to now is, if you drag them from left panel of WinSCP to right panel. Or from outside of WinSCP (like Windows explorer, desktop, ...) to WinSCP. Also please try to copy files without drag&drop. For example using F5 hot key in Norton-Commander interface. Let me know what was the results like. Maybe also screenshot of the error message would be helpful. Either upload it somewhere and post a link or send it by email to me.
guest

RE

i'm not really sure what it is called where i drag them. i want to copy them from my computer desktop or whatever to this other account where i can put them on the web, so i guess just to another directory or something..
martin

Re: error code 4

From where do you drag the files? Can you post a log file?
guest

error code 4

everytime i try to drag a file onto an account it comes up with "error code 4" and will not work. does anybody know why it is doing this or how to fix it? thanks.