Topic "Replacing file name of special characters"

Author Message
nssushruth
[View user's profile]

Joined: 2015-12-11
Posts: 3
Location: INDIA
Hello,
I love winscp Smile
i have to trasfer huge amount of data from AIX to WIN.

Replacing file name with special character in windows can't be done with user defined characters?.As it takes only inbuilt characters. I did not find any option to give my own characters.

Does winscp has any option of giving only transfer logs?

I'm tired of searching ans for this in Google.

Please Help.
winscp.png (16.59 KB) [Download]

Description: (none)

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Do you want user defined characters to replace? Or use defined character that the special characters should be replaced with?

For transfer log, use XML logging
http://winscp.net/eng/docs/logging_xml
nssushruth
[View user's profile]

Joined: 2015-12-11
Posts: 3
Location: INDIA
prikryl wrote:
Do you want user defined characters to replace? Or use defined character that the special characters should be replaced with?

For transfer log, use XML logging
http://winscp.net/eng/docs/logging_xml


i want to define my own character like underscore instead of %XX characters for replacing special characters like (*,?,..) that are not supported in windows.

But replace option is not allowing me enter my own character instead it is taking its own characters.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
See http://winscp.net/forum/viewtopic.php?t=22373
nssushruth
[View user's profile]

Joined: 2015-12-11
Posts: 3
Location: INDIA
Thank you so much.

Regarding transfer log.i tried using xml log and i am getting the required result but there is one problem.

i am running winscp from command prompt.and i am using /script for running transfer commands.

while transfering if one file fails due to some error like -> permission.. The next files are not considered for transfer.They are skipped automatically and log file contains the reason and file that failed to tranfer.

if i use option batch continue command in script i'm not able to capture which all files that are skipped in log file as it showing only successfully transferred files with batch continue option.

I need both continue on error option as well as error to be captured in the log.

Please Help
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
OK, it's about a time you switch from a plain WinSCP script to PowerShell script with use of WinSCP .NET assembly.

See
http://winscp.net/eng/docs/library_from_script
http://winscp.net/eng/docs/library_example_recursive_download_custom_error_handling
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