mc ftp vfs strato
me
mutschae at gmail.com
Mon Oct 9 17:03:54 UTC 2006
hi,
i had trouble to use strato (large german webhoster) with the current
code of vfs so i hacked the source and did CWD path instead of LIST
-la path - this helped for my special case and will continue to work
until i rebuild mc next time.
is there any option i could use to enable/disable the cwd usage?
is this tripple sock = ... used like the creator thought?
the diff:
me at skylla /data/develop/mc/mc-2006-09-25-14 $ me at skylla
/data/develop/mc/mc-2006-09-25-14/vfs $ diff ftpfs.c ftpfs.org.c
1224c1224
< else if (cd_first){
---
> else if (cd_first)
1228,1233c1228,1229
< ftpfs_open_data_connection (me, super, "CWD", remote_path,
TYPE_ASCII, 0);
< sock =
< ftpfs_open_data_connection (me, super, "PASV", 0, TYPE_ASCII, 0);
< sock =
< ftpfs_open_data_connection (me, super, "LIST -a", 0, TYPE_ASCII, 0);
< }else {
---
> ftpfs_open_data_connection (me, super, "LIST -la", 0, TYPE_ASCII, 0);
> else {
1235c1231
< /* char *path = concat_dir_and_file (remote_path, "");
---
> char *path = concat_dir_and_file (remote_path, ".");
1237c1233
< ftpfs_open_data_connection (me, super, "LIST -a", path, TYPE_ASCII,
---
> ftpfs_open_data_connection (me, super, "LIST -la", path, TYPE_ASCII,
1240,1246d1235
< */
< sock =
< ftpfs_open_data_connection (me, super, "CWD", remote_path,
TYPE_ASCII, 0);
< sock =
< ftpfs_open_data_connection (me, super, "PASV", 0, TYPE_ASCII, 0);
< sock =
< ftpfs_open_data_connection (me, super, "LIST -a", 0, TYPE_ASCII, 0);
if anyone has a suggestion how i should put this in the main branch
code and create a option i would be glad to contribute
peace
--
please do NOT compromise my and your realname with this email contact
attack terror bomb fire blow airplane 2006-05-04 03:02:01
explosion friend money credit card secret confidential
please accept and protect aliases of people you know in person
skyscraper death kill al quaeda cai police gun shoot osama
cia fbi dea mi5 nsc bka usss nsa kgb fsb g10 pope
h: md5 hack sleep war destruction white house pentagon
blood trojan virus beheading unforgiven god islam iraq
busch kennedy massacre soccer counter countdown alien
ufo file
please report other patterns that may lead to storage
in high security government databases.
ich werde morgen als Held vor Allah stehen
جديد الموقع
More information about the mc
mailing list