I'm trying too workout why elebbs ftp server fails to send longfilenames with spaces but will send longfilenames without spaces correctly...
Below is the code for sending the file was hoping to have the file put
into " " how does one do this?
GetPartsFromDir(ParamString,
WildCardStr,
CurSlot,
InvalidDir,
ListGroup,
ListArea);
Quoting Wayne Steele to All <=-
I'm trying too workout why elebbs ftp server fails to send
longfilenames with spaces but will send longfilenames without spaces correctly... When you try and send lfn with spaces it sends 0 bytes
and resends :( comes back with a 450 error...
Below is the code for sending the file was hoping to have the file put into " " how does one do this?
procedure cmdRetr(const CurSlot: Longint; var ParamString: String);
I'm trying too workout why elebbs ftp server fails to send
longfilenames with spaces but will send longfilenames without
spaces correctly... When you try and send lfn with spaces it
sends 0 bytes and resends :( comes back with a 450 error...
Below is the code for sending the file was hoping to have the
file put into " " how does one do this? procedure cmdRetr(const
CurSlot: Longint; var ParamString: String);
450? Which pascal you using? Tp? bp? bp7?
450 is not a standard error I believe if I recall they
go up to the 170s only. But I'd have to check.
Also where does it bomb out do you debug it?
Which line does it stop at?
GetPartsFromDir(ParamString,
WildCardStr,
CurSlot,
InvalidDir,
ListGroup,
ListArea);
This one is probably the origin, but as long as it is unclear
what GetPartsFromDir does, it is impossible to help any further.
Al depends on the CSI of this procedure.
Quoting Wayne Steele to Scott Adams <=-
I'm trying too workout why elebbs ftp server fails to send
longfilenames with spaces but will send longfilenames without
spaces correctly... When you try and send lfn with spaces it
sends 0 bytes and resends :( comes back with a 450 error...
Below is the code for sending the file was hoping to have the
file put into " " how does one do this? procedure cmdRetr(const
CurSlot: Longint; var ParamString: String);
450? Which pascal you using? Tp? bp? bp7?
That's the error in the ftpserver :) vpis what i compile with it
compiles aok...
450 is not a standard error I believe if I recall they
go up to the 170s only. But I'd have to check.
probably correct..
Also where does it bomb out do you debug it?
don't know how :)
Which line does it stop at?
It doesn't...
Quoting Wayne Steele to Scott Adams <=-
Won't quote anything from our previous post:)
OK what happens is this once compiled the FTPserver will SEND files correctly untill I try and send a
long file name with spaces.exe
When this happens it sends 0 bytes and tries to do a resend straight away... The filename is created at the other end but the file is never sent...
I was trying to maybe put the filename in quotes " but this didn't
work either... So for some reason it's sending the right filename but
not actually sending the file:(
It does work on DOSfilenames and also longfilenameswithoutspaces.exe
but not with spaces...
I can send you the ftpserv.pas file if this may help...
That's interesting. I forget the original problem. But if its
sending the filename then that would be my guess as the problem
but it is. Weird. Have you converted teh spaces to something
else (like #) and then converting them back on the other side? I
could look at the code though if you need me to.
Quoting Wayne Steele to Scott Adams <=-
That's interesting. I forget the original problem. But if its
sending the filename then that would be my guess as the problem
but it is. Weird. Have you converted teh spaces to something
else (like #) and then converting them back on the other side? I
could look at the code though if you need me to.
Got the problem solved and Scott Little also added resume download support... So alls well that ends well...
Got the problem solved and Scott Little also added resume
download support... So alls well that ends well...
Cool. Resume download....I did that stuff in college even
before Zmodem had that....the good old days....course
Got the problem solved and Scott Little also added resume
download support... So alls well that ends well...
Cool. Resume download....I did that stuff in college even
before Zmodem had that....the good old days....course
Quoting Wayne Steele to Scott Adams <=-
Got the problem solved and Scott Little also added resume
download support... So alls well that ends well...
Cool. Resume download....I did that stuff in college even
before Zmodem had that....the good old days....course
Well the EleFTP works nicely actually... So thanks for everyone that
help or sent any info muchly appreciated...
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,038 |
Nodes: | 15 (1 / 14) |
Uptime: | 28:03:50 |
Calls: | 865 |
Calls today: | 16 |
Files: | 95,180 |
D/L today: |
14,818 files (1,485M bytes) |
Messages: | 465,164 |
Posted today: | 1 |