Trouble using GXS virtual directories
Hi,
First, I'm spanish, my english it's not very good. Sorry
I'm using WinSCP to upload and download files from GXS. They use virtual directories and when I upload files to their folder I can't see the uploaded file
I'm use this script (I hide the user/password for security. I'm using MYUSER, MYPASSWORD,GXSIP, FINGERPRINTER words below, but I use the correct credentials)
rem Generar script
echo option batch abort > script.tmp
echo option confirm off >> script.tmp
rem Connect using a password
echo open sftp://MYUSER:MYPASSWORD@GXSIP -hostkey="ssh-rsa 1024 FINGERPRINTER" >> script.tmp
echo cd /5050406903165/CLARKSTEST/SALESO
echo put P:\cosmos\projects\kremp\kraux\krclarks\krfiles\tmp\proceso\SALESO_20130812173401.txt >> script.tmp
echo close >> script.tmp
echo exit >> script.tmp
rem Execute script.tmp
winscp.com /script=script.tmp /xmllog:p:\cosmos\projects\kremp\kraux\krclarks\krfiles\tmp\proceso\log.xml
rem Borrar el script temporal
del script.tmp
The log file said:
<?xml version="1.0" encoding="UTF-8"?>
<session xmlns="https://winscp.net/schema/session/1.0" name="5050406903165@204.90.181.225" start="2013-08-12T14:34:02.666Z">
<upload>
<filename value="\\Canigo\Kriter\cosmos\projects\kremp\kraux\krclarks\krfiles\tmp\proceso\SALESO_20130812173401.txt" />
<destination value="/5050406903165/SALESO_20130812173401.txt" />
<result success="true" />
</upload>
<touch>
<filename value="/5050406903165/SALESO_20130812173401.txt" />
<modification value="2013-08-12T14:34:01.000Z" />
<result success="true" />
</touch>
</session>
I see in the log that the destination value it's not the remote folder (cd /5050406903165/CLARKSTEST/SALESO) that I use in the script. Then the GXS support said they doesn't see the files, because their folder are virtual
Using WinSCP 5.1.6(3394)on Windows XP SP3.
Can you help me? Thanks
Note: If I use GUI WinSCP when I upload files to the remote folder the result it's the same, the file is stored in the main folder.
First, I'm spanish, my english it's not very good. Sorry
I'm using WinSCP to upload and download files from GXS. They use virtual directories and when I upload files to their folder I can't see the uploaded file
I'm use this script (I hide the user/password for security. I'm using MYUSER, MYPASSWORD,GXSIP, FINGERPRINTER words below, but I use the correct credentials)
rem Generar script
echo option batch abort > script.tmp
echo option confirm off >> script.tmp
rem Connect using a password
echo open sftp://MYUSER:MYPASSWORD@GXSIP -hostkey="ssh-rsa 1024 FINGERPRINTER" >> script.tmp
echo cd /5050406903165/CLARKSTEST/SALESO
echo put P:\cosmos\projects\kremp\kraux\krclarks\krfiles\tmp\proceso\SALESO_20130812173401.txt >> script.tmp
echo close >> script.tmp
echo exit >> script.tmp
rem Execute script.tmp
winscp.com /script=script.tmp /xmllog:p:\cosmos\projects\kremp\kraux\krclarks\krfiles\tmp\proceso\log.xml
rem Borrar el script temporal
del script.tmp
The log file said:
<?xml version="1.0" encoding="UTF-8"?>
<session xmlns="https://winscp.net/schema/session/1.0" name="5050406903165@204.90.181.225" start="2013-08-12T14:34:02.666Z">
<upload>
<filename value="\\Canigo\Kriter\cosmos\projects\kremp\kraux\krclarks\krfiles\tmp\proceso\SALESO_20130812173401.txt" />
<destination value="/5050406903165/SALESO_20130812173401.txt" />
<result success="true" />
</upload>
<touch>
<filename value="/5050406903165/SALESO_20130812173401.txt" />
<modification value="2013-08-12T14:34:01.000Z" />
<result success="true" />
</touch>
</session>
I see in the log that the destination value it's not the remote folder (cd /5050406903165/CLARKSTEST/SALESO) that I use in the script. Then the GXS support said they doesn't see the files, because their folder are virtual
Using WinSCP 5.1.6(3394)on Windows XP SP3.
Can you help me? Thanks
Note: If I use GUI WinSCP when I upload files to the remote folder the result it's the same, the file is stored in the main folder.