PDA

View Full Version : Problem trying to FTP from within VisualBuildPro


rmacfadyen
09-01-2005, 03:49 PM
Hi,

I can't seem to get the FTP command step working. I get the error:
Error transferring file(s) '\its\installation\RMTrackv2.4.0.244.exe': Failed to read data from server ("/" is current directory. )

The step is configured to use passive mode, I specify the local file fully, and the Remote Path is configured as / (or ./, or blank... still no joy).

The server, user id, and password are all ok... testing using regular command line ftp works fine.

I think the problem is with the remote path... but I don't understand why leaving it blank doesn't work (i.e. just put the file into the current directory).

Regards,

Rob MacFadyen

kinook
09-01-2005, 04:28 PM
You should be able to use a blank remote path when putting. What kind of FTP server is it? Please set logging for the step to All + hex dump, build the step, and send your .bld file and log file to support@kinook.com. Also send the dump from Help | About | Install Info. Thanks.

rmacfadyen
09-01-2005, 09:20 PM
Problem resolved.

I'd set the "use passive mode" check box, but the FTP server config already forced passive... so when the PASV command was being sent an error was being returned.

I'm using Serv-U ftp server. Here's the tail end of the log showing all + hex:

VISBUILDPRO 220853 0000 INF: select(64, 0x0, 0x214f320, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: send(1152, 0x25b6b58, 5, 0) returned 5
0000 50 57 44 0D 0A PWD..
VISBUILDPRO 220853 0016 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f278, 1, 0) returned 1
0000 32 2
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f279, 1, 0) returned 1
0000 35 5
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f27a, 1, 0) returned 1
0000 37 7
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f27b, 1, 0) returned 1
0000 20
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 22 "
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 2F /
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 22 "
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 20
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 69 i
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 73 s
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 20
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 63 c
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 75 u
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 72 r
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 72 r
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 65 e
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 6E n
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 74 t
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 20
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 64 d
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 69 i
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 72 r
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 65 e
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0016 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 63 c
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 74 t
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 6F o
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 72 r
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 79 y
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 2E .
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 0D .
VISBUILDPRO 220853 0000 INF: select(64, 0x214f158, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: recv(1152, 0x214f2f8, 1, 0) returned 1
0000 0A .
VISBUILDPRO 220853 0000 INF: socket(2, 1, 0) returned 1264
VISBUILDPRO 220853 0000 INF: select(64, 0x0, 0x214f1ac, 0x0, 10:0) returned 1
VISBUILDPRO 220853 0000 INF: send(1152, 0x25b6b58, 6, 0) returned 6
0000 50 41 53 56 0D 0A PASV..
VISBUILDPRO 220856 2218 INF: select(64, 0x214efe4, 0x0, 0x0, 10:0) returned 1
VISBUILDPRO 220856 0000 ERR: recv(1152, 0x214f104, 1, 0) returned -1 [10054]
VISBUILDPRO 220856 0016 INF: stopped process 0x660 trace on 09-01-2005 22:08:56
Error transferring file(s) 'xxxxxxxx.exe': Failed to read data from server ("/" is current directory. )
Step 'FTP to web server' failed
Build ended.