The filename, directory name, or volume label syntax is incorrect error whn using WinSCP SSIS script

Advertisement

shahid
Joined:
Posts:
1
Location:
Bangladesh

The filename, directory name, or volume label syntax is incorrect error whn using WinSCP SSIS script

> 2020-01-02 15:40:23.712 Script: get -nopermissions -preservetime -transfer="binary" -- "/TEDDY/ellos/Studio_Product_Image_B/" "\E:\Projects\FTP_Image_RnD\FTPDownload\TEDDY\"
< 2020-01-02 15:40:23.713 Script: Selecting files using a path ending with slash is ambiguous. Remove the slash to select the folder. Append * mask to select all files in the folder.
. 2020-01-02 15:40:23.713 Listing file "/TEDDY/ellos/Studio_Product_Image_B".
. 2020-01-02 15:40:23.713 Retrieving file information...
> 2020-01-02 15:40:23.713 PWD
< 2020-01-02 15:40:23.714 257 "/" is current directory.
> 2020-01-02 15:40:23.714 CWD /TEDDY/ellos/Studio_Product_Image_B
< 2020-01-02 15:40:23.714 250 CWD command successful.
> 2020-01-02 15:40:23.714 CWD /
< 2020-01-02 15:40:23.715 250 CWD command successful.
. 2020-01-02 15:40:23.715 Retrieving file information successful
. 2020-01-02 15:40:23.715 Studio_Product_Image_B;D;0;1899-12-30T06:00:00.000Z;0;"" [0];"" [0];---------;0
. 2020-01-02 15:40:23.715 Copying 1 files/directories to local directory "\E:\Projects\FTP_Image_RnD\FTPDownload\TEDDY\"
. 2020-01-02 15:40:23.715 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask:
. 2020-01-02 15:40:23.715 TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; EncryptNewFiles: Yes; ExcludeHiddenFiles: No; ExcludeEmptyDirectories: No; InclM: ; ResumeL: 0
. 2020-01-02 15:40:23.715 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2020-01-02 15:40:23.715 File: '/TEDDY/ellos/Studio_Product_Image_B/' [n/a] [0]
* 2020-01-02 15:40:23.716 (EOSError) System Error. Code: 123.

* 2020-01-02 15:40:23.716 The filename, directory name, or volume label syntax is incorrect
. 2020-01-02 15:40:23.716 Asking user:
. 2020-01-02 15:40:23.716 Error creating folder '\E:\Projects\FTP_Image_RnD\FTPDownload\TEDDY\'. ("System Error. Code: 123.

. 2020-01-02 15:40:23.716 The filename, directory name, or volume label syntax is incorrect")
< 2020-01-02 15:40:23.716 Script: Error creating folder '\E:\Projects\FTP_Image_RnD\FTPDownload\TEDDY\'.
< 2020-01-02 15:40:23.716 Script: System Error. Code: 123.

< 2020-01-02 15:40:23.716 The filename, directory name, or volume label syntax is incorrect
* 2020-01-02 15:40:23.717 (ESkipFile) Error creating folder '\E:\Projects\FTP_Image_RnD\FTPDownload\TEDDY\'.
* 2020-01-02 15:40:23.717 System Error. Code: 123.
* 2020-01-02 15:40:23.717 The filename, directory name, or volume label syntax is incorrect
. 2020-01-02 15:40:23.717 Copying finished: Transferred: 0, Elapsed: 0:00:00, CPS: 0/s
. 2020-01-02 15:40:23.717 Script: Failed
> 2020-01-02 15:40:23.774 Script: exit
. 2020-01-02 15:40:23.775 Script: Exit code: 1
. 2020-01-02 15:40:23.777 Disconnected from server

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: The filename, directory name, or volume label syntax is incorrect error whn using WinSCP SSIS script

\E:\Projects\FTP_Image_RnD\FTPDownload\TEDDY\ is not a valid Windows path.

You probably wanted to use E:\Projects\FTP_Image_RnD\FTPDownload\TEDDY\ (no leading backslash).

Reply with quote

Advertisement

You can post new topics in this forum