Forum Topic: Open source ftp program!

(817 views • 36 replies)

This topic is 2 pages long. [ 1 | 2 ]

<< < > >>
None

Pilot-Doofy

Reply To Post Reply & Quote

Posted at: 11/3/05 11:12 AM

Pilot-Doofy LIGHT LEVEL 37

Sign-Up: 09/13/03

Posts: 12,282

At 11/3/05 10:59 AM, TheDrunkMonkey wrote: Every system using FTP should be the same, no matter what the platform is. What functions are you using to connect?

Well, I started off being hired to build an ftp system with php so I made it ultra simple and minimal amounts of code. I just wanted the money and boom, I'm gone.

Anyway, I'm using ftp_connect() and ftp_login() and the rest of the predefined php functions. It's the easiest way to go, for me.

holy jesus what are these goddamn animals


None

PONGpaddle

Reply To Post Reply & Quote

Posted at: 11/3/05 11:48 AM

PONGpaddle NEUTRAL LEVEL 13

Sign-Up: 09/23/03

Posts: 1,561

At 11/3/05 11:12 AM, Pilot-Doofy wrote: Anyway, I'm using ftp_connect() and ftp_login() and the rest of the predefined php functions. It's the easiest way to go, for me.

There should be no problem with the built in functions (unless one of the PHP programmers messed up somewhere).

I'm not sure if you mean that you're having problems running the program on Windows, or that the problems are when you're trying to connect to Windows. If it's the first one, then perhaps the Windows version of PHP doesn't support ftp_functions for whatever reason. Otherwise, check that you're FTP server is working properly... And that you're actually running one?


None

Pilot-Doofy

Reply To Post Reply & Quote

Posted at: 11/3/05 04:07 PM

Pilot-Doofy LIGHT LEVEL 37

Sign-Up: 09/13/03

Posts: 12,282

Well, the Windows server that I ran the script on isn't mine, so I'm not sure what is and isn't enabled in the php.ini file and what not. I'm storing the server, username, and password as cookies, and I'm not sure if it's storing the cookie appropriately.

However, on login.php the values of $host, $user, and $pass are all accessible via the $_POST superglobal, so it shouldn't matter if cookies are enabled.

If login is successful, it fowards you to file_list.php which lists the files in the directory specified by a URL path called $_GET['dir']. I'll try and see if it's actually logging them in or if it's just the cookie problem on file_list.php.

holy jesus what are these goddamn animals


None

Phroek

Reply To Post Reply & Quote

Posted at: 11/3/05 05:53 PM

Phroek EVIL LEVEL 39

Sign-Up: 06/08/02

Posts: 463

At 11/3/05 10:52 AM, Pilot-Doofy wrote: Come on, no one wants to help me out? :( I'm studying for exams so I'm having a hard time finding time. I don't ask you do a lot, but I'll pay you if you get it to work because I got a few bucks to waste.

I'd love to help you out with it, and I'd even do it for free if I wasn't already so damn busy.


None

Phroek

Reply To Post Reply & Quote

Posted at: 11/3/05 05:59 PM

Phroek EVIL LEVEL 39

Sign-Up: 06/08/02

Posts: 463

At 11/3/05 04:07 PM, Pilot-Doofy wrote: Well, the Windows server that I ran the script on isn't mine, so I'm not sure what is and isn't enabled in the php.ini file and what not.

Why don't you use phpinfo() and take a look at the installation's configuration?

Did you install php on the web app server, or was it already installed? php.ini has to be configured carefully if PHP is running on an IIS server.

Another thought I just had: A big issue with Windows Server is directory security/permissions. If you don't have a lot of experience with it, it can actually be very confusing, but if you're having trouble viewing the contents of a directory, uploading a file, or ANYTHING else, it may very well have something to do with the permissions and security settings on said directories.


None

Pilot-Doofy

Reply To Post Reply & Quote

Posted at: 11/3/05 06:10 PM

Pilot-Doofy LIGHT LEVEL 37

Sign-Up: 09/13/03

Posts: 12,282

Thanks for the suggestions Phroek. When will you be unbusy? lol Sounds retarded and pitiful I know.

holy jesus what are these goddamn animals


Happy

Phroek

Reply To Post Reply & Quote

Posted at: 11/3/05 11:44 PM

Phroek EVIL LEVEL 39

Sign-Up: 06/08/02

Posts: 463

At 11/3/05 06:10 PM, Pilot-Doofy wrote: Thanks for the suggestions Phroek. When will you be unbusy? lol Sounds retarded and pitiful I know.

That's hard to say for me, since I work full time as a network administrator and develop web applications for clients freelance on the side. I'm trying to get out of the freelance work, since it's becoming too much with a full-time job to contend with. I still have contracts to conclude, but once that's finished I'll finally have more spare time.

If you want, drop me a line on MSN Messenger at phroek@hotmail.com, and if you can catch me online we'll talk about it.


All times are Eastern Standard Time (GMT -5) | Current Time: 11:45 AM

<< Back

This topic is 2 pages long. [ 1 | 2 ]

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!