Topic "Unable to get progress bar on WIndows 8.1"

Author Message
BiggestMitch

Guest


Hi

Discovered WinSCP a few days ago and have been plating around with it on my Windows 7 desktop without a problem.

I can get both the graphical and dos text versions of a script to work to upload a files to an FTP server BUT I installed WinSCP on my Windows 8 tablet and adjusted the dos/text based script to suit but dont get any form of screen output and no file arrives on my FTP server.

My Win 7 scripts are

ftp.bat
"C:\Program Files (x86)\WinSCP\WinSCP.exe" ftp://xxxx:xxxx@192.168.0.241/ /upload c:\users\derek\upload.rar

ftpscript.txt

# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect to SFTP server using a password
open ftp://zitech:2wd3xdd@192.168.0.241/
# Upload file
put c:\users\derek\upload.rar /home/zitech
# Disconnect
close
# Exit FTP
exit

The above work well.

ftp2.bat
"C:\Program Files (x86)\WinSCP\WinSCP.com" /script=c:\users\derek\desktop\ftpscript.txt

This also works well but clearly in a dos/text window

On my windows tablet the scripts are

testftp.bat

"C:\Program Files\WinSCP\WinSCP.exe" /script=./ftpscript.txt
pause

ftpscript.txt

# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect to SFTP server using a password
open ftp://xxxx:xxxx@192.168.0.241/
# Upload file
put c:\users\xxxx\desktop\upload.rar /home/xxxx
# Disconnect
close
# Exit FTP
exit

When I run the script on the tablet the batch file seems to run and eventually gets to the pause command

No screen output is shown and the file does not get to the server.

Any assistance with this would be appreciated and I am now completely stuck.

Derek
Guest




Hi

OK, I have spotted the problem with getting the dos/text screen to appear, I had .exe instead of .com - Doh!

It all seems to be working OK now.

Thanks any way

Derek

BiggestMitch wrote:
Hi

Discovered WinSCP a few days ago and have been plating around with it on my Windows 7 desktop without a problem.

I can get both the graphical and dos text versions of a script to work to upload a files to an FTP server BUT I installed WinSCP on my Windows 8 tablet and adjusted the dos/text based script to suit but dont get any form of screen output and no file arrives on my FTP server.

My Win 7 scripts are

ftp.bat
"C:\Program Files (x86)\WinSCP\WinSCP.exe" ftp://xxxx:xxxx@192.168.0.241/ /upload c:\users\derek\upload.rar

ftpscript.txt

# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect to SFTP server using a password
open ftp://zitech:2wd3xdd@192.168.0.241/
# Upload file
put c:\users\derek\upload.rar /home/zitech
# Disconnect
close
# Exit FTP
exit

The above work well.

ftp2.bat
"C:\Program Files (x86)\WinSCP\WinSCP.com" /script=c:\users\derek\desktop\ftpscript.txt

This also works well but clearly in a dos/text window

On my windows tablet the scripts are

testftp.bat

"C:\Program Files\WinSCP\WinSCP.exe" /script=./ftpscript.txt
pause

ftpscript.txt

# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect to SFTP server using a password
open ftp://xxxx:xxxx@192.168.0.241/
# Upload file
put c:\users\xxxx\desktop\upload.rar /home/xxxx
# Disconnect
close
# Exit FTP
exit

When I run the script on the tablet the batch file seems to run and eventually gets to the pause command

No screen output is shown and the file does not get to the server.

Any assistance with this would be appreciated and I am now completely stuck.

Derek
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