News:

Follow BoincTasks on Twitter Facebook        Visit our website here.
BoincTasks cloud login is working again

Main Menu

File transfer protocol

Started by Bernt, December 10, 2011, 08:07:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bernt

This subject has been on the agenda before but  I bring it up again.

Info from logging in BT
10 december 2011 - 19:33:18 Start Ftp ---- ERROR: Unable to start: C:\Documents and Settings\Bernt.NRKWXC03.000\Application Data\eFMer\BoincTasks\html\ftp.bat

I have changed the script and test it from the command prompt  and it works towards the FTPserver, but when BT is starting the FTP.bat it fails.

Below boinctasks_ftp.txt used by FTP.bat

# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a password
# open user: example@example.com
# Connect
open ftp://bernt:@nrkwxc03
# Change remote directory
#cd /remote
# Upload the file to current working directory
put tasks.html
# Disconnect
close
# Exit WinSCP
exit


I´m using FileZilla FTPserver


If Fred has some ideas why this goes wrong, that info is appreciated.

Bernt

fred

Quote from: Bernt on December 10, 2011, 08:07:31 PM
I´m using FileZilla FTPserver
The answer is simple: FileZilla doesn't support automated transfers.
The only program I tested can be found here: http://www.efmer.eu/forum_tt/index.php?topic=581.0

Alternatively, you can use the web server mode.

Bernt

I have done this! Still I got the message Error from BT. I made a path from my desktop to ftp.bat in my set of efmer\BT\html and that works without a problem also without FZilla server. I think it is strange that BT has a problem with this.


fred

Quote from: Bernt on December 11, 2011, 07:04:14 PM
I have done this! Still I got the message Error from BT. I made a path from my desktop to ftp.bat in my set of efmer\BT\html and that works without a problem also without FZilla server. I think it is strange that BT has a problem with this.
What happens if you paste: C:\Documents and Settings\Bernt.NRKWXC03.000\Application Data\eFMer\BoincTasks\html\ftp.bat into explorer.
It may be that ftp.bat is locked.