[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ftp filesystem



On Thu, 12 Apr 2001, Steve M. Robbins wrote:

: > Have you looked at ftpfs?   http://ftpfs.sourceforge.net/
: 
: No, I hadn't heard of it.  Thanks!
: 
: Ftpfs looks like it can fit the bill, as long as there is an ftp
: server running.  That is true of one of the systems I'm interested
: in using, but some systems don't have ftp available.  So I'm really
: hoping to find a user-space solution that can be hacked to accomodate
: ftp-over-ssh (e.g. using port forwarding) or something.

ssh -L ftp/2000:remote.host:21 -S remote.host &

mount -n -t ftpfs none mount_point -o ip=127.0.0.1,user=user_name,pass=password,port=2000

-- 
#define K(i)(x[i]^s[i+84])<<
unsigned char x[5],y,z,s[2048];main(n){for(read(0,x,5);read(0,s,n=2048);write(1
,s,n))if(s[y=s[13]%8+20]/16%4==1){int i=K(1)17^256+K(0)8,k=K(2)0,j=K(4)17^K(3)9
^k*2-k%8^8,a=0,b=0,c=26;for(s[y]-=16;--c;i/=2,j/=2)a=a*2^i&1,b=b*2^j&1;for(j=
127;++j<n;c=z+c>y)a^=a>>14,a=a>>8^(y=a^a*8^a<<6)<<9,b=b>>8^(z=b^b/8^b>>4^b>>12)
<<17,i=s[j],i="7Wo~'G_\216"[i&7]+2^"cr3sfw6v;*k+>/n."[i>>4]*2^i*257/8,s[j]=i^(i
&i*2&34)*6^z+c+~y;}}



Reply to: