ftp server
ftp server
I've done a little ftp server for the psp to upload files without any cable.
You can find it here (with sources): http://www.amoks.com/?rep=extra
Hope it can be usefull.
You can find it here (with sources): http://www.amoks.com/?rep=extra
Hope it can be usefull.
used flashfxp to connect to the ftp, no problems at all. nice release!
I took a quick photo of the program, it only shows the ftp URL if you are unable to try the program http://emuholic.emuboards.com/modules.p ... 866&tbid=6
I took a quick photo of the program, it only shows the ftp URL if you are unable to try the program http://emuholic.emuboards.com/modules.p ... 866&tbid=6
Emuholic - PSP, DS, GBA and GP32 news
DHCP
It must not say "DHCP connection".
You have to configure your network with static IPs.
(Somewhere in the connection configuration of the PSP it says "advanced".)
If it is stalled, reboot your PSP (long pression on power button).
Pacote, i don't know. I got a friend who owns a WRT54G. I will try (this evening).
Maybe it is a network problem (misconfiguration of IP's, firewall or NAT).
Maybe the WRT54G is sending commands to the PSP ftp and some are not understood.
You can try to use ethereal, recording the connection.
Send me the ethereal log if you want me to help.
You have to configure your network with static IPs.
(Somewhere in the connection configuration of the PSP it says "advanced".)
If it is stalled, reboot your PSP (long pression on power button).
Pacote, i don't know. I got a friend who owns a WRT54G. I will try (this evening).
Maybe it is a network problem (misconfiguration of IP's, firewall or NAT).
Maybe the WRT54G is sending commands to the PSP ftp and some are not understood.
You can try to use ethereal, recording the connection.
Send me the ethereal log if you want me to help.
Re: DHCP
if you explain to me how to use ethereal i will be more then glad to record it...pspkrazy wrote:It must not say "DHCP connection".
You have to configure your network with static IPs.
(Somewhere in the connection configuration of the PSP it says "advanced".)
If it is stalled, reboot your PSP (long pression on power button).
Pacote, i don't know. I got a friend who owns a WRT54G. I will try (this evening).
Maybe it is a network problem (misconfiguration of IP's, firewall or NAT).
Maybe the WRT54G is sending commands to the PSP ftp and some are not understood.
You can try to use ethereal, recording the connection.
Send me the ethereal log if you want me to help.
Its strange that i got connected one time with cuteftp but then when i tried to enter a folder it got disconnected and then never again...
With the psp configuration i can download the update and the program works fine too... the connected screen with the ftp://psp.... adress and all...
but my computer just doesnt find the adress...
cuteftp ?
It seems to be a problem most related to cuteftp.
The ethereal log will help me a lot.
So to use ethereal :
- download it (with winpcap driver 3.0)
- install it! :)
- click on the "Capture" menu. Choose "Interfaces..."
- click on "Prepare" for your ethernet card.
- in "Capture Filter" type: host <ip of your PSP>
- click on the "Capture" button
- power on the psp and launch ftp server
- use your ftp client to connect to the psp
- in ethereal click on "Stop" when your done
- finally, save your capture "Save as..." with default options.
Thanks in advance
The ethereal log will help me a lot.
So to use ethereal :
- download it (with winpcap driver 3.0)
- install it! :)
- click on the "Capture" menu. Choose "Interfaces..."
- click on "Prepare" for your ethernet card.
- in "Capture Filter" type: host <ip of your PSP>
- click on the "Capture" button
- power on the psp and launch ftp server
- use your ftp client to connect to the psp
- in ethereal click on "Stop" when your done
- finally, save your capture "Save as..." with default options.
Thanks in advance
Re: cuteftp ?
Really dude... WTF?!
Just did that and when i used flashfxp to connect... IT CONNECTED!!!
What the hell ahuauau
working fine now :)
Transfer queue completed
Transferred 1 file totaling 1,19 MB in 3,91 seconds (338,6 KB/s)
Just did that and when i used flashfxp to connect... IT CONNECTED!!!
What the hell ahuauau
working fine now :)
Transfer queue completed
Transferred 1 file totaling 1,19 MB in 3,91 seconds (338,6 KB/s)
I tried to connect through WebDrive since I thought that would be really cool. You know, like a total USB replacement. It got hung up while trying to get the directory listing of PSP directory. Here's a link to an Ethereal capture. When I saved it, it didn't give an extention and since I never used ethereal before, I don't know what the default ethereal extension is.
http://www.sch3rz0.com/PSPFTPwithWebDrive_2005-07-05
http://www.sch3rz0.com/PSPFTPwithWebDrive_2005-07-05
It's time to chew ass and kick bubble gum... and I'm all out of ass!
To the author,
Nice work!
Are you interested in integrating the httpd code with your ftpd? I was hoping to find time to add an FTP thread and HTTP PUT, but I'm very busy.
Having both servers in one program would probably be more useful.
The httpd code is a real mess, sorry. You can catch me on the IRC channel during european office hours, username swh.
- Steve
Nice work!
Are you interested in integrating the httpd code with your ftpd? I was hoping to find time to add an FTP thread and HTTP PUT, but I'm very busy.
Having both servers in one program would probably be more useful.
The httpd code is a real mess, sorry. You can catch me on the IRC channel during european office hours, username swh.
- Steve
time...
I do not have much time too.
But PSP is a great programming challenge.
I do not know how long i will pass playing with this little computer.
My priorities on this project are:
* finding why some clients like cuteftp and webdrive do not work
* cleaning up the code a little bit (see pspvnc it's clean!)
* adding threads
* making a working exit button
* real time status on psp screen
* logging/options...
* when finished, do another project => ideas: port of a real ftp server, ftp client, virtual keyboard library...
Questions...
1) Are you interrested in co-working ? I mean: I can put the code in a cvs/svn server.
2 ) Can you explain why, in your idea, it's better to have one program only ?
3) What is the problem with "exit button" ?
Anyways, thanks for your httpd, it helped me a lot.
But PSP is a great programming challenge.
I do not know how long i will pass playing with this little computer.
My priorities on this project are:
* finding why some clients like cuteftp and webdrive do not work
* cleaning up the code a little bit (see pspvnc it's clean!)
* adding threads
* making a working exit button
* real time status on psp screen
* logging/options...
* when finished, do another project => ideas: port of a real ftp server, ftp client, virtual keyboard library...
Questions...
1) Are you interrested in co-working ? I mean: I can put the code in a cvs/svn server.
2 ) Can you explain why, in your idea, it's better to have one program only ?
3) What is the problem with "exit button" ?
Anyways, thanks for your httpd, it helped me a lot.
Sure, co-working would be great.
I have a CVS server at work we can use, but another one would be better.
I've some plans for the http implementation, including making it properly complaint with the rec., but I wont have time in the near future.
Mail me on steve at totl.net if you want to sort things out.
- Steve
I have a CVS server at work we can use, but another one would be better.
I've some plans for the http implementation, including making it properly complaint with the rec., but I wont have time in the near future.
Mail me on steve at totl.net if you want to sort things out.
- Steve
At first PSPKRAZY, NICE work!!!
I´m a noob in programin, so I just played around with the src!
Now you can access "flash0:"
Grab it here :
http://www.psp-arena.de/files/ftp.zip
... but when change the host too "umd0:"( or disc0: umd1: .... ) this didn´t work, do you know why?
cYa
placa
I´m a noob in programin, so I just played around with the src!
Now you can access "flash0:"
Grab it here :
http://www.psp-arena.de/files/ftp.zip
... but when change the host too "umd0:"( or disc0: umd1: .... ) this didn´t work, do you know why?
cYa
placa
sources
Please placasoft,
can you redistribute the sources with your program ?
For 2 reasons:
* it is a sample from 3 developpers now
* i do not have my psp here at work and i am interrested in your source code modification.
Thanx and good job anyway.
can you redistribute the sources with your program ?
For 2 reasons:
* it is a sample from 3 developpers now
* i do not have my psp here at work and i am interrested in your source code modification.
Thanx and good job anyway.
I was curious about doing something like this myself. Pretty cool but please release the source.placasoft wrote:At first PSPKRAZY, NICE work!!!
I´m a noob in programin, so I just played around with the src!
Now you can access "flash0:"
Grab it here :
http://www.psp-arena.de/files/ftp.zip
... but when change the host too "umd0:"( or disc0: umd1: .... ) this didn´t work, do you know why?
cYa
placa
Re: sources
Kay, give me just a hour, i will change a bit ;)pspkrazy wrote:Please placasoft,
can you redistribute the sources with your program ?
For 2 reasons:
* it is a sample from 3 developpers now
* i do not have my psp here at work and i am interrested in your source code modification.
Thanx and good job anyway.
cYa
placa
Ok, the programm with src :
http://www.psp-arena.de/files/ftpf.zip
What I change is really simple!
In main.c I add :
in ftp.c i add:
in startup.s i add
Thats all!
But why it didn´t work when i just set
... but I will get it work! And Pspkrazy, can you add that I copy things from psp to PC ? Would be nice ;)
and last, a pic!
http://www.psp-arena.de/files/ftpf.zip
What I change is really simple!
In main.c I add :
Code: Select all
int main(void)
{
sceIoUnassign("flash0:");
sceIoAssign("flash0:", "lflash0:0,0", "flashfat0:", 0, NULL, 0);
Code: Select all
char root[]="flash0:";
Code: Select all
STUB_FUNC 0xb2a628c1 sceIoAssign
STUB_FUNC 0x6d08a871 sceIoUnassign
But why it didn´t work when i just set
Code: Select all
char root[]="umd0:"
and last, a pic!
http://cpasjuste1.free.fr/psp/ftpf2.rar
with this one the UMD is working, but i dont know why we cant explore the PSP_GAME folder.
with this one the UMD is working, but i dont know why we cant explore the PSP_GAME folder.
hey pspkrazy...
i'm trying to use your LogPrintf() function for a program i am writing... didn't make that much of a modification to the code (just edited a var name to fit in with the rest of my crappy coding [that is, ambiguous and confusing])
however, when i try to make, i get:
any ideas? :|
EDIT: oops. turns out your code wasn't the problem. disregard this entire post please :D
i'm trying to use your LogPrintf() function for a program i am writing... didn't make that much of a modification to the code (just edited a var name to fit in with the rest of my crappy coding [that is, ambiguous and confusing])
Code: Select all
int LogPrintf(char *fmt, ...) {
va_list opt;
char buff[2048];
int bufsz;
va_start(opt, fmt);
bufsz = vsnprintf( buff, (size_t) sizeof(buff), fmt, opt);
sceIoWrite(file, buff, bufsz);
return 0;
}
Code: Select all
main.c:18: error: initializer element is not constant
EDIT: oops. turns out your code wasn't the problem. disregard this entire post please :D
With the last subversion one ?
With the last subversion one ?
Maybe i have a special configuration ?
I will ask a friend to try.
Tomorrow.
Bye.
Maybe i have a special configuration ?
I will ask a friend to try.
Tomorrow.
Bye.
-
- Posts: 11
- Joined: Fri Jul 08, 2005 9:02 pm
Hi,
im working on UMD access for ur ftpserver.
I have full access on all directory, but i have some prob with size of file...
i m fixing it now ..
I have made full real time status on psp screen..
fixed some copy problem..
but i have to work harder :)
++
Fantomas
Ps:
im working on UMD access for ur ftpserver.
I have full access on all directory, but i have some prob with size of file...
i m fixing it now ..
I have made full real time status on psp screen..
fixed some copy problem..
but i have to work harder :)
++
Fantomas
Ps:
Code: Select all
CWD movie
250 CWD command successful.
PWD
257 "/PSP_GAME/USRDIR/data/movie/" is current directory.
List Complete.
Code: Select all
RETR 989logo.pmf
150 Opening ASCII mode data connection for 989logo.pmf.
226 Transfer complete.
Transferred: 989logo.pmf 647 168 bytes in 4,67 (135,30 KB/Sec)
Transfer queue completed
Transferred 1 file totaling 647 168 bytes in 4,72 (135,30 KB/Sec)
-
- Posts: 11
- Joined: Fri Jul 08, 2005 9:02 pm
ok i have a problem i am trying to do this i have 1.5 firmware and i installed it using KXploit Tool 0.3.and go and run it it say this (i put pics each time it changes text.
first it says this:
connecting...
associting
then it says this and does not go anymore past this
this my network it is at top like the read me says to do
if you can read it is says:
Ip address 192.168.168.102(which is static so it does not change)
subnet mask 255.255.255.0
default router 192.168.168.1
primary dns 63.240.76.198
secondary dns 204.127.199.8
and the proxy server is (do not use)
now it also at the dhcp part when i try to go home it stops on the please wait and i don know what to to so can i get some help. thanks[/img]
first it says this:
connecting...
associting
then it says this and does not go anymore past this
this my network it is at top like the read me says to do
if you can read it is says:
Ip address 192.168.168.102(which is static so it does not change)
subnet mask 255.255.255.0
default router 192.168.168.1
primary dns 63.240.76.198
secondary dns 204.127.199.8
and the proxy server is (do not use)
now it also at the dhcp part when i try to go home it stops on the please wait and i don know what to to so can i get some help. thanks[/img]