Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ftp
#1
Im trying to use the ftp function but keep having problem with the server
Function Test
Code:
Copy      Help
Ftp f.Connect("www.drivehq.com" "xxxxxx" "xxxxxx" )

;If need, change current ftp directory to the directory where the file is
if(!f.DirSet("\My Pictures")) end "failed to set FTP current directory"

;Download to desktop
f.SetProgressDialog(1)
if(!f.FileGet("SamplePhoto2.jpg" "$desktop$\SamplePhoto2.jpg")) end "failed to download"

mes "downloaded"
the errors i get are Error (RT) in Function: Failed. The connection with the server was reset
Error (RT) in Test: Failed. A connection with the server could not be established
Error (RT) in Test: Failed. A connection with the server could not be established
is this the servers problem or mine if the server is bad what sites would be recomended for free ftp host
#2
sorry this was my problem i was using www. instead of ftp.
#3
I have another problem here this i can make work on my pc but when i try on others it does not work i get the "failed to download". I am trying to download all textfiles from my server and wondering if it could be firewalls or spyware stopping it. It shows the downloading message but does nothing for 2-3min then errors.
#4
Try to add flag 1 in Connect.

Ftp f.Connect("www.drivehq.com" "xxxxxx" "xxxxxx" 0 0 1)
#5
perfect cheers gint all 3pcs now work


Forum Jump:


Users browsing this thread: 1 Guest(s)