Topic "Issue with Space in Local Deirectory listing"

Author Message
jbalajkpm
[View user's profile]

Joined: 2009-07-22
Posts: 4
Location: India
Hi,

Here's the script which i use with VB, this can also be copied and executed directly in ordinary Command line (not in WinSCP.com)

C:\>"C:\Program Files\WinSCP\WinSCP.com" /console /command "Open UserXXX:password@sftp.xxx.com" "CD FTP/REMO/REMOTE_DIRECTORY" "Put -delete -nopermissions -preservetime "G:\Bala\FileNet DR Process\Checklist2.zip"" "close" "exit" "/log=c:\winscp.log"

And im getting the error

Quote:
File or folder 'G:\Bala\FileNet' does not exist.
System Error. Code: 2.
The system cannot find the file specified


can anyone provide me a suggestion in this.

Thanks,
Bala
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Please read documentation. If that does not help, come back.
_________________
Martin Prikryl
jbalajkpm
[View user's profile]

Joined: 2009-07-22
Posts: 4
Location: India
prikryl wrote:
Please read documentation. If that does not help, come back.


Provided article did not help.
jbalajkpm
[View user's profile]

Joined: 2009-07-22
Posts: 4
Location: India
jbalajkpm wrote:
prikryl wrote:
Please read documentation. If that does not help, come back.


Provided article did not help.


can you think of something which might be missing here. Please assist
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
jbalajkpm wrote:
Provided article did not help.

So what the article did not help you with?
_________________
Martin Prikryl
jbalajkpm
[View user's profile]

Joined: 2009-07-22
Posts: 4
Location: India
prikryl wrote:
jbalajkpm wrote:
Provided article did not help.

So what the article did not help you with?



this is the article i'm referring to
https://winscp.net/eng/docs/scripting#quotes
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
jbalajkpm wrote:
this is the article i'm referring to
https://winscp.net/eng/docs/scripting#quotes

I know. I ask, what part of the article you do not understand, or what part of it does not work for you.
_________________
Martin Prikryl
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