Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / FTP conenction problem

Author
Message
Newturk
17
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: Turkey
Posted: 7th Mar 2009 00:23
I was using my ftp connection info wthout any problem more than 4 months. But, 5 days ago, I faced connection problem. I was talking with server provider but they could not solve the problem.

I was using simple FTP conenction command.
domain$="www.domain.com"
user$="monalisa"
pass$="12345"
FTP CONNECT domain$,user$,pass$

This command was working properly. I was adding some program parts and try to expand game contents. But, instead of go archive like 2 months, this command did not work. As well as compiled exe files which compiled one month ago.

I am sure I did not change any ftp user configuration and server could not help me.

Please, urgent help me.

New Games. Now it is over than 60.000 lines....
Newturk
17
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: Turkey
Posted: 7th Mar 2009 00:41
You can test it. You can PUT files over there.



New Games. Now it is over than 60.000 lines....
Newturk
17
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: Turkey
Posted: 7th Mar 2009 15:33
? Help Please.

New Games. Now it is over than 60.000 lines....
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 7th Mar 2009 15:42
Doesn't connect.

With my prior experience with your server, here are some questions:
1. Are you running an FTP service on the remote system?
2. Is your firewall open for incoming connections on port 21?

Newturk
17
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: Turkey
Posted: 7th Mar 2009 16:25
1- I am not sure what do you mean: But, it is windows server and FTP user and other config. can be done by plesk panel.

2- I am sure this port is open (I open it firewall exeption list)

New Games. Now it is over than 60.000 lines....
Virtual Nomad
Moderator
19
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 7th Mar 2009 17:57 Edited at: 7th Mar 2009 18:13
ok, using modified ftp example code from the help files, i tried to ftp put file "VNwuzHere.txt" in the above mentioned directories. couldn't see if any of them were successful 'cause ftp find first (the whole example _viewfiles routine), never displayed any files or folders. (and i didn't error check on that)...

trying to view any directory gave me the first error below.

trying to ftp get file on the text file gave me the 2nd error below.



i dunno what any of that means, but someone else might.

check the directories yourself and see if the text file is there anywhere?

by the way, i use similar code to transfer/view files on my (linux) godaddy accounts all the time, so the (simple) routines should have worked, in my opinion

edit: reminder that FTP usernames and passwords are case sensitive (atleast on mine they are). i get "connection established" on yours, so that's prolly not it, but worth mentioning.

hope any of this helps.

Virtual Nomad @ California, USA
AMD Phenom™ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit

Attachments

Login to view attachments
Newturk
17
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: Turkey
Posted: 7th Mar 2009 18:31
I can connect to the server nf fscing trouble while upload and download files.

This code working, please try.



New Games. Now it is over than 60.000 lines....
Virtual Nomad
Moderator
19
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 7th Mar 2009 18:44
yah that code says connection established but still no transfers, no get ftp dir$(), nothing.

Virtual Nomad @ California, USA
AMD Phenom™ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
Newturk
17
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: Turkey
Posted: 7th Mar 2009 19:21
So, what is the problem with my server!

New Games. Now it is over than 60.000 lines....
Virtual Nomad
Moderator
19
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 7th Mar 2009 19:40
just checked it with filezilla...

went to upload the .txt file and server returned lots of error 425 "can't open data connection".

THEN it said "file already exists" so it might be there but can't see it.

trying url + filename = 404 Not Found error in browser.

btw, i don't know which is your primary domain there .net or .com but i looked at the .net source and, man... i dunno if i wanna connect.

Virtual Nomad @ California, USA
AMD Phenom™ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
Newturk
17
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: Turkey
Posted: 7th Mar 2009 20:39
I rebooted the server. I think right now the problem solved!!

New Games. Now it is over than 60.000 lines....
Virtual Nomad
Moderator
19
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 7th Mar 2009 20:50
yah, looks good from here. now kill that ftp account

Virtual Nomad @ California, USA
AMD Phenom™ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
Newturk
17
Years of Service
User Offline
Joined: 23rd Feb 2008
Location: Turkey
Posted: 7th Mar 2009 23:31
Thank you every one for their efforts.

New Games. Now it is over than 60.000 lines....

Login to post a reply

Server time is: 2025-06-16 09:10:35
Your offset time is: 2025-06-16 09:10:35