Topic "Invalid Characters again....do wildcards fix the problem?"

Author Message
GreyHound

Guest


Hi,
i read quite a lot of forums with threads about this issue and learned this wont get fixed.

Now i wanna know if, since the error msg suggest wildcards, theres a script available that would do the job for me? I already dumped so many invalid files on my ftp and cant structure them again. Id really love if there was a way to get arround this. The nasty thing is you can upload. IF there was at least a message that would remind me if i m trying to upload such a invalid named file id be happy aswell.

I hope theres a way,
thanks so far

greyhoud
Advertisements
GreyHound

Guest


i m not into Scp so i could script it myself or something, i have just been forced by my host to use scp.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
GreyHound wrote:
Now i wanna know if, since the error msg suggest wildcards

I'm sorry, I'm not sure what you are talking about. What problem do you have, what error message do you mean?
_________________
Martin Prikryl
GreyHound

Guest


Error Message wrote:
Command 'mv -f "[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec" "a"'
failed with return code -1 and error message
invalid characters in scp command!
here:[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec" "a"
try using a wildcard to match this file/directory.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Can you post a full log file? Also I'm not quite sure what you are doing.
_________________
Martin Prikryl
Guest




Ah sorry,
i thought this is a common error and therefore i guessed my short explaination is enought.

Basicly i dont do more then trying to move/delete/rename a file.
(i checked the log files, they dont give mre info as the stuff i posted)
I m just not sure if its winscp or the servers fault that causes the invalid character issue. I m a bit curious about the fakt that i m able to upload a file that seems to use invalid characters (whyever) but not move, rename or delete it afterwards.
Error Message wrote:

Command 'mv -f "[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec" "a"'
failed with return code -1 and error message
invalid characters in scp command!
here:[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec" "a"
try using a wildcard to match this file/directory.

Logfile wrote:

Moving file "[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec" to "/www/bindig.net/html/tribes/[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec".
mv -f "[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec" "/www/bindig.net/html/tribes/[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec" ; echo "WinSCP: this is end-of-file:$status"
invalid characters in scp command!
here:[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec" "/www/bindig.net/html/tribes/[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec"
try using a wildcard to match this file/directory
WinSCP: this is end-of-file:-1
Asking user:
Fehler beim Verschieben der Datei '[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec' nach '/www/bindig.net/html/tribes/[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec'. ("Befehl 'mv -f ""[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec"" ""/www/bindig.net/html/tribes/[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec""'
fehlgeschlagen mit Beendigungscode -1 und Fehlernachricht
invalid characters in scp command!
here:[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec"" ""/www/bindig.net/html/tribes/[=W=]vs[kB] CCdx ladder nice mega mortar mayhem.rec""
try using a wildcard to match this file/directory.")
Listing current directory.
ls -la --full-time ; echo "WinSCP: this is end-of-file:$status"


i hope its not so bad i use the german client version.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
I'm sorry, but I need full log file.
_________________
Martin Prikryl
GreyHound

Guest


Youzre Welcome
<invalid hyperlink removed by admin>
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
BTW, do you have some kind of restricted shell? Like scponly? It may cause the problem.
_________________
Martin Prikryl
GreyHound

Guest


ill ask, np
greyhound

Guest


yeah scponly 4.11
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
greyhound wrote:
yeah scponly 4.11

That will be th reason. Scponly restricts some characters.
_________________
Martin Prikryl
Guest




ah yeh ok, thx for your trouble, will need to life with it then
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