Hi There,
I have tried a couple of other things and they look more successful but I still do not see the file.
You can see my log & script code below.
This is the log returned:
. 2012-11-21 14:38:58.655 Using FTP protocol.
. 2012-11-21 14:38:58.655 Doing startup conversation with host.
> 2012-11-21 14:38:58.655 PWD
< 2012-11-21 14:38:58.781 257 "/StWilson" is current directory.
. 2012-11-21 14:38:58.781 Changing directory to "CarHireBackUp".
> 2012-11-21 14:38:58.781 CWD CarHireBackUp
< 2012-11-21 14:38:58.908 250 CWD command successful.
. 2012-11-21 14:38:58.908 Getting current directory name.
> 2012-11-21 14:38:58.908 PWD
< 2012-11-21 14:38:59.038 257 "/StWilson/CarHireBackUp" is current directory.
. 2012-11-21 14:38:59.038 Startup conversation with host finished.
< 2012-11-21 14:38:59.038 Script: Active session: [1] CarHireBackup
> 2012-11-21 14:38:59.038 Script: option transfer binary
< 2012-11-21 14:38:59.038 Script: transfer binary
> 2012-11-21 14:38:59.039 Script: Put C:\StevesStuff\CarHire14112012\BrokenWindow.TXT \CarHireBackUp\
. 2012-11-21 14:38:59.039 Copying 1 files/directories to remote directory "/StWilson/CarHireBackUp"
. 2012-11-21 14:38:59.039 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: \CarHireBackUp\
. 2012-11-21 14:38:59.039 TM: B; ClAr: No; CPS: 0; InclM:
. 2012-11-21 14:38:59.039 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2012-11-21 14:38:59.039 File: "C:\StevesStuff\CarHire14112012\BrokenWindow.TXT"
. 2012-11-21 14:38:59.042 Copying "C:\StevesStuff\CarHire14112012\BrokenWindow.TXT" to remote directory started.
. 2012-11-21 14:38:59.042 Binary transfer mode selected.
. 2012-11-21 14:38:59.043 Starting upload of C:\StevesStuff\CarHire14112012\BrokenWindow.TXT
> 2012-11-21 14:38:59.043 TYPE A
< 2012-11-21 14:38:59.175 200 Type set to A.
> 2012-11-21 14:38:59.176 PASV
< 2012-11-21 14:38:59.312 227 Entering Passive Mode (174,36,218,226,19,156).
> 2012-11-21 14:38:59.312 LIST
< 2012-11-21 14:38:59.579 125 Data connection already open; Transfer starting.
. 2012-11-21 14:38:59.581 11-21-12 06:53AM 2048 CarHireBackUp
. 2012-11-21 14:38:59.581 11-16-12 07:55AM <DIR> testremote
< 2012-11-21 14:38:59.914 226 Transfer complete.
> 2012-11-21 14:38:59.915 TYPE I
< 2012-11-21 14:39:00.038 200 Type set to I.
> 2012-11-21 14:39:00.038 PASV
< 2012-11-21 14:39:00.166 227 Entering Passive Mode (174,36,218,226,19,157).
> 2012-11-21 14:39:00.166 STOR CarHireBackUp
< 2012-11-21 14:39:00.442 125 Data connection already open; Transfer starting.
< 2012-11-21 14:39:00.770 226 Transfer complete.
. 2012-11-21 14:39:00.770 Upload successful
> 2012-11-21 14:39:00.770 Script: exit
. 2012-11-21 14:39:00.770 Script: Exit code: 0
. 2012-11-21 14:39:00.773 Disconnected from server
This is my Script:
option batch on
option confirm off
open CarHireBackup
option transfer binary
Put C:\StevesStuff\CarHire14112012\BrokenWindow.TXT \CarHireBackUp\
exit
I would appreciate if anyone can see why the file is not showing.
Best Regards,
Steve.