|
-
May 29th, 2001, 08:22 AM
#1
Thread Starter
New Member
FTP Connection ..
Hello!
Am having problems with a ftp connection that has been established, which I can send commands to and from but I cannot transfer (upload) the file.
All that I can see is that I get a timeout message from within the .dll file that I call.
The fun part with this though, is that if I do step through the FTP-section of the code it works great. I can connect, I can issue commands (cwd and type i), and I can put the file on the server.
If I - inside the ftp function - place breakpoints after I have logged on to the server and at the error message to the sendfile function - and run from the first breakpoint to the other, it won't send the file. It gets this timeout message.
And then I have also put some waiting loops after all my ftp functions just in case it is something that needs some extra time to finish. (10 second intervals between the commands) The timeout is set to 45 seconds.
If I place a breakpoint before I head into this ftp-function and one after it is finished - it won't put the file on the server. The rest of the commands work though.
If I compile it as an .exe file with the required references to the .dll file and run it though - it won't put the file on the server.
The rest of the commands work though.
Have anyone ran into this same problem before? Would be really grateful for all suggestions/hints/tricks/whatever...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|