Topic "Problem with spaces and mpx in file name"

Author Message
Gerhard_S
[View user's profile]

Joined: 2011-11-12
Posts: 8
Location: Berlin, Germany
Hi,
it is no problem to upload files with spaces and a "banned" file extension (mpx) with WinSCP GUI to a remote SFTP server.
Doing this by script ends up in a message "file not found on local machine".Is there any possibility to correct this?
Excerpt from (edited) script (mpx means something other with a 3):
. 2012-01-09 15:08:52.246 Using SFTP protocol.
. 2012-01-09 15:08:52.246 Doing startup conversation with host.
> 2012-01-09 15:08:52.246 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2012-01-09 15:08:52.276 Type: SSH_FXP_VERSION, Size: 77, Number: -1
. 2012-01-09 15:08:52.276 SFTP version 5 negotiated.
. 2012-01-09 15:08:52.276 Server requests EOL sequence "\n".
. 2012-01-09 15:08:52.276 Server support information:
. 2012-01-09 15:08:52.276 Attribute mask: 8FFFFFFF, Attribute bits: 800003FF, Open flags: 7F
. 2012-01-09 15:08:52.276 Access mask: 1F8, Open block masks: 0, Block masks: 0, Max read size: 131072
. 2012-01-09 15:08:52.276 Attribute extensions (0)
. 2012-01-09 15:08:52.276 Extensions (1)
. 2012-01-09 15:08:52.276 space-available
. 2012-01-09 15:08:52.276 We will use UTF-8 strings when appropriate
. 2012-01-09 15:08:52.276 Getting current directory name.
. 2012-01-09 15:08:52.276 Getting real path for '.'
> 2012-01-09 15:08:52.276 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2012-01-09 15:08:52.305 Type: SSH_FXP_NAME, Size: 19, Number: 16
. 2012-01-09 15:08:52.305 Real path is '/'
. 2012-01-09 15:08:52.305 Startup conversation with host finished.
//next line edited
< 2012-01-09 15:08:52.305 Script: Active session: [1] user@host
> 2012-01-09 15:08:52.305 Script: put F:\mpx\Edith Piaf\Edith Piaf - 01 Non, je ne regrette rien.mpx /httpdocs/content/test/Edith Piaf - 01 Non, je ne regrette rien.mpx
. 2012-01-09 15:08:52.306 Copying 18 files/directories to remote directory "/"
. 2012-01-09 15:08:52.306 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: No; Mask: rien.mpx
. 2012-01-09 15:08:52.306 TM: M; ClAr: No; CPS: 0; ExclM(No):
. 2012-01-09 15:08:52.306 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2012-01-09 15:08:52.307 File: "F:\mpx\Edith"
* 2012-01-09 15:08:52.307 (EOSError) System Error. Code: 2.

* 2012-01-09 15:08:52.307 Das System kann die angegebene Datei nicht finden
. 2012-01-09 15:08:52.307 Asking user:
. 2012-01-09 15:08:52.307 File or folder 'F:\mpx\Edith' does not exist. ("System Error. Code: 2.

. 2012-01-09 15:08:52.307 Das System kann die angegebene Datei nicht finden")
* 2012-01-09 15:08:52.307 (EScpSkipFile) File or folder 'F:\mpx\Edith' does not exist.
* 2012-01-09 15:08:52.307 System Error. Code: 2.
* 2012-01-09 15:08:52.307 Das System kann die angegebene Datei nicht finden
. 2012-01-09 15:08:52.307 Script: Failed
. 2012-01-09 15:08:52.307 Closing connection.
. 2012-01-09 15:08:52.307 Sending special code: 12
. 2012-01-09 15:08:52.307 Sent EOF message

I've already tried to put the file name in quotas, but no success.
Gerhard_S
[View user's profile]

Joined: 2011-11-12
Posts: 8
Location: Berlin, Germany
The file extension does not play a role. The same happens with other extensions and spaces in the file name, like "this is my new file.txt" - but not with "thisismynewfile.txt".
Gerhard_S
[View user's profile]

Joined: 2011-11-12
Posts: 8
Location: Berlin, Germany
Gerhard_S wrote:
The file extension does not play a role. The same happens with other extensions and spaces in the file name, like "this is my new file.txt" - but not with "thisismynewfile.txt".

I must apologize. The logfile proves that quotas were not set. If they are set, it works fine.
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